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
);
913 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
915 #include <wx/mimetype.h>
917 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
919 if (self
->GetMimeType(&str
))
920 return wx2PyString(str
);
924 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
926 if (self
->GetMimeTypes(arr
))
927 return wxArrayString2PyList_helper(arr
);
931 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
933 if (self
->GetExtensions(arr
))
934 return wxArrayString2PyList_helper(arr
);
938 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
940 if (self
->GetIcon(&loc
))
941 return new wxIcon(loc
);
945 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
947 if (self
->GetIcon(&loc
)) {
948 wxString iconFile
= loc
.GetFileName();
953 // Make a tuple and put the values in it
954 bool blocked
= wxPyBeginBlockThreads();
955 PyObject
* tuple
= PyTuple_New(3);
956 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
957 wxT("wxIcon"), True
));
958 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
959 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
960 wxPyEndBlockThreads(blocked
);
966 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
968 if (self
->GetDescription(&str
))
969 return wx2PyString(str
);
973 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
975 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
976 return wx2PyString(str
);
980 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
982 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
983 return wx2PyString(str
);
987 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
989 wxArrayString commands
;
990 if (self
->GetAllCommands(&verbs
, &commands
,
991 wxFileType::MessageParameters(filename
, mimetype
))) {
992 bool blocked
= wxPyBeginBlockThreads();
993 PyObject
* tuple
= PyTuple_New(2);
994 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
995 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
996 wxPyEndBlockThreads(blocked
);
1002 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1003 return wxFileType::ExpandCommand(command
,
1004 wxFileType::MessageParameters(filename
, mimetype
));
1006 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1008 self
->EnumAllFileTypes(arr
);
1009 return wxArrayString2PyList_helper(arr
);
1012 #include <wx/artprov.h>
1014 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1015 static const wxString
wxPyART_MENU(wxART_MENU
);
1016 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1017 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1018 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1019 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1020 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1021 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1022 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1023 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1024 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1025 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1026 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1027 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1028 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1029 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1030 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1031 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1032 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1033 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1034 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1035 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1036 static const wxString
wxPyART_HELP(wxART_HELP
);
1037 static const wxString
wxPyART_TIP(wxART_TIP
);
1038 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1039 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1040 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1041 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1042 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1043 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1044 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1045 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1046 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1047 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1048 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1049 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1050 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1051 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1052 // Python aware wxArtProvider
1053 class wxPyArtProvider
: public wxArtProvider
{
1056 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1057 const wxArtClient
& client
,
1058 const wxSize
& size
) {
1059 wxBitmap rval
= wxNullBitmap
;
1060 bool blocked
= wxPyBeginBlockThreads();
1061 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1062 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1066 s1
= wx2PyString(id
);
1067 s2
= wx2PyString(client
);
1068 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1073 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1078 wxPyEndBlockThreads(blocked
);
1085 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1089 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1090 PyObject
* ret
= PyTuple_New(3);
1092 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1093 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1094 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1099 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1104 cont
= self
->GetFirstGroup(value
, index
);
1105 return __EnumerationHelper(cont
, value
, index
);
1107 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1111 cont
= self
->GetNextGroup(value
, index
);
1112 return __EnumerationHelper(cont
, value
, index
);
1114 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1119 cont
= self
->GetFirstEntry(value
, index
);
1120 return __EnumerationHelper(cont
, value
, index
);
1122 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1126 cont
= self
->GetNextEntry(value
, index
);
1127 return __EnumerationHelper(cont
, value
, index
);
1129 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1131 self
->Read(key
, &rv
, defaultVal
);
1135 SWIGSTATICINLINE(double)
1136 SWIG_AsDouble(PyObject
*obj
)
1138 if (PyNumber_Check(obj
))
1139 return PyFloat_AsDouble(obj
);
1141 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1142 obj
->ob_type
->tp_name
);
1143 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1150 SWIGSTATICINLINE(int)
1151 SWIG_CheckDouble(PyObject
* obj
)
1154 if (PyErr_Occurred()) {
1162 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1164 self
->Read(key
, &rv
, defaultVal
);
1167 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1169 self
->Read(key
, &rv
, defaultVal
);
1173 #include <wx/datetime.h>
1176 static const wxString
wxPyDateFormatStr(wxT("%c"));
1177 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1179 #define LOCAL_TZ wxDateTime::Local
1182 #if UINT_MAX < LONG_MAX
1183 #define SWIG_FromUnsignedInt SWIG_FromLong
1185 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1188 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1189 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1190 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1191 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1192 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1193 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1194 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1195 return (*self
< *other
);
1197 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1198 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1199 return (*self
<= *other
);
1201 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1202 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1203 return (*self
> *other
);
1205 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1206 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1207 return (*self
>= *other
);
1209 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1210 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1211 return (*self
== *other
);
1213 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1214 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1215 return (*self
!= *other
);
1217 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1219 const wxChar
* _date
= date
;
1220 rv
= self
->ParseRfc822Date(_date
);
1221 if (rv
== NULL
) return -1;
1224 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1226 const wxChar
* _date
= date
;
1227 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1228 if (rv
== NULL
) return -1;
1231 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1233 const wxChar
* _datetime
= datetime
;
1234 rv
= self
->ParseDateTime(_datetime
);
1235 if (rv
== NULL
) return -1;
1236 return rv
- _datetime
;
1238 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1240 const wxChar
* _date
= date
;
1241 rv
= self
->ParseDate(_date
);
1242 if (rv
== NULL
) return -1;
1245 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1247 const wxChar
* _time
= time
;
1248 rv
= self
->ParseTime(_time
);
1249 if (rv
== NULL
) return -1;
1252 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1253 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1254 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1255 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1256 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1257 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1258 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1259 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1260 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1261 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1262 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1263 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1264 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1265 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1266 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1267 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1269 #include <wx/dataobj.h>
1271 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1272 size_t count
= self
->GetFormatCount(dir
);
1273 wxDataFormat
* formats
= new wxDataFormat
[count
];
1274 self
->GetAllFormats(formats
, dir
);
1276 bool blocked
= wxPyBeginBlockThreads();
1277 PyObject
* list
= PyList_New(count
);
1278 for (size_t i
=0; i
<count
; i
++) {
1279 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1280 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1281 PyList_Append(list
, obj
);
1284 wxPyEndBlockThreads(blocked
);
1288 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1289 PyObject
* rval
= NULL
;
1290 size_t size
= self
->GetDataSize(format
);
1291 bool blocked
= wxPyBeginBlockThreads();
1293 char* buf
= new char[size
];
1294 if (self
->GetDataHere(format
, buf
))
1295 rval
= PyString_FromStringAndSize(buf
, size
);
1302 wxPyEndBlockThreads(blocked
);
1305 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1307 bool blocked
= wxPyBeginBlockThreads();
1308 if (PyString_Check(data
)) {
1309 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1312 // raise a TypeError if not a string
1313 PyErr_SetString(PyExc_TypeError
, "String expected.");
1316 wxPyEndBlockThreads(blocked
);
1319 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1320 PyObject
* rval
= NULL
;
1321 size_t size
= self
->GetDataSize();
1322 bool blocked
= wxPyBeginBlockThreads();
1324 char* buf
= new char[size
];
1325 if (self
->GetDataHere(buf
))
1326 rval
= PyString_FromStringAndSize(buf
, size
);
1333 wxPyEndBlockThreads(blocked
);
1336 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1338 bool blocked
= wxPyBeginBlockThreads();
1339 if (PyString_Check(data
)) {
1340 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1343 // raise a TypeError if not a string
1344 PyErr_SetString(PyExc_TypeError
, "String expected.");
1347 wxPyEndBlockThreads(blocked
);
1350 // Create a new class for wxPython to use
1351 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1353 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1354 : wxDataObjectSimple(format
) {}
1356 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1357 bool GetDataHere(void *buf
) const;
1358 bool SetData(size_t len
, const void *buf
) const;
1362 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1364 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1365 // We need to get the data for this object and write it to buf. I think
1366 // the best way to do this for wxPython is to have the Python method
1367 // return either a string or None and then act appropriately with the
1371 bool blocked
= wxPyBeginBlockThreads();
1372 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1374 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1376 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1378 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1382 wxPyEndBlockThreads(blocked
);
1386 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1387 // For this one we simply need to make a string from buf and len
1388 // and send it to the Python method.
1390 bool blocked
= wxPyBeginBlockThreads();
1391 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1392 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1393 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1396 wxPyEndBlockThreads(blocked
);
1400 // Create a new class for wxPython to use
1401 class wxPyTextDataObject
: public wxTextDataObject
{
1403 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1404 : wxTextDataObject(text
) {}
1406 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1407 DEC_PYCALLBACK_STRING__const(GetText
);
1408 DEC_PYCALLBACK__STRING(SetText
);
1412 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1413 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1414 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1417 // Create a new class for wxPython to use
1418 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1420 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1421 : wxBitmapDataObject(bitmap
) {}
1423 wxBitmap
GetBitmap() const;
1424 void SetBitmap(const wxBitmap
& bitmap
);
1428 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1429 wxBitmap
* rval
= &wxNullBitmap
;
1430 bool blocked
= wxPyBeginBlockThreads();
1431 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1434 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1436 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1441 wxPyEndBlockThreads(blocked
);
1445 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1446 bool blocked
= wxPyBeginBlockThreads();
1447 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1448 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1449 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1452 wxPyEndBlockThreads(blocked
);
1455 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1457 bool blocked
= wxPyBeginBlockThreads();
1458 if (PyString_Check(data
)) {
1459 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1462 // raise a TypeError if not a string
1463 PyErr_SetString(PyExc_TypeError
, "String expected.");
1466 wxPyEndBlockThreads(blocked
);
1469 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1471 bool blocked
= wxPyBeginBlockThreads();
1472 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1473 wxPyEndBlockThreads(blocked
);
1477 #include <wx/metafile.h>
1480 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1483 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1484 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1485 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1486 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1487 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1490 class wxPyTextDropTarget
: public wxTextDropTarget
{
1492 wxPyTextDropTarget() {}
1494 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1496 DEC_PYCALLBACK__(OnLeave
);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1498 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1499 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1500 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1505 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1506 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1507 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1508 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1509 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1510 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1514 class wxPyFileDropTarget
: public wxFileDropTarget
{
1516 wxPyFileDropTarget() {}
1518 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1520 DEC_PYCALLBACK__(OnLeave
);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1522 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1523 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1524 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1529 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1530 const wxArrayString
& filenames
) {
1532 bool blocked
= wxPyBeginBlockThreads();
1533 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1534 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1535 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1538 wxPyEndBlockThreads(blocked
);
1544 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1545 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1546 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1547 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1548 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1553 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1555 #include "wx/display.h"
1557 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1558 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1559 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1560 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1561 PyObject
* pyList
= NULL
;
1562 wxArrayVideoModes arr
= self
->GetModes(mode
);
1563 bool blocked
= wxPyBeginBlockThreads();
1564 pyList
= PyList_New(0);
1565 for (int i
=0; i
< arr
.GetCount(); i
++) {
1566 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1567 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1568 PyList_Append(pyList
, pyObj
);
1571 wxPyEndBlockThreads(blocked
);
1577 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1578 PyObject
*resultobj
;
1581 PyObject
* obj0
= 0 ;
1583 (char *) "index", NULL
1586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1587 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1588 if (PyErr_Occurred()) SWIG_fail
;
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1597 wxColour
* resultptr
;
1598 resultptr
= new wxColour((wxColour
&) result
);
1599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1607 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
*resultobj
;
1611 PyObject
* obj0
= 0 ;
1613 (char *) "index", NULL
1616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1617 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1618 if (PyErr_Occurred()) SWIG_fail
;
1620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1621 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1623 wxPyEndAllowThreads(__tstate
);
1624 if (PyErr_Occurred()) SWIG_fail
;
1628 resultptr
= new wxFont((wxFont
&) result
);
1629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1637 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1638 PyObject
*resultobj
;
1641 PyObject
* obj0
= 0 ;
1643 (char *) "index", NULL
1646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1647 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1648 if (PyErr_Occurred()) SWIG_fail
;
1650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1651 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1653 wxPyEndAllowThreads(__tstate
);
1654 if (PyErr_Occurred()) SWIG_fail
;
1656 resultobj
= SWIG_FromInt((int)result
);
1663 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1664 PyObject
*resultobj
;
1667 PyObject
* obj0
= 0 ;
1669 (char *) "index", NULL
1672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1673 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1677 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1679 wxPyEndAllowThreads(__tstate
);
1680 if (PyErr_Occurred()) SWIG_fail
;
1683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1691 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1692 PyObject
*resultobj
;
1698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 result
= (int)wxSystemSettings::GetScreenType();
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1706 resultobj
= SWIG_FromInt((int)result
);
1713 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
*resultobj
;
1716 PyObject
* obj0
= 0 ;
1718 (char *) "screen", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1722 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1723 if (PyErr_Occurred()) SWIG_fail
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1731 Py_INCREF(Py_None
); resultobj
= Py_None
;
1738 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1740 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1741 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1743 return Py_BuildValue((char *)"");
1745 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1746 PyObject
*resultobj
;
1747 wxSystemOptions
*result
;
1752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1755 result
= (wxSystemOptions
*)new wxSystemOptions();
1757 wxPyEndAllowThreads(__tstate
);
1758 if (PyErr_Occurred()) SWIG_fail
;
1760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1767 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxString
*arg1
= 0 ;
1770 wxString
*arg2
= 0 ;
1771 bool temp1
= False
;
1772 bool temp2
= False
;
1773 PyObject
* obj0
= 0 ;
1774 PyObject
* obj1
= 0 ;
1776 (char *) "name",(char *) "value", NULL
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1781 arg1
= wxString_in_helper(obj0
);
1782 if (arg1
== NULL
) SWIG_fail
;
1786 arg2
= wxString_in_helper(obj1
);
1787 if (arg2
== NULL
) SWIG_fail
;
1791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1792 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1794 wxPyEndAllowThreads(__tstate
);
1795 if (PyErr_Occurred()) SWIG_fail
;
1797 Py_INCREF(Py_None
); resultobj
= Py_None
;
1820 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1821 PyObject
*resultobj
;
1822 wxString
*arg1
= 0 ;
1824 bool temp1
= False
;
1825 PyObject
* obj0
= 0 ;
1826 PyObject
* obj1
= 0 ;
1828 (char *) "name",(char *) "value", NULL
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1833 arg1
= wxString_in_helper(obj0
);
1834 if (arg1
== NULL
) SWIG_fail
;
1837 arg2
= (int) SWIG_AsInt(obj1
);
1838 if (PyErr_Occurred()) SWIG_fail
;
1840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1841 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1843 wxPyEndAllowThreads(__tstate
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1846 Py_INCREF(Py_None
); resultobj
= Py_None
;
1861 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1863 wxString
*arg1
= 0 ;
1865 bool temp1
= False
;
1866 PyObject
* obj0
= 0 ;
1868 (char *) "name", NULL
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1873 arg1
= wxString_in_helper(obj0
);
1874 if (arg1
== NULL
) SWIG_fail
;
1878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1879 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1881 wxPyEndAllowThreads(__tstate
);
1882 if (PyErr_Occurred()) SWIG_fail
;
1886 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1888 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1905 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1906 PyObject
*resultobj
;
1907 wxString
*arg1
= 0 ;
1909 bool temp1
= False
;
1910 PyObject
* obj0
= 0 ;
1912 (char *) "name", NULL
1915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1917 arg1
= wxString_in_helper(obj0
);
1918 if (arg1
== NULL
) SWIG_fail
;
1922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1923 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1925 wxPyEndAllowThreads(__tstate
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1928 resultobj
= SWIG_FromInt((int)result
);
1943 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
*resultobj
;
1945 wxString
*arg1
= 0 ;
1947 bool temp1
= False
;
1948 PyObject
* obj0
= 0 ;
1950 (char *) "name", NULL
1953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1955 arg1
= wxString_in_helper(obj0
);
1956 if (arg1
== NULL
) SWIG_fail
;
1960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1961 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1963 wxPyEndAllowThreads(__tstate
);
1964 if (PyErr_Occurred()) SWIG_fail
;
1967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1983 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1986 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1988 return Py_BuildValue((char *)"");
1990 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1991 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1996 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2001 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2003 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2010 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2011 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2016 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2021 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2023 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2030 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2031 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2036 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2041 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2043 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2050 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
*resultobj
;
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2060 result
= (long)wxNewId();
2062 wxPyEndAllowThreads(__tstate
);
2063 if (PyErr_Occurred()) SWIG_fail
;
2065 resultobj
= SWIG_FromLong((long)result
);
2072 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2073 PyObject
*resultobj
;
2075 PyObject
* obj0
= 0 ;
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2081 arg1
= (long) SWIG_AsLong(obj0
);
2082 if (PyErr_Occurred()) SWIG_fail
;
2084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2087 wxPyEndAllowThreads(__tstate
);
2088 if (PyErr_Occurred()) SWIG_fail
;
2090 Py_INCREF(Py_None
); resultobj
= Py_None
;
2097 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 result
= (long)wxGetCurrentId();
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2112 resultobj
= SWIG_FromLong((long)result
);
2119 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2130 wxPyEndAllowThreads(__tstate
);
2131 if (PyErr_Occurred()) SWIG_fail
;
2133 Py_INCREF(Py_None
); resultobj
= Py_None
;
2140 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2141 PyObject
*resultobj
;
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2151 wxPyEndAllowThreads(__tstate
);
2152 if (PyErr_Occurred()) SWIG_fail
;
2154 Py_INCREF(Py_None
); resultobj
= Py_None
;
2161 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2162 PyObject
*resultobj
;
2163 bool arg1
= (bool) True
;
2165 PyObject
* obj0
= 0 ;
2167 (char *) "resetTimer", NULL
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2172 arg1
= (bool) SWIG_AsBool(obj0
);
2173 if (PyErr_Occurred()) SWIG_fail
;
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 result
= (long)wxGetElapsedTime(arg1
);
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2182 resultobj
= SWIG_FromLong((long)result
);
2189 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2191 int *arg1
= (int *) 0 ;
2192 int *arg2
= (int *) 0 ;
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 wxGetMousePosition(arg1
,arg2
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2209 Py_INCREF(Py_None
); resultobj
= Py_None
;
2211 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2212 resultobj
= t_output_helper(resultobj
,o
);
2215 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2216 resultobj
= t_output_helper(resultobj
,o
);
2224 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2234 result
= (bool)wxIsBusy();
2236 wxPyEndAllowThreads(__tstate
);
2237 if (PyErr_Occurred()) SWIG_fail
;
2240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2248 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2249 PyObject
*resultobj
;
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2260 wxPyEndAllowThreads(__tstate
);
2261 if (PyErr_Occurred()) SWIG_fail
;
2265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2276 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2277 PyObject
*resultobj
;
2278 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2279 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2281 bool temp1
= False
;
2282 PyObject
* obj0
= 0 ;
2284 (char *) "command", NULL
2287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2290 arg1
= wxString_in_helper(obj0
);
2291 if (arg1
== NULL
) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (bool)wxShell((wxString
const &)*arg1
);
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2319 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2320 PyObject
*resultobj
;
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2333 Py_INCREF(Py_None
); resultobj
= Py_None
;
2340 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
*resultobj
;
2342 int *arg1
= (int *) 0 ;
2343 int *arg2
= (int *) 0 ;
2353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 result
= (int)wxGetOsVersion(arg1
,arg2
);
2358 wxPyEndAllowThreads(__tstate
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2361 resultobj
= SWIG_FromInt((int)result
);
2363 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2364 resultobj
= t_output_helper(resultobj
,o
);
2367 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2368 resultobj
= t_output_helper(resultobj
,o
);
2376 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2386 result
= wxGetOsDescription();
2388 wxPyEndAllowThreads(__tstate
);
2389 if (PyErr_Occurred()) SWIG_fail
;
2393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2404 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2414 result
= (long)wxGetFreeMemory();
2416 wxPyEndAllowThreads(__tstate
);
2417 if (PyErr_Occurred()) SWIG_fail
;
2419 resultobj
= SWIG_FromLong((long)result
);
2426 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
*resultobj
;
2430 PyObject
* obj0
= 0 ;
2432 (char *) "wFlags", NULL
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2436 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2437 if (PyErr_Occurred()) SWIG_fail
;
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2454 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
*resultobj
;
2457 PyObject
* obj0
= 0 ;
2459 (char *) "secs", NULL
2462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2463 arg1
= (int) SWIG_AsInt(obj0
);
2464 if (PyErr_Occurred()) SWIG_fail
;
2466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 wxPyEndAllowThreads(__tstate
);
2470 if (PyErr_Occurred()) SWIG_fail
;
2472 Py_INCREF(Py_None
); resultobj
= Py_None
;
2479 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 unsigned long arg1
;
2482 PyObject
* obj0
= 0 ;
2484 (char *) "milliseconds", NULL
2487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2488 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2489 if (PyErr_Occurred()) SWIG_fail
;
2491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 wxPyEndAllowThreads(__tstate
);
2495 if (PyErr_Occurred()) SWIG_fail
;
2497 Py_INCREF(Py_None
); resultobj
= Py_None
;
2504 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2505 PyObject
*resultobj
;
2507 PyObject
* obj0
= 0 ;
2509 (char *) "enable", NULL
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2513 arg1
= (bool) SWIG_AsBool(obj0
);
2514 if (PyErr_Occurred()) SWIG_fail
;
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2517 wxEnableTopLevelWindows(arg1
);
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2522 Py_INCREF(Py_None
); resultobj
= Py_None
;
2529 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxString
*arg1
= 0 ;
2533 bool temp1
= False
;
2534 PyObject
* obj0
= 0 ;
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2541 arg1
= wxString_in_helper(obj0
);
2542 if (arg1
== NULL
) SWIG_fail
;
2546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2547 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2549 wxPyEndAllowThreads(__tstate
);
2550 if (PyErr_Occurred()) SWIG_fail
;
2554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2573 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2574 PyObject
*resultobj
;
2580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 result
= wxGetEmailAddress();
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2601 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2602 PyObject
*resultobj
;
2608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2611 result
= wxGetHostName();
2613 wxPyEndAllowThreads(__tstate
);
2614 if (PyErr_Occurred()) SWIG_fail
;
2618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2629 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
*resultobj
;
2636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 result
= wxGetFullHostName();
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2657 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2658 PyObject
*resultobj
;
2664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 result
= wxGetUserId();
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2685 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2686 PyObject
*resultobj
;
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= wxGetUserName();
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2713 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2714 PyObject
*resultobj
;
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2723 result
= wxGetHomeDir();
2725 wxPyEndAllowThreads(__tstate
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2730 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2732 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2741 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2742 PyObject
*resultobj
;
2743 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2744 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2746 bool temp1
= False
;
2747 PyObject
* obj0
= 0 ;
2749 (char *) "user", NULL
2752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2755 arg1
= wxString_in_helper(obj0
);
2756 if (arg1
== NULL
) SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 result
= wxGetUserHome((wxString
const &)*arg1
);
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2788 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2789 PyObject
*resultobj
;
2790 unsigned long result
;
2795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 result
= (unsigned long)wxGetProcessId();
2800 wxPyEndAllowThreads(__tstate
);
2801 if (PyErr_Occurred()) SWIG_fail
;
2803 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2810 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2811 PyObject
*resultobj
;
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 Py_INCREF(Py_None
); resultobj
= Py_None
;
2831 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2833 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2834 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2835 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2836 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2837 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2838 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2839 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2840 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2841 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2842 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2843 int arg6
= (int) 0 ;
2844 wxWindow
*arg7
= (wxWindow
*) NULL
;
2845 int arg8
= (int) -1 ;
2846 int arg9
= (int) -1 ;
2848 bool temp1
= False
;
2849 bool temp2
= False
;
2850 bool temp3
= False
;
2851 bool temp4
= False
;
2852 bool temp5
= False
;
2853 PyObject
* obj0
= 0 ;
2854 PyObject
* obj1
= 0 ;
2855 PyObject
* obj2
= 0 ;
2856 PyObject
* obj3
= 0 ;
2857 PyObject
* obj4
= 0 ;
2858 PyObject
* obj5
= 0 ;
2859 PyObject
* obj6
= 0 ;
2860 PyObject
* obj7
= 0 ;
2861 PyObject
* obj8
= 0 ;
2863 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2869 arg1
= wxString_in_helper(obj0
);
2870 if (arg1
== NULL
) SWIG_fail
;
2876 arg2
= wxString_in_helper(obj1
);
2877 if (arg2
== NULL
) SWIG_fail
;
2883 arg3
= wxString_in_helper(obj2
);
2884 if (arg3
== NULL
) SWIG_fail
;
2890 arg4
= wxString_in_helper(obj3
);
2891 if (arg4
== NULL
) SWIG_fail
;
2897 arg5
= wxString_in_helper(obj4
);
2898 if (arg5
== NULL
) SWIG_fail
;
2903 arg6
= (int) SWIG_AsInt(obj5
);
2904 if (PyErr_Occurred()) SWIG_fail
;
2907 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2911 arg8
= (int) SWIG_AsInt(obj7
);
2912 if (PyErr_Occurred()) SWIG_fail
;
2915 arg9
= (int) SWIG_AsInt(obj8
);
2916 if (PyErr_Occurred()) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2978 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2979 PyObject
*resultobj
;
2980 wxString
*arg1
= 0 ;
2981 wxString
*arg2
= 0 ;
2982 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2983 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2984 wxWindow
*arg4
= (wxWindow
*) NULL
;
2986 bool temp1
= False
;
2987 bool temp2
= False
;
2988 bool temp3
= False
;
2989 PyObject
* obj0
= 0 ;
2990 PyObject
* obj1
= 0 ;
2991 PyObject
* obj2
= 0 ;
2992 PyObject
* obj3
= 0 ;
2994 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2999 arg1
= wxString_in_helper(obj0
);
3000 if (arg1
== NULL
) SWIG_fail
;
3004 arg2
= wxString_in_helper(obj1
);
3005 if (arg2
== NULL
) SWIG_fail
;
3010 arg3
= wxString_in_helper(obj2
);
3011 if (arg3
== NULL
) SWIG_fail
;
3016 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3021 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3023 wxPyEndAllowThreads(__tstate
);
3024 if (PyErr_Occurred()) SWIG_fail
;
3028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3063 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
*resultobj
;
3065 wxString
*arg1
= 0 ;
3066 wxString
*arg2
= 0 ;
3067 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3068 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3069 wxWindow
*arg4
= (wxWindow
*) NULL
;
3071 bool temp1
= False
;
3072 bool temp2
= False
;
3073 bool temp3
= False
;
3074 PyObject
* obj0
= 0 ;
3075 PyObject
* obj1
= 0 ;
3076 PyObject
* obj2
= 0 ;
3077 PyObject
* obj3
= 0 ;
3079 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3084 arg1
= wxString_in_helper(obj0
);
3085 if (arg1
== NULL
) SWIG_fail
;
3089 arg2
= wxString_in_helper(obj1
);
3090 if (arg2
== NULL
) SWIG_fail
;
3095 arg3
= wxString_in_helper(obj2
);
3096 if (arg3
== NULL
) SWIG_fail
;
3101 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3106 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3108 wxPyEndAllowThreads(__tstate
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3113 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3115 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3148 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3149 PyObject
*resultobj
;
3150 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3151 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3152 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3153 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3154 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3155 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3156 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3157 wxWindow
*arg5
= (wxWindow
*) NULL
;
3159 bool temp1
= False
;
3160 bool temp2
= False
;
3162 PyObject
* obj0
= 0 ;
3163 PyObject
* obj1
= 0 ;
3164 PyObject
* obj2
= 0 ;
3165 PyObject
* obj3
= 0 ;
3166 PyObject
* obj4
= 0 ;
3168 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3174 arg1
= wxString_in_helper(obj0
);
3175 if (arg1
== NULL
) SWIG_fail
;
3181 arg2
= wxString_in_helper(obj1
);
3182 if (arg2
== NULL
) SWIG_fail
;
3187 arg3
= (long) SWIG_AsLong(obj2
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3193 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3197 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3202 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3236 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3237 PyObject
*resultobj
;
3238 wxString
*arg1
= 0 ;
3239 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3240 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3241 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3242 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3243 wxWindow
*arg4
= (wxWindow
*) NULL
;
3244 int arg5
= (int) -1 ;
3245 int arg6
= (int) -1 ;
3246 bool arg7
= (bool) True
;
3248 bool temp1
= False
;
3249 bool temp2
= False
;
3250 bool temp3
= False
;
3251 PyObject
* obj0
= 0 ;
3252 PyObject
* obj1
= 0 ;
3253 PyObject
* obj2
= 0 ;
3254 PyObject
* obj3
= 0 ;
3255 PyObject
* obj4
= 0 ;
3256 PyObject
* obj5
= 0 ;
3257 PyObject
* obj6
= 0 ;
3259 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3264 arg1
= wxString_in_helper(obj0
);
3265 if (arg1
== NULL
) SWIG_fail
;
3270 arg2
= wxString_in_helper(obj1
);
3271 if (arg2
== NULL
) SWIG_fail
;
3277 arg3
= wxString_in_helper(obj2
);
3278 if (arg3
== NULL
) SWIG_fail
;
3283 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3287 arg5
= (int) SWIG_AsInt(obj4
);
3288 if (PyErr_Occurred()) SWIG_fail
;
3291 arg6
= (int) SWIG_AsInt(obj5
);
3292 if (PyErr_Occurred()) SWIG_fail
;
3295 arg7
= (bool) SWIG_AsBool(obj6
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3307 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3309 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3342 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
*resultobj
;
3344 wxString
*arg1
= 0 ;
3345 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3346 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3347 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3348 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3349 wxWindow
*arg4
= (wxWindow
*) NULL
;
3351 bool temp1
= False
;
3352 bool temp2
= False
;
3353 bool temp3
= False
;
3354 PyObject
* obj0
= 0 ;
3355 PyObject
* obj1
= 0 ;
3356 PyObject
* obj2
= 0 ;
3357 PyObject
* obj3
= 0 ;
3359 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3364 arg1
= wxString_in_helper(obj0
);
3365 if (arg1
== NULL
) SWIG_fail
;
3370 arg2
= wxString_in_helper(obj1
);
3371 if (arg2
== NULL
) SWIG_fail
;
3377 arg3
= wxString_in_helper(obj2
);
3378 if (arg3
== NULL
) SWIG_fail
;
3383 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3388 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3390 wxPyEndAllowThreads(__tstate
);
3391 if (PyErr_Occurred()) SWIG_fail
;
3395 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3397 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3430 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3431 PyObject
*resultobj
;
3432 wxString
*arg1
= 0 ;
3433 wxString
*arg2
= 0 ;
3435 wxString
*arg4
= (wxString
*) 0 ;
3436 wxWindow
*arg5
= (wxWindow
*) NULL
;
3437 int arg6
= (int) -1 ;
3438 int arg7
= (int) -1 ;
3439 bool arg8
= (bool) True
;
3440 int arg9
= (int) 150 ;
3441 int arg10
= (int) 200 ;
3443 bool temp1
= False
;
3444 bool temp2
= False
;
3445 PyObject
* obj0
= 0 ;
3446 PyObject
* obj1
= 0 ;
3447 PyObject
* obj2
= 0 ;
3448 PyObject
* obj3
= 0 ;
3449 PyObject
* obj4
= 0 ;
3450 PyObject
* obj5
= 0 ;
3451 PyObject
* obj6
= 0 ;
3452 PyObject
* obj7
= 0 ;
3453 PyObject
* obj8
= 0 ;
3455 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3460 arg1
= wxString_in_helper(obj0
);
3461 if (arg1
== NULL
) SWIG_fail
;
3465 arg2
= wxString_in_helper(obj1
);
3466 if (arg2
== NULL
) SWIG_fail
;
3470 arg3
= PyList_Size(obj2
);
3471 arg4
= wxString_LIST_helper(obj2
);
3472 if (arg4
== NULL
) SWIG_fail
;
3475 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3479 arg6
= (int) SWIG_AsInt(obj4
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3483 arg7
= (int) SWIG_AsInt(obj5
);
3484 if (PyErr_Occurred()) SWIG_fail
;
3487 arg8
= (bool) SWIG_AsBool(obj6
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3491 arg9
= (int) SWIG_AsInt(obj7
);
3492 if (PyErr_Occurred()) SWIG_fail
;
3495 arg10
= (int) SWIG_AsInt(obj8
);
3496 if (PyErr_Occurred()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3500 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3521 if (arg4
) delete [] arg4
;
3534 if (arg4
) delete [] arg4
;
3540 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
*resultobj
;
3542 wxString
*arg1
= 0 ;
3543 wxString
*arg2
= 0 ;
3545 wxString
*arg4
= (wxString
*) 0 ;
3546 wxWindow
*arg5
= (wxWindow
*) NULL
;
3547 int arg6
= (int) -1 ;
3548 int arg7
= (int) -1 ;
3549 bool arg8
= (bool) True
;
3550 int arg9
= (int) 150 ;
3551 int arg10
= (int) 200 ;
3553 bool temp1
= False
;
3554 bool temp2
= False
;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3557 PyObject
* obj2
= 0 ;
3558 PyObject
* obj3
= 0 ;
3559 PyObject
* obj4
= 0 ;
3560 PyObject
* obj5
= 0 ;
3561 PyObject
* obj6
= 0 ;
3562 PyObject
* obj7
= 0 ;
3563 PyObject
* obj8
= 0 ;
3565 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3570 arg1
= wxString_in_helper(obj0
);
3571 if (arg1
== NULL
) SWIG_fail
;
3575 arg2
= wxString_in_helper(obj1
);
3576 if (arg2
== NULL
) SWIG_fail
;
3580 arg3
= PyList_Size(obj2
);
3581 arg4
= wxString_LIST_helper(obj2
);
3582 if (arg4
== NULL
) SWIG_fail
;
3585 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3589 arg6
= (int) SWIG_AsInt(obj4
);
3590 if (PyErr_Occurred()) SWIG_fail
;
3593 arg7
= (int) SWIG_AsInt(obj5
);
3594 if (PyErr_Occurred()) SWIG_fail
;
3597 arg8
= (bool) SWIG_AsBool(obj6
);
3598 if (PyErr_Occurred()) SWIG_fail
;
3601 arg9
= (int) SWIG_AsInt(obj7
);
3602 if (PyErr_Occurred()) SWIG_fail
;
3605 arg10
= (int) SWIG_AsInt(obj8
);
3606 if (PyErr_Occurred()) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 resultobj
= SWIG_FromInt((int)result
);
3625 if (arg4
) delete [] arg4
;
3638 if (arg4
) delete [] arg4
;
3644 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxString
*arg1
= 0 ;
3647 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3648 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3649 int arg3
= (int) wxOK
|wxCENTRE
;
3650 wxWindow
*arg4
= (wxWindow
*) NULL
;
3651 int arg5
= (int) -1 ;
3652 int arg6
= (int) -1 ;
3654 bool temp1
= False
;
3655 bool temp2
= False
;
3656 PyObject
* obj0
= 0 ;
3657 PyObject
* obj1
= 0 ;
3658 PyObject
* obj2
= 0 ;
3659 PyObject
* obj3
= 0 ;
3660 PyObject
* obj4
= 0 ;
3661 PyObject
* obj5
= 0 ;
3663 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3668 arg1
= wxString_in_helper(obj0
);
3669 if (arg1
== NULL
) SWIG_fail
;
3674 arg2
= wxString_in_helper(obj1
);
3675 if (arg2
== NULL
) SWIG_fail
;
3680 arg3
= (int) SWIG_AsInt(obj2
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3684 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 arg5
= (int) SWIG_AsInt(obj4
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3692 arg6
= (int) SWIG_AsInt(obj5
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3697 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3699 wxPyEndAllowThreads(__tstate
);
3700 if (PyErr_Occurred()) SWIG_fail
;
3702 resultobj
= SWIG_FromInt((int)result
);
3725 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3726 PyObject
*resultobj
;
3727 wxString
*arg1
= 0 ;
3728 wxString
*arg2
= 0 ;
3729 wxString
*arg3
= 0 ;
3731 long arg5
= (long) 0 ;
3732 long arg6
= (long) 100 ;
3733 wxWindow
*arg7
= (wxWindow
*) NULL
;
3734 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3735 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3737 bool temp1
= False
;
3738 bool temp2
= False
;
3739 bool temp3
= False
;
3741 PyObject
* obj0
= 0 ;
3742 PyObject
* obj1
= 0 ;
3743 PyObject
* obj2
= 0 ;
3744 PyObject
* obj3
= 0 ;
3745 PyObject
* obj4
= 0 ;
3746 PyObject
* obj5
= 0 ;
3747 PyObject
* obj6
= 0 ;
3748 PyObject
* obj7
= 0 ;
3750 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3755 arg1
= wxString_in_helper(obj0
);
3756 if (arg1
== NULL
) SWIG_fail
;
3760 arg2
= wxString_in_helper(obj1
);
3761 if (arg2
== NULL
) SWIG_fail
;
3765 arg3
= wxString_in_helper(obj2
);
3766 if (arg3
== NULL
) SWIG_fail
;
3769 arg4
= (long) SWIG_AsLong(obj3
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3772 arg5
= (long) SWIG_AsLong(obj4
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3776 arg6
= (long) SWIG_AsLong(obj5
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3780 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3786 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 resultobj
= SWIG_FromLong((long)result
);
3827 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3828 PyObject
*resultobj
;
3834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3837 result
= (bool)wxColourDisplay();
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3851 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3852 PyObject
*resultobj
;
3858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 result
= (int)wxDisplayDepth();
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 resultobj
= SWIG_FromInt((int)result
);
3873 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3883 result
= (int)wxGetDisplayDepth();
3885 wxPyEndAllowThreads(__tstate
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 resultobj
= SWIG_FromInt((int)result
);
3895 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 int *arg1
= (int *) 0 ;
3898 int *arg2
= (int *) 0 ;
3907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3910 wxDisplaySize(arg1
,arg2
);
3912 wxPyEndAllowThreads(__tstate
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 Py_INCREF(Py_None
); resultobj
= Py_None
;
3917 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3918 resultobj
= t_output_helper(resultobj
,o
);
3921 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3922 resultobj
= t_output_helper(resultobj
,o
);
3930 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 result
= wxGetDisplaySize();
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3947 resultptr
= new wxSize((wxSize
&) result
);
3948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3956 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3958 int *arg1
= (int *) 0 ;
3959 int *arg2
= (int *) 0 ;
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3971 wxDisplaySizeMM(arg1
,arg2
);
3973 wxPyEndAllowThreads(__tstate
);
3974 if (PyErr_Occurred()) SWIG_fail
;
3976 Py_INCREF(Py_None
); resultobj
= Py_None
;
3978 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3979 resultobj
= t_output_helper(resultobj
,o
);
3982 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3983 resultobj
= t_output_helper(resultobj
,o
);
3991 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3992 PyObject
*resultobj
;
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4001 result
= wxGetDisplaySizeMM();
4003 wxPyEndAllowThreads(__tstate
);
4004 if (PyErr_Occurred()) SWIG_fail
;
4008 resultptr
= new wxSize((wxSize
&) result
);
4009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4017 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4019 int *arg1
= (int *) 0 ;
4020 int *arg2
= (int *) 0 ;
4021 int *arg3
= (int *) 0 ;
4022 int *arg4
= (int *) 0 ;
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4038 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4040 wxPyEndAllowThreads(__tstate
);
4041 if (PyErr_Occurred()) SWIG_fail
;
4043 Py_INCREF(Py_None
); resultobj
= Py_None
;
4045 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4046 resultobj
= t_output_helper(resultobj
,o
);
4049 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4050 resultobj
= t_output_helper(resultobj
,o
);
4053 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4054 resultobj
= t_output_helper(resultobj
,o
);
4057 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4058 resultobj
= t_output_helper(resultobj
,o
);
4066 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
;
4073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4076 result
= wxGetClientDisplayRect();
4078 wxPyEndAllowThreads(__tstate
);
4079 if (PyErr_Occurred()) SWIG_fail
;
4083 resultptr
= new wxRect((wxRect
&) result
);
4084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4092 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4094 wxCursor
*arg1
= 0 ;
4095 PyObject
* obj0
= 0 ;
4097 (char *) "cursor", NULL
4100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4105 PyErr_SetString(PyExc_TypeError
,"null reference");
4109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4112 wxPyEndAllowThreads(__tstate
);
4113 if (PyErr_Occurred()) SWIG_fail
;
4115 Py_INCREF(Py_None
); resultobj
= Py_None
;
4122 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
*resultobj
;
4124 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4125 PyObject
* obj0
= 0 ;
4127 (char *) "cursor", NULL
4130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 wxBeginBusyCursor(arg1
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 Py_INCREF(Py_None
); resultobj
= Py_None
;
4149 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4150 PyObject
*resultobj
;
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4159 result
= (wxWindow
*)wxGetActiveWindow();
4161 wxPyEndAllowThreads(__tstate
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= wxPyMake_wxObject(result
);
4173 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4174 PyObject
*resultobj
;
4178 PyObject
* obj0
= 0 ;
4183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4186 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4196 resultobj
= wxPyMake_wxObject(result
);
4204 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4209 PyObject
* obj0
= 0 ;
4214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4217 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4221 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4223 wxPyEndAllowThreads(__tstate
);
4224 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= wxPyMake_wxObject(result
);
4235 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4236 PyObject
*resultobj
;
4237 wxWindow
*arg1
= (wxWindow
*) 0 ;
4239 PyObject
* obj0
= 0 ;
4241 (char *) "win", NULL
4244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4255 resultobj
= wxPyMake_wxObject(result
);
4263 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4264 PyObject
*resultobj
;
4267 PyObject
* obj0
= 0 ;
4269 (char *) "key", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4273 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4274 if (PyErr_Occurred()) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4291 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4292 PyObject
*resultobj
;
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4300 wxWakeUpMainThread();
4302 wxPyEndAllowThreads(__tstate
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 Py_INCREF(Py_None
); resultobj
= Py_None
;
4312 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4326 Py_INCREF(Py_None
); resultobj
= Py_None
;
4333 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4334 PyObject
*resultobj
;
4339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 Py_INCREF(Py_None
); resultobj
= Py_None
;
4354 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4355 PyObject
*resultobj
;
4356 wxMutexGuiLocker
*result
;
4361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4364 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4366 wxPyEndAllowThreads(__tstate
);
4367 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4376 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4377 PyObject
*resultobj
;
4378 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4381 (char *) "self", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 Py_INCREF(Py_None
); resultobj
= Py_None
;
4401 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4404 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4406 return Py_BuildValue((char *)"");
4408 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
;
4415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (bool)wxThread_IsMain();
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4432 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
;
4434 wxString
*arg1
= 0 ;
4436 bool temp1
= False
;
4437 PyObject
* obj0
= 0 ;
4439 (char *) "tip", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4444 arg1
= wxString_in_helper(obj0
);
4445 if (arg1
== NULL
) SWIG_fail
;
4449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4450 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4452 wxPyEndAllowThreads(__tstate
);
4453 if (PyErr_Occurred()) SWIG_fail
;
4456 resultobj
= wxPyMake_wxObject(result
);
4472 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4473 PyObject
*resultobj
;
4474 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4475 wxString
*arg2
= 0 ;
4476 bool temp2
= False
;
4477 PyObject
* obj0
= 0 ;
4478 PyObject
* obj1
= 0 ;
4480 (char *) "self",(char *) "tip", NULL
4483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4487 arg2
= wxString_in_helper(obj1
);
4488 if (arg2
== NULL
) SWIG_fail
;
4492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4493 (arg1
)->SetTip((wxString
const &)*arg2
);
4495 wxPyEndAllowThreads(__tstate
);
4496 if (PyErr_Occurred()) SWIG_fail
;
4498 Py_INCREF(Py_None
); resultobj
= Py_None
;
4513 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4517 PyObject
* obj0
= 0 ;
4519 (char *) "self", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 result
= (arg1
)->GetTip();
4529 wxPyEndAllowThreads(__tstate
);
4530 if (PyErr_Occurred()) SWIG_fail
;
4534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4545 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
*resultobj
;
4547 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4549 PyObject
* obj0
= 0 ;
4551 (char *) "self", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 result
= (wxWindow
*)(arg1
)->GetWindow();
4561 wxPyEndAllowThreads(__tstate
);
4562 if (PyErr_Occurred()) SWIG_fail
;
4565 resultobj
= wxPyMake_wxObject(result
);
4573 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4574 PyObject
*resultobj
;
4576 PyObject
* obj0
= 0 ;
4578 (char *) "flag", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4582 arg1
= (bool) SWIG_AsBool(obj0
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 wxToolTip::Enable(arg1
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4591 Py_INCREF(Py_None
); resultobj
= Py_None
;
4598 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
*resultobj
;
4601 PyObject
* obj0
= 0 ;
4603 (char *) "milliseconds", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4607 arg1
= (long) SWIG_AsLong(obj0
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4611 wxToolTip::SetDelay(arg1
);
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4616 Py_INCREF(Py_None
); resultobj
= Py_None
;
4623 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4626 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4628 return Py_BuildValue((char *)"");
4630 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 wxWindow
*arg1
= (wxWindow
*) 0 ;
4636 PyObject
* obj0
= 0 ;
4637 PyObject
* obj1
= 0 ;
4639 (char *) "window",(char *) "size", NULL
4642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4647 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4653 wxPyEndAllowThreads(__tstate
);
4654 if (PyErr_Occurred()) SWIG_fail
;
4656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4663 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxCaret
*arg1
= (wxCaret
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 Py_INCREF(Py_None
); resultobj
= Py_None
;
4688 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxCaret
*arg1
= (wxCaret
*) 0 ;
4692 PyObject
* obj0
= 0 ;
4694 (char *) "self", NULL
4697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= (bool)(arg1
)->IsOk();
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4716 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4717 PyObject
*resultobj
;
4718 wxCaret
*arg1
= (wxCaret
*) 0 ;
4720 PyObject
* obj0
= 0 ;
4722 (char *) "self", NULL
4725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4730 result
= (bool)(arg1
)->IsVisible();
4732 wxPyEndAllowThreads(__tstate
);
4733 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4744 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxCaret
*arg1
= (wxCaret
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "self", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (arg1
)->GetPosition();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4764 wxPoint
* resultptr
;
4765 resultptr
= new wxPoint((wxPoint
&) result
);
4766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4774 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxCaret
*arg1
= (wxCaret
*) 0 ;
4777 int *arg2
= (int *) 0 ;
4778 int *arg3
= (int *) 0 ;
4781 PyObject
* obj0
= 0 ;
4783 (char *) "self", NULL
4788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 (arg1
)->GetPosition(arg2
,arg3
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 Py_INCREF(Py_None
); resultobj
= Py_None
;
4800 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4801 resultobj
= t_output_helper(resultobj
,o
);
4804 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4805 resultobj
= t_output_helper(resultobj
,o
);
4813 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxCaret
*arg1
= (wxCaret
*) 0 ;
4817 PyObject
* obj0
= 0 ;
4819 (char *) "self", NULL
4822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 result
= (arg1
)->GetSize();
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4834 resultptr
= new wxSize((wxSize
&) result
);
4835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4843 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4844 PyObject
*resultobj
;
4845 wxCaret
*arg1
= (wxCaret
*) 0 ;
4846 int *arg2
= (int *) 0 ;
4847 int *arg3
= (int *) 0 ;
4850 PyObject
* obj0
= 0 ;
4852 (char *) "self", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 (arg1
)->GetSize(arg2
,arg3
);
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 Py_INCREF(Py_None
); resultobj
= Py_None
;
4869 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4870 resultobj
= t_output_helper(resultobj
,o
);
4873 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4874 resultobj
= t_output_helper(resultobj
,o
);
4882 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
*resultobj
;
4884 wxCaret
*arg1
= (wxCaret
*) 0 ;
4886 PyObject
* obj0
= 0 ;
4888 (char *) "self", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4896 result
= (wxWindow
*)(arg1
)->GetWindow();
4898 wxPyEndAllowThreads(__tstate
);
4899 if (PyErr_Occurred()) SWIG_fail
;
4902 resultobj
= wxPyMake_wxObject(result
);
4910 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxCaret
*arg1
= (wxCaret
*) 0 ;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4917 PyObject
* obj2
= 0 ;
4919 (char *) "self",(char *) "x",(char *) "y", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4925 arg2
= (int) SWIG_AsInt(obj1
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4927 arg3
= (int) SWIG_AsInt(obj2
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 (arg1
)->Move(arg2
,arg3
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 Py_INCREF(Py_None
); resultobj
= Py_None
;
4943 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxCaret
*arg1
= (wxCaret
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4949 PyObject
* obj1
= 0 ;
4951 (char *) "self",(char *) "pt", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4959 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 (arg1
)->Move((wxPoint
const &)*arg2
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 Py_INCREF(Py_None
); resultobj
= Py_None
;
4975 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
;
4977 wxCaret
*arg1
= (wxCaret
*) 0 ;
4980 PyObject
* obj0
= 0 ;
4981 PyObject
* obj1
= 0 ;
4982 PyObject
* obj2
= 0 ;
4984 (char *) "self",(char *) "width",(char *) "height", NULL
4987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4990 arg2
= (int) SWIG_AsInt(obj1
);
4991 if (PyErr_Occurred()) SWIG_fail
;
4992 arg3
= (int) SWIG_AsInt(obj2
);
4993 if (PyErr_Occurred()) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 (arg1
)->SetSize(arg2
,arg3
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 Py_INCREF(Py_None
); resultobj
= Py_None
;
5008 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxCaret
*arg1
= (wxCaret
*) 0 ;
5013 PyObject
* obj0
= 0 ;
5014 PyObject
* obj1
= 0 ;
5016 (char *) "self",(char *) "size", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5024 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 (arg1
)->SetSize((wxSize
const &)*arg2
);
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 Py_INCREF(Py_None
); resultobj
= Py_None
;
5040 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxCaret
*arg1
= (wxCaret
*) 0 ;
5043 int arg2
= (int) True
;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5047 (char *) "self",(char *) "show", NULL
5050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5054 arg2
= (int) SWIG_AsInt(obj1
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 wxPyEndAllowThreads(__tstate
);
5062 if (PyErr_Occurred()) SWIG_fail
;
5064 Py_INCREF(Py_None
); resultobj
= Py_None
;
5071 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5072 PyObject
*resultobj
;
5073 wxCaret
*arg1
= (wxCaret
*) 0 ;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "self", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5086 wxPyEndAllowThreads(__tstate
);
5087 if (PyErr_Occurred()) SWIG_fail
;
5089 Py_INCREF(Py_None
); resultobj
= Py_None
;
5096 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5099 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5101 return Py_BuildValue((char *)"");
5103 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5104 PyObject
*resultobj
;
5110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5113 result
= (int)wxCaret_GetBlinkTime();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 resultobj
= SWIG_FromInt((int)result
);
5125 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5126 PyObject
*resultobj
;
5128 PyObject
* obj0
= 0 ;
5130 (char *) "milliseconds", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5134 arg1
= (int) SWIG_AsInt(obj0
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 wxCaret_SetBlinkTime(arg1
);
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5143 Py_INCREF(Py_None
); resultobj
= Py_None
;
5150 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5153 wxBusyCursor
*result
;
5154 PyObject
* obj0
= 0 ;
5156 (char *) "cursor", NULL
5159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5178 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5181 PyObject
* obj0
= 0 ;
5183 (char *) "self", NULL
5186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 Py_INCREF(Py_None
); resultobj
= Py_None
;
5203 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5206 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5208 return Py_BuildValue((char *)"");
5210 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxWindow
*arg1
= (wxWindow
*) NULL
;
5213 wxWindowDisabler
*result
;
5214 PyObject
* obj0
= 0 ;
5216 (char *) "winToSkip", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5238 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5241 PyObject
* obj0
= 0 ;
5243 (char *) "self", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 Py_INCREF(Py_None
); resultobj
= Py_None
;
5263 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5266 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5268 return Py_BuildValue((char *)"");
5270 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5271 PyObject
*resultobj
;
5272 wxString
*arg1
= 0 ;
5274 bool temp1
= False
;
5275 PyObject
* obj0
= 0 ;
5277 (char *) "message", NULL
5280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5282 arg1
= wxString_in_helper(obj0
);
5283 if (arg1
== NULL
) SWIG_fail
;
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5308 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
;
5310 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5311 PyObject
* obj0
= 0 ;
5313 (char *) "self", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 wxPyEndAllowThreads(__tstate
);
5324 if (PyErr_Occurred()) SWIG_fail
;
5326 Py_INCREF(Py_None
); resultobj
= Py_None
;
5333 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5336 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5338 return Py_BuildValue((char *)"");
5340 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxStopWatch
*result
;
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5350 result
= (wxStopWatch
*)new wxStopWatch();
5352 wxPyEndAllowThreads(__tstate
);
5353 if (PyErr_Occurred()) SWIG_fail
;
5355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5362 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5365 long arg2
= (long) 0 ;
5366 PyObject
* obj0
= 0 ;
5367 PyObject
* obj1
= 0 ;
5369 (char *) "self",(char *) "t0", NULL
5372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5376 arg2
= (long) SWIG_AsLong(obj1
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 (arg1
)->Start(arg2
);
5383 wxPyEndAllowThreads(__tstate
);
5384 if (PyErr_Occurred()) SWIG_fail
;
5386 Py_INCREF(Py_None
); resultobj
= Py_None
;
5393 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5394 PyObject
*resultobj
;
5395 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5396 PyObject
* obj0
= 0 ;
5398 (char *) "self", NULL
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 Py_INCREF(Py_None
); resultobj
= Py_None
;
5418 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5421 PyObject
* obj0
= 0 ;
5423 (char *) "self", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 Py_INCREF(Py_None
); resultobj
= Py_None
;
5443 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5447 PyObject
* obj0
= 0 ;
5449 (char *) "self", NULL
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5462 resultobj
= SWIG_FromLong((long)result
);
5469 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5472 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5474 return Py_BuildValue((char *)"");
5476 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5477 PyObject
*resultobj
;
5478 int arg1
= (int) 9 ;
5479 wxFileHistory
*result
;
5480 PyObject
* obj0
= 0 ;
5482 (char *) "maxFiles", NULL
5485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5487 arg1
= (int) SWIG_AsInt(obj0
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5504 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "self", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 Py_INCREF(Py_None
); resultobj
= Py_None
;
5529 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5532 wxString
*arg2
= 0 ;
5533 bool temp2
= False
;
5534 PyObject
* obj0
= 0 ;
5535 PyObject
* obj1
= 0 ;
5537 (char *) "self",(char *) "file", NULL
5540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5544 arg2
= wxString_in_helper(obj1
);
5545 if (arg2
== NULL
) SWIG_fail
;
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 Py_INCREF(Py_None
); resultobj
= Py_None
;
5570 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5571 PyObject
*resultobj
;
5572 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5574 PyObject
* obj0
= 0 ;
5575 PyObject
* obj1
= 0 ;
5577 (char *) "self",(char *) "i", NULL
5580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5583 arg2
= (int) SWIG_AsInt(obj1
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5587 (arg1
)->RemoveFileFromHistory(arg2
);
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 Py_INCREF(Py_None
); resultobj
= Py_None
;
5599 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
;
5601 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5603 PyObject
* obj0
= 0 ;
5605 (char *) "self", NULL
5608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5615 wxPyEndAllowThreads(__tstate
);
5616 if (PyErr_Occurred()) SWIG_fail
;
5618 resultobj
= SWIG_FromInt((int)result
);
5625 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5626 PyObject
*resultobj
;
5627 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5628 wxMenu
*arg2
= (wxMenu
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5630 PyObject
* obj1
= 0 ;
5632 (char *) "self",(char *) "menu", NULL
5635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5642 (arg1
)->UseMenu(arg2
);
5644 wxPyEndAllowThreads(__tstate
);
5645 if (PyErr_Occurred()) SWIG_fail
;
5647 Py_INCREF(Py_None
); resultobj
= Py_None
;
5654 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5655 PyObject
*resultobj
;
5656 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5657 wxMenu
*arg2
= (wxMenu
*) 0 ;
5658 PyObject
* obj0
= 0 ;
5659 PyObject
* obj1
= 0 ;
5661 (char *) "self",(char *) "menu", NULL
5664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5667 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 (arg1
)->RemoveMenu(arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5676 Py_INCREF(Py_None
); resultobj
= Py_None
;
5683 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5686 wxConfigBase
*arg2
= 0 ;
5687 PyObject
* obj0
= 0 ;
5688 PyObject
* obj1
= 0 ;
5690 (char *) "self",(char *) "config", NULL
5693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5697 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5700 PyErr_SetString(PyExc_TypeError
,"null reference");
5704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5705 (arg1
)->Load(*arg2
);
5707 wxPyEndAllowThreads(__tstate
);
5708 if (PyErr_Occurred()) SWIG_fail
;
5710 Py_INCREF(Py_None
); resultobj
= Py_None
;
5717 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5718 PyObject
*resultobj
;
5719 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5720 wxConfigBase
*arg2
= 0 ;
5721 PyObject
* obj0
= 0 ;
5722 PyObject
* obj1
= 0 ;
5724 (char *) "self",(char *) "config", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5734 PyErr_SetString(PyExc_TypeError
,"null reference");
5738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5739 (arg1
)->Save(*arg2
);
5741 wxPyEndAllowThreads(__tstate
);
5742 if (PyErr_Occurred()) SWIG_fail
;
5744 Py_INCREF(Py_None
); resultobj
= Py_None
;
5751 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5752 PyObject
*resultobj
;
5753 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5754 PyObject
* obj0
= 0 ;
5756 (char *) "self", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 (arg1
)->AddFilesToMenu();
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 Py_INCREF(Py_None
); resultobj
= Py_None
;
5776 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5779 wxMenu
*arg2
= (wxMenu
*) 0 ;
5780 PyObject
* obj0
= 0 ;
5781 PyObject
* obj1
= 0 ;
5783 (char *) "self",(char *) "menu", NULL
5786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 (arg1
)->AddFilesToMenu(arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5811 PyObject
* obj1
= 0 ;
5813 (char *) "self",(char *) "i", NULL
5816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5819 arg2
= (int) SWIG_AsInt(obj1
);
5820 if (PyErr_Occurred()) SWIG_fail
;
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5825 wxPyEndAllowThreads(__tstate
);
5826 if (PyErr_Occurred()) SWIG_fail
;
5830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5841 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5845 PyObject
* obj0
= 0 ;
5847 (char *) "self", NULL
5850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5855 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5860 resultobj
= SWIG_FromInt((int)result
);
5867 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5870 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5872 return Py_BuildValue((char *)"");
5874 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5875 PyObject
*resultobj
;
5876 wxString
*arg1
= 0 ;
5877 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5878 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5879 wxSingleInstanceChecker
*result
;
5880 bool temp1
= False
;
5881 bool temp2
= False
;
5882 PyObject
* obj0
= 0 ;
5883 PyObject
* obj1
= 0 ;
5885 (char *) "name",(char *) "path", NULL
5888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5890 arg1
= wxString_in_helper(obj0
);
5891 if (arg1
== NULL
) SWIG_fail
;
5896 arg2
= wxString_in_helper(obj1
);
5897 if (arg2
== NULL
) SWIG_fail
;
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5905 wxPyEndAllowThreads(__tstate
);
5906 if (PyErr_Occurred()) SWIG_fail
;
5908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5931 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5932 PyObject
*resultobj
;
5933 wxSingleInstanceChecker
*result
;
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5953 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5956 PyObject
* obj0
= 0 ;
5958 (char *) "self", NULL
5961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5971 Py_INCREF(Py_None
); resultobj
= Py_None
;
5978 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5979 PyObject
*resultobj
;
5980 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5981 wxString
*arg2
= 0 ;
5982 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5983 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5985 bool temp2
= False
;
5986 bool temp3
= False
;
5987 PyObject
* obj0
= 0 ;
5988 PyObject
* obj1
= 0 ;
5989 PyObject
* obj2
= 0 ;
5991 (char *) "self",(char *) "name",(char *) "path", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5998 arg2
= wxString_in_helper(obj1
);
5999 if (arg2
== NULL
) SWIG_fail
;
6004 arg3
= wxString_in_helper(obj2
);
6005 if (arg3
== NULL
) SWIG_fail
;
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6013 wxPyEndAllowThreads(__tstate
);
6014 if (PyErr_Occurred()) SWIG_fail
;
6017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6041 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6047 (char *) "self", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6055 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6057 wxPyEndAllowThreads(__tstate
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6069 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6072 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6074 return Py_BuildValue((char *)"");
6076 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxWindow
*arg1
= (wxWindow
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6082 PyObject
* obj1
= 0 ;
6083 PyObject
* obj2
= 0 ;
6085 (char *) "window",(char *) "dc",(char *) "method", NULL
6088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6092 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6095 PyErr_SetString(PyExc_TypeError
,"null reference");
6098 arg3
= (int) SWIG_AsInt(obj2
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6102 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6104 wxPyEndAllowThreads(__tstate
);
6105 if (PyErr_Occurred()) SWIG_fail
;
6107 Py_INCREF(Py_None
); resultobj
= Py_None
;
6114 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6116 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6117 PyObject
* obj0
= 0 ;
6119 (char *) "self", NULL
6122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 Py_INCREF(Py_None
); resultobj
= Py_None
;
6139 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6141 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6143 PyObject
* obj0
= 0 ;
6145 (char *) "self", NULL
6148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6153 result
= (arg1
)->GetTip();
6155 wxPyEndAllowThreads(__tstate
);
6156 if (PyErr_Occurred()) SWIG_fail
;
6160 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6162 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6171 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
*resultobj
;
6173 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6175 PyObject
* obj0
= 0 ;
6177 (char *) "self", NULL
6180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6185 result
= (size_t)(arg1
)->GetCurrentTip();
6187 wxPyEndAllowThreads(__tstate
);
6188 if (PyErr_Occurred()) SWIG_fail
;
6190 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6197 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6198 PyObject
*resultobj
;
6199 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6200 wxString
*arg2
= 0 ;
6202 bool temp2
= False
;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6206 (char *) "self",(char *) "tip", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6213 arg2
= wxString_in_helper(obj1
);
6214 if (arg2
== NULL
) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6245 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6248 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6250 return Py_BuildValue((char *)"");
6252 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6253 PyObject
*resultobj
;
6255 wxPyTipProvider
*result
;
6256 PyObject
* obj0
= 0 ;
6258 (char *) "currentTip", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6262 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6263 if (PyErr_Occurred()) SWIG_fail
;
6265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6266 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6268 wxPyEndAllowThreads(__tstate
);
6269 if (PyErr_Occurred()) SWIG_fail
;
6271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6278 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6279 PyObject
*resultobj
;
6280 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6281 PyObject
*arg2
= (PyObject
*) 0 ;
6282 PyObject
*arg3
= (PyObject
*) 0 ;
6283 PyObject
* obj0
= 0 ;
6284 PyObject
* obj1
= 0 ;
6285 PyObject
* obj2
= 0 ;
6287 (char *) "self",(char *) "self",(char *) "_class", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6302 Py_INCREF(Py_None
); resultobj
= Py_None
;
6309 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6312 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6314 return Py_BuildValue((char *)"");
6316 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxWindow
*arg1
= (wxWindow
*) 0 ;
6319 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6320 bool arg3
= (bool) True
;
6322 PyObject
* obj0
= 0 ;
6323 PyObject
* obj1
= 0 ;
6324 PyObject
* obj2
= 0 ;
6326 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6335 arg3
= (bool) SWIG_AsBool(obj2
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6340 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6342 wxPyEndAllowThreads(__tstate
);
6343 if (PyErr_Occurred()) SWIG_fail
;
6346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6354 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxString
*arg1
= 0 ;
6358 wxTipProvider
*result
;
6359 bool temp1
= False
;
6360 PyObject
* obj0
= 0 ;
6361 PyObject
* obj1
= 0 ;
6363 (char *) "filename",(char *) "currentTip", NULL
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6368 arg1
= wxString_in_helper(obj0
);
6369 if (arg1
== NULL
) SWIG_fail
;
6372 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6376 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6378 wxPyEndAllowThreads(__tstate
);
6379 if (PyErr_Occurred()) SWIG_fail
;
6381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6396 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
;
6398 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6399 int arg2
= (int) -1 ;
6401 PyObject
* obj0
= 0 ;
6402 PyObject
* obj1
= 0 ;
6404 (char *) "owner",(char *) "id", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6413 arg2
= (int) SWIG_AsInt(obj1
);
6414 if (PyErr_Occurred()) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6430 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6431 PyObject
*resultobj
;
6432 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "self", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 Py_INCREF(Py_None
); resultobj
= Py_None
;
6455 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6458 PyObject
*arg2
= (PyObject
*) 0 ;
6459 PyObject
*arg3
= (PyObject
*) 0 ;
6460 int arg4
= (int) 1 ;
6461 PyObject
* obj0
= 0 ;
6462 PyObject
* obj1
= 0 ;
6463 PyObject
* obj2
= 0 ;
6464 PyObject
* obj3
= 0 ;
6466 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6475 arg4
= (int) SWIG_AsInt(obj3
);
6476 if (PyErr_Occurred()) SWIG_fail
;
6479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6480 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6482 wxPyEndAllowThreads(__tstate
);
6483 if (PyErr_Occurred()) SWIG_fail
;
6485 Py_INCREF(Py_None
); resultobj
= Py_None
;
6492 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6494 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6495 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6496 int arg3
= (int) -1 ;
6497 PyObject
* obj0
= 0 ;
6498 PyObject
* obj1
= 0 ;
6499 PyObject
* obj2
= 0 ;
6501 (char *) "self",(char *) "owner",(char *) "id", NULL
6504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6510 arg3
= (int) SWIG_AsInt(obj2
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 (arg1
)->SetOwner(arg2
,arg3
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6520 Py_INCREF(Py_None
); resultobj
= Py_None
;
6527 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6528 PyObject
*resultobj
;
6529 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6530 wxEvtHandler
*result
;
6531 PyObject
* obj0
= 0 ;
6533 (char *) "self", NULL
6536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6541 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= wxPyMake_wxObject(result
);
6555 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6558 int arg2
= (int) -1 ;
6559 bool arg3
= (bool) False
;
6561 PyObject
* obj0
= 0 ;
6562 PyObject
* obj1
= 0 ;
6563 PyObject
* obj2
= 0 ;
6565 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6572 arg2
= (int) SWIG_AsInt(obj1
);
6573 if (PyErr_Occurred()) SWIG_fail
;
6576 arg3
= (bool) SWIG_AsBool(obj2
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6581 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6595 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6596 PyObject
*resultobj
;
6597 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6598 PyObject
* obj0
= 0 ;
6600 (char *) "self", NULL
6603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",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();
6610 wxPyEndAllowThreads(__tstate
);
6611 if (PyErr_Occurred()) SWIG_fail
;
6613 Py_INCREF(Py_None
); resultobj
= Py_None
;
6620 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6621 PyObject
*resultobj
;
6622 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6624 PyObject
* obj0
= 0 ;
6626 (char *) "self", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6648 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6649 PyObject
*resultobj
;
6650 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6652 PyObject
* obj0
= 0 ;
6654 (char *) "self", NULL
6657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6662 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6664 wxPyEndAllowThreads(__tstate
);
6665 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= SWIG_FromInt((int)result
);
6674 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6675 PyObject
*resultobj
;
6676 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6678 PyObject
* obj0
= 0 ;
6680 (char *) "self", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6688 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6690 wxPyEndAllowThreads(__tstate
);
6691 if (PyErr_Occurred()) SWIG_fail
;
6694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6702 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6703 PyObject
*resultobj
;
6704 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6706 PyObject
* obj0
= 0 ;
6708 (char *) "self", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= SWIG_FromInt((int)result
);
6728 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6731 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6733 return Py_BuildValue((char *)"");
6735 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
;
6737 int arg1
= (int) 0 ;
6738 int arg2
= (int) 0 ;
6739 wxTimerEvent
*result
;
6740 PyObject
* obj0
= 0 ;
6741 PyObject
* obj1
= 0 ;
6743 (char *) "timerid",(char *) "interval", NULL
6746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6748 arg1
= (int) SWIG_AsInt(obj0
);
6749 if (PyErr_Occurred()) SWIG_fail
;
6752 arg2
= (int) SWIG_AsInt(obj1
);
6753 if (PyErr_Occurred()) SWIG_fail
;
6756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6757 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6759 wxPyEndAllowThreads(__tstate
);
6760 if (PyErr_Occurred()) SWIG_fail
;
6762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6769 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
;
6771 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6773 PyObject
* obj0
= 0 ;
6775 (char *) "self", NULL
6778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6783 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6785 wxPyEndAllowThreads(__tstate
);
6786 if (PyErr_Occurred()) SWIG_fail
;
6788 resultobj
= SWIG_FromInt((int)result
);
6795 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6797 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6798 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6800 return Py_BuildValue((char *)"");
6802 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6803 PyObject
*resultobj
;
6805 wxTimerRunner
*result
;
6806 PyObject
* obj0
= 0 ;
6808 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6813 PyErr_SetString(PyExc_TypeError
,"null reference");
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6830 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6831 PyObject
*resultobj
;
6834 bool arg3
= (bool) False
;
6835 wxTimerRunner
*result
;
6836 PyObject
* obj0
= 0 ;
6837 PyObject
* obj1
= 0 ;
6838 PyObject
* obj2
= 0 ;
6840 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6845 PyErr_SetString(PyExc_TypeError
,"null reference");
6848 arg2
= (int) SWIG_AsInt(obj1
);
6849 if (PyErr_Occurred()) SWIG_fail
;
6851 arg3
= (bool) SWIG_AsBool(obj2
);
6852 if (PyErr_Occurred()) SWIG_fail
;
6855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6856 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6858 wxPyEndAllowThreads(__tstate
);
6859 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6868 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6873 argc
= PyObject_Length(args
);
6874 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6875 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6881 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6889 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6892 if ((argc
>= 2) && (argc
<= 3)) {
6896 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6904 _v
= SWIG_CheckInt(argv
[1]);
6907 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6909 _v
= SWIG_CheckBool(argv
[2]);
6911 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6917 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6922 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
;
6924 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6925 PyObject
* obj0
= 0 ;
6927 (char *) "self", NULL
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6940 Py_INCREF(Py_None
); resultobj
= Py_None
;
6947 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6948 PyObject
*resultobj
;
6949 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6951 bool arg3
= (bool) False
;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6954 PyObject
* obj2
= 0 ;
6956 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6962 arg2
= (int) SWIG_AsInt(obj1
);
6963 if (PyErr_Occurred()) SWIG_fail
;
6965 arg3
= (bool) SWIG_AsBool(obj2
);
6966 if (PyErr_Occurred()) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 (arg1
)->Start(arg2
,arg3
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6975 Py_INCREF(Py_None
); resultobj
= Py_None
;
6982 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6984 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6985 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6987 return Py_BuildValue((char *)"");
6989 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6990 PyObject
*resultobj
;
6996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (wxLog
*)new wxLog();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7011 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 result
= (bool)wxLog::IsEnabled();
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7035 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 bool arg1
= (bool) True
;
7039 PyObject
* obj0
= 0 ;
7041 (char *) "doIt", NULL
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7046 arg1
= (bool) SWIG_AsBool(obj0
);
7047 if (PyErr_Occurred()) SWIG_fail
;
7050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7051 result
= (bool)wxLog::EnableLogging(arg1
);
7053 wxPyEndAllowThreads(__tstate
);
7054 if (PyErr_Occurred()) SWIG_fail
;
7057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7065 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7066 PyObject
*resultobj
;
7068 wxChar
*arg2
= (wxChar
*) 0 ;
7070 PyObject
* obj0
= 0 ;
7071 PyObject
* obj1
= 0 ;
7072 PyObject
* obj2
= 0 ;
7074 (char *) "level",(char *) "szString",(char *) "t", NULL
7077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7078 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7080 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7082 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7083 if (PyErr_Occurred()) SWIG_fail
;
7085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7086 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7088 wxPyEndAllowThreads(__tstate
);
7089 if (PyErr_Occurred()) SWIG_fail
;
7091 Py_INCREF(Py_None
); resultobj
= Py_None
;
7098 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxLog
*arg1
= (wxLog
*) 0 ;
7101 PyObject
* obj0
= 0 ;
7103 (char *) "self", NULL
7106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 wxPyEndAllowThreads(__tstate
);
7114 if (PyErr_Occurred()) SWIG_fail
;
7116 Py_INCREF(Py_None
); resultobj
= Py_None
;
7123 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7132 wxLog::FlushActive();
7134 wxPyEndAllowThreads(__tstate
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7137 Py_INCREF(Py_None
); resultobj
= Py_None
;
7144 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7145 PyObject
*resultobj
;
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (wxLog
*)wxLog::GetActiveTarget();
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7166 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxLog
*arg1
= (wxLog
*) 0 ;
7170 PyObject
* obj0
= 0 ;
7172 (char *) "pLogger", NULL
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7192 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 wxPyEndAllowThreads(__tstate
);
7204 if (PyErr_Occurred()) SWIG_fail
;
7206 Py_INCREF(Py_None
); resultobj
= Py_None
;
7213 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7224 wxPyEndAllowThreads(__tstate
);
7225 if (PyErr_Occurred()) SWIG_fail
;
7227 Py_INCREF(Py_None
); resultobj
= Py_None
;
7234 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7235 PyObject
*resultobj
;
7236 bool arg1
= (bool) True
;
7237 PyObject
* obj0
= 0 ;
7239 (char *) "bVerbose", NULL
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7244 arg1
= (bool) SWIG_AsBool(obj0
);
7245 if (PyErr_Occurred()) SWIG_fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 wxLog::SetVerbose(arg1
);
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7264 PyObject
* obj0
= 0 ;
7266 (char *) "logLevel", NULL
7269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7270 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 wxLog::SetLogLevel(arg1
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 Py_INCREF(Py_None
); resultobj
= Py_None
;
7286 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7287 PyObject
*resultobj
;
7292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7295 wxLog::DontCreateOnDemand();
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 Py_INCREF(Py_None
); resultobj
= Py_None
;
7307 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
;
7310 PyObject
* obj0
= 0 ;
7312 (char *) "ulMask", NULL
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7316 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7320 wxLog::SetTraceMask(arg1
);
7322 wxPyEndAllowThreads(__tstate
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7325 Py_INCREF(Py_None
); resultobj
= Py_None
;
7332 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7333 PyObject
*resultobj
;
7334 wxString
*arg1
= 0 ;
7335 bool temp1
= False
;
7336 PyObject
* obj0
= 0 ;
7338 (char *) "str", NULL
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7343 arg1
= wxString_in_helper(obj0
);
7344 if (arg1
== NULL
) SWIG_fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7349 wxLog::AddTraceMask((wxString
const &)*arg1
);
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 Py_INCREF(Py_None
); resultobj
= Py_None
;
7369 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7370 PyObject
*resultobj
;
7371 wxString
*arg1
= 0 ;
7372 bool temp1
= False
;
7373 PyObject
* obj0
= 0 ;
7375 (char *) "str", NULL
7378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7380 arg1
= wxString_in_helper(obj0
);
7381 if (arg1
== NULL
) SWIG_fail
;
7385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7386 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7388 wxPyEndAllowThreads(__tstate
);
7389 if (PyErr_Occurred()) SWIG_fail
;
7391 Py_INCREF(Py_None
); resultobj
= Py_None
;
7406 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7407 PyObject
*resultobj
;
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7415 wxLog::ClearTraceMasks();
7417 wxPyEndAllowThreads(__tstate
);
7418 if (PyErr_Occurred()) SWIG_fail
;
7420 Py_INCREF(Py_None
); resultobj
= Py_None
;
7427 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7428 PyObject
*resultobj
;
7429 wxArrayString
*result
;
7434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7439 result
= (wxArrayString
*) &_result_ref
;
7442 wxPyEndAllowThreads(__tstate
);
7443 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= wxArrayString2PyList_helper(*result
);
7454 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxChar
*arg1
= (wxChar
*) 0 ;
7457 PyObject
* obj0
= 0 ;
7462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7467 wxLog::SetTimestamp((wxChar
const *)arg1
);
7469 wxPyEndAllowThreads(__tstate
);
7470 if (PyErr_Occurred()) SWIG_fail
;
7472 Py_INCREF(Py_None
); resultobj
= Py_None
;
7479 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7489 result
= (bool)wxLog::GetVerbose();
7491 wxPyEndAllowThreads(__tstate
);
7492 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7503 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
;
7510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (wxTraceMask
)wxLog::GetTraceMask();
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7525 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7526 PyObject
*resultobj
;
7527 wxChar
*arg1
= (wxChar
*) 0 ;
7529 PyObject
* obj0
= 0 ;
7531 (char *) "mask", NULL
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7539 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7541 wxPyEndAllowThreads(__tstate
);
7542 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7553 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (wxLogLevel
)wxLog::GetLogLevel();
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7575 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
;
7582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7585 result
= (wxChar
*)wxLog::GetTimestamp();
7587 wxPyEndAllowThreads(__tstate
);
7588 if (PyErr_Occurred()) SWIG_fail
;
7590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7597 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7598 PyObject
*resultobj
;
7604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7607 result
= Log_TimeStamp();
7609 wxPyEndAllowThreads(__tstate
);
7610 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7625 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7627 wxLog
*arg1
= (wxLog
*) 0 ;
7628 PyObject
* obj0
= 0 ;
7630 (char *) "self", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7638 wxLog_Destroy(arg1
);
7640 wxPyEndAllowThreads(__tstate
);
7641 if (PyErr_Occurred()) SWIG_fail
;
7643 Py_INCREF(Py_None
); resultobj
= Py_None
;
7650 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7653 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7655 return Py_BuildValue((char *)"");
7657 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxLogStderr
*result
;
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (wxLogStderr
*)new wxLogStderr();
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7679 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7682 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7684 return Py_BuildValue((char *)"");
7686 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
;
7688 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7689 wxLogTextCtrl
*result
;
7690 PyObject
* obj0
= 0 ;
7692 (char *) "pTextCtrl", NULL
7695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7702 wxPyEndAllowThreads(__tstate
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7712 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7715 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7717 return Py_BuildValue((char *)"");
7719 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= (wxLogGui
*)new wxLogGui();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7741 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7743 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7744 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7746 return Py_BuildValue((char *)"");
7748 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7749 PyObject
*resultobj
;
7750 wxFrame
*arg1
= (wxFrame
*) 0 ;
7751 wxString
*arg2
= 0 ;
7752 bool arg3
= (bool) True
;
7753 bool arg4
= (bool) True
;
7754 wxLogWindow
*result
;
7755 bool temp2
= False
;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7758 PyObject
* obj2
= 0 ;
7759 PyObject
* obj3
= 0 ;
7761 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7768 arg2
= wxString_in_helper(obj1
);
7769 if (arg2
== NULL
) SWIG_fail
;
7773 arg3
= (bool) SWIG_AsBool(obj2
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7777 arg4
= (bool) SWIG_AsBool(obj3
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7802 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7803 PyObject
*resultobj
;
7804 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7805 bool arg2
= (bool) True
;
7806 PyObject
* obj0
= 0 ;
7807 PyObject
* obj1
= 0 ;
7809 (char *) "self",(char *) "bShow", NULL
7812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7816 arg2
= (bool) SWIG_AsBool(obj1
);
7817 if (PyErr_Occurred()) SWIG_fail
;
7820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 wxPyEndAllowThreads(__tstate
);
7824 if (PyErr_Occurred()) SWIG_fail
;
7826 Py_INCREF(Py_None
); resultobj
= Py_None
;
7833 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7834 PyObject
*resultobj
;
7835 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7837 PyObject
* obj0
= 0 ;
7839 (char *) "self", NULL
7842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7853 resultobj
= wxPyMake_wxObject(result
);
7861 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7865 PyObject
* obj0
= 0 ;
7867 (char *) "self", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7887 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7888 PyObject
*resultobj
;
7889 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7891 PyObject
* obj0
= 0 ;
7893 (char *) "self", NULL
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7915 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7919 PyObject
* obj0
= 0 ;
7920 PyObject
* obj1
= 0 ;
7922 (char *) "self",(char *) "bDoPass", NULL
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7928 arg2
= (bool) SWIG_AsBool(obj1
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 (arg1
)->PassMessages(arg2
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 Py_INCREF(Py_None
); resultobj
= Py_None
;
7944 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7947 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7949 return Py_BuildValue((char *)"");
7951 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7952 PyObject
*resultobj
;
7953 wxLog
*arg1
= (wxLog
*) 0 ;
7955 PyObject
* obj0
= 0 ;
7957 (char *) "logger", NULL
7960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 result
= (wxLogChain
*)new wxLogChain(arg1
);
7967 wxPyEndAllowThreads(__tstate
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7977 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7978 PyObject
*resultobj
;
7979 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7980 wxLog
*arg2
= (wxLog
*) 0 ;
7981 PyObject
* obj0
= 0 ;
7982 PyObject
* obj1
= 0 ;
7984 (char *) "self",(char *) "logger", NULL
7987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7994 (arg1
)->SetLog(arg2
);
7996 wxPyEndAllowThreads(__tstate
);
7997 if (PyErr_Occurred()) SWIG_fail
;
7999 Py_INCREF(Py_None
); resultobj
= Py_None
;
8006 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8007 PyObject
*resultobj
;
8008 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8010 PyObject
* obj0
= 0 ;
8011 PyObject
* obj1
= 0 ;
8013 (char *) "self",(char *) "bDoPass", NULL
8016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8019 arg2
= (bool) SWIG_AsBool(obj1
);
8020 if (PyErr_Occurred()) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 (arg1
)->PassMessages(arg2
);
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 Py_INCREF(Py_None
); resultobj
= Py_None
;
8035 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8039 PyObject
* obj0
= 0 ;
8041 (char *) "self", NULL
8044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= (bool)(arg1
)->IsPassingMessages();
8051 wxPyEndAllowThreads(__tstate
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8063 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8067 PyObject
* obj0
= 0 ;
8069 (char *) "self", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 result
= (wxLog
*)(arg1
)->GetOldLog();
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8089 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8092 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8094 return Py_BuildValue((char *)"");
8096 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8097 PyObject
*resultobj
;
8098 unsigned long result
;
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8106 result
= (unsigned long)wxSysErrorCode();
8108 wxPyEndAllowThreads(__tstate
);
8109 if (PyErr_Occurred()) SWIG_fail
;
8111 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8118 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 unsigned long arg1
= (unsigned long) 0 ;
8122 PyObject
* obj0
= 0 ;
8124 (char *) "nErrCode", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8129 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8130 if (PyErr_Occurred()) SWIG_fail
;
8133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8134 result
= wxSysErrorMsg(arg1
);
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8141 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8143 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8152 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8153 PyObject
*resultobj
;
8154 wxString
*arg1
= 0 ;
8155 bool temp1
= False
;
8156 PyObject
* obj0
= 0 ;
8158 (char *) "msg", NULL
8161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8163 arg1
= wxString_in_helper(obj0
);
8164 if (arg1
== NULL
) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 wxLogFatalError((wxString
const &)*arg1
);
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8174 Py_INCREF(Py_None
); resultobj
= Py_None
;
8189 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8190 PyObject
*resultobj
;
8191 wxString
*arg1
= 0 ;
8192 bool temp1
= False
;
8193 PyObject
* obj0
= 0 ;
8195 (char *) "msg", NULL
8198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8200 arg1
= wxString_in_helper(obj0
);
8201 if (arg1
== NULL
) SWIG_fail
;
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 wxLogError((wxString
const &)*arg1
);
8208 wxPyEndAllowThreads(__tstate
);
8209 if (PyErr_Occurred()) SWIG_fail
;
8211 Py_INCREF(Py_None
); resultobj
= Py_None
;
8226 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8227 PyObject
*resultobj
;
8228 wxString
*arg1
= 0 ;
8229 bool temp1
= False
;
8230 PyObject
* obj0
= 0 ;
8232 (char *) "msg", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8237 arg1
= wxString_in_helper(obj0
);
8238 if (arg1
== NULL
) SWIG_fail
;
8242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8243 wxLogWarning((wxString
const &)*arg1
);
8245 wxPyEndAllowThreads(__tstate
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 Py_INCREF(Py_None
); resultobj
= Py_None
;
8263 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxString
*arg1
= 0 ;
8266 bool temp1
= False
;
8267 PyObject
* obj0
= 0 ;
8269 (char *) "msg", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8274 arg1
= wxString_in_helper(obj0
);
8275 if (arg1
== NULL
) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 wxLogMessage((wxString
const &)*arg1
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 Py_INCREF(Py_None
); resultobj
= Py_None
;
8300 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxString
*arg1
= 0 ;
8303 bool temp1
= False
;
8304 PyObject
* obj0
= 0 ;
8306 (char *) "msg", NULL
8309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8311 arg1
= wxString_in_helper(obj0
);
8312 if (arg1
== NULL
) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 wxLogInfo((wxString
const &)*arg1
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 Py_INCREF(Py_None
); resultobj
= Py_None
;
8337 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8338 PyObject
*resultobj
;
8339 wxString
*arg1
= 0 ;
8340 bool temp1
= False
;
8341 PyObject
* obj0
= 0 ;
8343 (char *) "msg", NULL
8346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8348 arg1
= wxString_in_helper(obj0
);
8349 if (arg1
== NULL
) SWIG_fail
;
8353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8354 wxLogDebug((wxString
const &)*arg1
);
8356 wxPyEndAllowThreads(__tstate
);
8357 if (PyErr_Occurred()) SWIG_fail
;
8359 Py_INCREF(Py_None
); resultobj
= Py_None
;
8374 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8375 PyObject
*resultobj
;
8376 wxString
*arg1
= 0 ;
8377 bool temp1
= False
;
8378 PyObject
* obj0
= 0 ;
8380 (char *) "msg", NULL
8383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8385 arg1
= wxString_in_helper(obj0
);
8386 if (arg1
== NULL
) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 wxLogVerbose((wxString
const &)*arg1
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 Py_INCREF(Py_None
); resultobj
= Py_None
;
8411 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8412 PyObject
*resultobj
;
8413 wxString
*arg1
= 0 ;
8414 bool temp1
= False
;
8415 PyObject
* obj0
= 0 ;
8417 (char *) "msg", NULL
8420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8422 arg1
= wxString_in_helper(obj0
);
8423 if (arg1
== NULL
) SWIG_fail
;
8427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8428 wxLogStatus((wxString
const &)*arg1
);
8430 wxPyEndAllowThreads(__tstate
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 Py_INCREF(Py_None
); resultobj
= Py_None
;
8448 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
;
8450 wxFrame
*arg1
= (wxFrame
*) 0 ;
8451 wxString
*arg2
= 0 ;
8452 bool temp2
= False
;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8456 (char *) "pFrame",(char *) "msg", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8463 arg2
= wxString_in_helper(obj1
);
8464 if (arg2
== NULL
) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 Py_INCREF(Py_None
); resultobj
= Py_None
;
8489 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxString
*arg1
= 0 ;
8492 bool temp1
= False
;
8493 PyObject
* obj0
= 0 ;
8495 (char *) "msg", NULL
8498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8500 arg1
= wxString_in_helper(obj0
);
8501 if (arg1
== NULL
) SWIG_fail
;
8505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8506 wxLogSysError((wxString
const &)*arg1
);
8508 wxPyEndAllowThreads(__tstate
);
8509 if (PyErr_Occurred()) SWIG_fail
;
8511 Py_INCREF(Py_None
); resultobj
= Py_None
;
8526 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8527 PyObject
*resultobj
;
8528 unsigned long arg1
;
8529 wxString
*arg2
= 0 ;
8530 bool temp2
= False
;
8531 PyObject
* obj0
= 0 ;
8532 PyObject
* obj1
= 0 ;
8534 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8535 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8536 if (PyErr_Occurred()) SWIG_fail
;
8538 arg2
= wxString_in_helper(obj1
);
8539 if (arg2
== NULL
) SWIG_fail
;
8543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8544 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8546 wxPyEndAllowThreads(__tstate
);
8547 if (PyErr_Occurred()) SWIG_fail
;
8549 Py_INCREF(Py_None
); resultobj
= Py_None
;
8564 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8565 PyObject
*resultobj
;
8566 wxString
*arg1
= 0 ;
8567 wxString
*arg2
= 0 ;
8568 bool temp1
= False
;
8569 bool temp2
= False
;
8570 PyObject
* obj0
= 0 ;
8571 PyObject
* obj1
= 0 ;
8573 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8575 arg1
= wxString_in_helper(obj0
);
8576 if (arg1
== NULL
) SWIG_fail
;
8580 arg2
= wxString_in_helper(obj1
);
8581 if (arg2
== NULL
) SWIG_fail
;
8585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8586 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8588 wxPyEndAllowThreads(__tstate
);
8589 if (PyErr_Occurred()) SWIG_fail
;
8591 Py_INCREF(Py_None
); resultobj
= Py_None
;
8614 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8619 argc
= PyObject_Length(args
);
8620 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8621 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8626 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8630 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8633 return _wrap_LogTrace__SWIG_1(self
,args
);
8639 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8642 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8645 return _wrap_LogTrace__SWIG_0(self
,args
);
8650 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8655 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 unsigned long arg1
;
8658 wxString
*arg2
= 0 ;
8659 bool temp2
= False
;
8660 PyObject
* obj0
= 0 ;
8661 PyObject
* obj1
= 0 ;
8663 (char *) "level",(char *) "msg", NULL
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8667 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8668 if (PyErr_Occurred()) SWIG_fail
;
8670 arg2
= wxString_in_helper(obj1
);
8671 if (arg2
== NULL
) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 Py_INCREF(Py_None
); resultobj
= Py_None
;
8696 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxString
*arg1
= 0 ;
8699 wxString
*arg2
= 0 ;
8700 bool temp1
= False
;
8701 bool temp2
= False
;
8702 PyObject
* obj0
= 0 ;
8703 PyObject
* obj1
= 0 ;
8705 (char *) "title",(char *) "text", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8710 arg1
= wxString_in_helper(obj0
);
8711 if (arg1
== NULL
) SWIG_fail
;
8715 arg2
= wxString_in_helper(obj1
);
8716 if (arg2
== NULL
) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (wxLogNull
*)new wxLogNull();
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8771 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8774 PyObject
* obj0
= 0 ;
8776 (char *) "self", NULL
8779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 wxPyEndAllowThreads(__tstate
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8789 Py_INCREF(Py_None
); resultobj
= Py_None
;
8796 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8798 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8799 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8801 return Py_BuildValue((char *)"");
8803 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 result
= (wxPyLog
*)new wxPyLog();
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8825 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
;
8827 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8828 PyObject
*arg2
= (PyObject
*) 0 ;
8829 PyObject
*arg3
= (PyObject
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8832 PyObject
* obj2
= 0 ;
8834 (char *) "self",(char *) "self",(char *) "_class", NULL
8837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 Py_INCREF(Py_None
); resultobj
= Py_None
;
8856 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8859 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8861 return Py_BuildValue((char *)"");
8863 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8864 PyObject
*resultobj
;
8866 int arg2
= (int) wxSIGTERM
;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8871 (char *) "pid",(char *) "sig", NULL
8874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8875 arg1
= (int) SWIG_AsInt(obj0
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8879 if (PyErr_Occurred()) SWIG_fail
;
8882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8883 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8885 wxPyEndAllowThreads(__tstate
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 resultobj
= SWIG_FromInt((int)result
);
8895 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8899 PyObject
* obj0
= 0 ;
8901 (char *) "pid", NULL
8904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8905 arg1
= (int) SWIG_AsInt(obj0
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (bool)wxPyProcess::Exists(arg1
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8923 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxString
*arg1
= 0 ;
8926 int arg2
= (int) wxEXEC_ASYNC
;
8927 wxPyProcess
*result
;
8928 bool temp1
= False
;
8929 PyObject
* obj0
= 0 ;
8930 PyObject
* obj1
= 0 ;
8932 (char *) "cmd",(char *) "flags", NULL
8935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8937 arg1
= wxString_in_helper(obj0
);
8938 if (arg1
== NULL
) SWIG_fail
;
8942 arg2
= (int) SWIG_AsInt(obj1
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8967 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8970 int arg2
= (int) -1 ;
8971 wxPyProcess
*result
;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8975 (char *) "parent",(char *) "id", NULL
8978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8984 arg2
= (int) SWIG_AsInt(obj1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8989 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9001 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9002 PyObject
*resultobj
;
9003 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9004 PyObject
*arg2
= (PyObject
*) 0 ;
9005 PyObject
*arg3
= (PyObject
*) 0 ;
9006 PyObject
* obj0
= 0 ;
9007 PyObject
* obj1
= 0 ;
9008 PyObject
* obj2
= 0 ;
9010 (char *) "self",(char *) "self",(char *) "_class", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9020 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9022 wxPyEndAllowThreads(__tstate
);
9023 if (PyErr_Occurred()) SWIG_fail
;
9025 Py_INCREF(Py_None
); resultobj
= Py_None
;
9032 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9033 PyObject
*resultobj
;
9034 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9037 PyObject
* obj0
= 0 ;
9038 PyObject
* obj1
= 0 ;
9039 PyObject
* obj2
= 0 ;
9041 (char *) "self",(char *) "pid",(char *) "status", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9047 arg2
= (int) SWIG_AsInt(obj1
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9049 arg3
= (int) SWIG_AsInt(obj2
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9053 (arg1
)->base_OnTerminate(arg2
,arg3
);
9055 wxPyEndAllowThreads(__tstate
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 Py_INCREF(Py_None
); resultobj
= Py_None
;
9065 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9066 PyObject
*resultobj
;
9067 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9068 PyObject
* obj0
= 0 ;
9070 (char *) "self", NULL
9073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9080 wxPyEndAllowThreads(__tstate
);
9081 if (PyErr_Occurred()) SWIG_fail
;
9083 Py_INCREF(Py_None
); resultobj
= Py_None
;
9090 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9091 PyObject
*resultobj
;
9092 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9094 PyObject
* obj0
= 0 ;
9096 (char *) "self", NULL
9099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 result
= (bool)(arg1
)->IsRedirected();
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9118 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9121 PyObject
* obj0
= 0 ;
9123 (char *) "self", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9133 wxPyEndAllowThreads(__tstate
);
9134 if (PyErr_Occurred()) SWIG_fail
;
9136 Py_INCREF(Py_None
); resultobj
= Py_None
;
9143 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9144 PyObject
*resultobj
;
9145 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9146 wxInputStream
*result
;
9147 PyObject
* obj0
= 0 ;
9149 (char *) "self", NULL
9152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 wxPyInputStream
* _ptr
= NULL
;
9166 _ptr
= new wxPyInputStream(result
);
9168 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9176 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9179 wxInputStream
*result
;
9180 PyObject
* obj0
= 0 ;
9182 (char *) "self", NULL
9185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9196 wxPyInputStream
* _ptr
= NULL
;
9199 _ptr
= new wxPyInputStream(result
);
9201 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9209 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9210 PyObject
*resultobj
;
9211 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9212 wxOutputStream
*result
;
9213 PyObject
* obj0
= 0 ;
9215 (char *) "self", NULL
9218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9235 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9236 PyObject
*resultobj
;
9237 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9238 PyObject
* obj0
= 0 ;
9240 (char *) "self", NULL
9243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9248 (arg1
)->CloseOutput();
9250 wxPyEndAllowThreads(__tstate
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 Py_INCREF(Py_None
); resultobj
= Py_None
;
9260 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9261 PyObject
*resultobj
;
9262 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9264 PyObject
* obj0
= 0 ;
9266 (char *) "self", NULL
9269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9288 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9292 PyObject
* obj0
= 0 ;
9294 (char *) "self", NULL
9297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9302 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9304 wxPyEndAllowThreads(__tstate
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9316 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9317 PyObject
*resultobj
;
9318 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9320 PyObject
* obj0
= 0 ;
9322 (char *) "self", NULL
9325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9330 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9332 wxPyEndAllowThreads(__tstate
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9344 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9347 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9349 return Py_BuildValue((char *)"");
9351 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9352 PyObject
*resultobj
;
9353 int arg1
= (int) 0 ;
9354 int arg2
= (int) 0 ;
9355 int arg3
= (int) 0 ;
9356 wxProcessEvent
*result
;
9357 PyObject
* obj0
= 0 ;
9358 PyObject
* obj1
= 0 ;
9359 PyObject
* obj2
= 0 ;
9361 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9366 arg1
= (int) SWIG_AsInt(obj0
);
9367 if (PyErr_Occurred()) SWIG_fail
;
9370 arg2
= (int) SWIG_AsInt(obj1
);
9371 if (PyErr_Occurred()) SWIG_fail
;
9374 arg3
= (int) SWIG_AsInt(obj2
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9379 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9381 wxPyEndAllowThreads(__tstate
);
9382 if (PyErr_Occurred()) SWIG_fail
;
9384 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9391 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9392 PyObject
*resultobj
;
9393 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9395 PyObject
* obj0
= 0 ;
9397 (char *) "self", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (int)(arg1
)->GetPid();
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= SWIG_FromInt((int)result
);
9417 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9418 PyObject
*resultobj
;
9419 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9421 PyObject
* obj0
= 0 ;
9423 (char *) "self", NULL
9426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9431 result
= (int)(arg1
)->GetExitCode();
9433 wxPyEndAllowThreads(__tstate
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9436 resultobj
= SWIG_FromInt((int)result
);
9443 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9448 PyObject
* obj1
= 0 ;
9450 (char *) "self",(char *) "m_pid", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9456 arg2
= (int) SWIG_AsInt(obj1
);
9457 if (PyErr_Occurred()) SWIG_fail
;
9458 if (arg1
) (arg1
)->m_pid
= arg2
;
9460 Py_INCREF(Py_None
); resultobj
= Py_None
;
9467 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9468 PyObject
*resultobj
;
9469 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9471 PyObject
* obj0
= 0 ;
9473 (char *) "self", NULL
9476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9479 result
= (int) ((arg1
)->m_pid
);
9481 resultobj
= SWIG_FromInt((int)result
);
9488 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9495 (char *) "self",(char *) "m_exitcode", NULL
9498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9501 arg2
= (int) SWIG_AsInt(obj1
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9503 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9505 Py_INCREF(Py_None
); resultobj
= Py_None
;
9512 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9513 PyObject
*resultobj
;
9514 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9516 PyObject
* obj0
= 0 ;
9518 (char *) "self", NULL
9521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9524 result
= (int) ((arg1
)->m_exitcode
);
9526 resultobj
= SWIG_FromInt((int)result
);
9533 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9536 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9538 return Py_BuildValue((char *)"");
9540 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9541 PyObject
*resultobj
;
9542 wxString
*arg1
= 0 ;
9543 int arg2
= (int) wxEXEC_ASYNC
;
9544 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9546 bool temp1
= False
;
9547 PyObject
* obj0
= 0 ;
9548 PyObject
* obj1
= 0 ;
9549 PyObject
* obj2
= 0 ;
9551 (char *) "command",(char *) "flags",(char *) "process", NULL
9554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9556 arg1
= wxString_in_helper(obj0
);
9557 if (arg1
== NULL
) SWIG_fail
;
9561 arg2
= (int) SWIG_AsInt(obj1
);
9562 if (PyErr_Occurred()) SWIG_fail
;
9565 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9572 wxPyEndAllowThreads(__tstate
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= SWIG_FromLong((long)result
);
9590 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 int arg1
= (int) wxJOYSTICK1
;
9594 PyObject
* obj0
= 0 ;
9596 (char *) "joystick", NULL
9599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9601 arg1
= (int) SWIG_AsInt(obj0
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (wxJoystick
*)new wxJoystick(arg1
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9618 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "self", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 wxPyEndAllowThreads(__tstate
);
9634 if (PyErr_Occurred()) SWIG_fail
;
9636 Py_INCREF(Py_None
); resultobj
= Py_None
;
9643 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9644 PyObject
*resultobj
;
9645 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "self", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9657 result
= (arg1
)->GetPosition();
9659 wxPyEndAllowThreads(__tstate
);
9660 if (PyErr_Occurred()) SWIG_fail
;
9663 wxPoint
* resultptr
;
9664 resultptr
= new wxPoint((wxPoint
&) result
);
9665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9673 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9674 PyObject
*resultobj
;
9675 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9677 PyObject
* obj0
= 0 ;
9679 (char *) "self", NULL
9682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9687 result
= (int)(arg1
)->GetZPosition();
9689 wxPyEndAllowThreads(__tstate
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9692 resultobj
= SWIG_FromInt((int)result
);
9699 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9700 PyObject
*resultobj
;
9701 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9703 PyObject
* obj0
= 0 ;
9705 (char *) "self", NULL
9708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9713 result
= (int)(arg1
)->GetButtonState();
9715 wxPyEndAllowThreads(__tstate
);
9716 if (PyErr_Occurred()) SWIG_fail
;
9718 resultobj
= SWIG_FromInt((int)result
);
9725 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9726 PyObject
*resultobj
;
9727 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9729 PyObject
* obj0
= 0 ;
9731 (char *) "self", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9739 result
= (int)(arg1
)->GetPOVPosition();
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9744 resultobj
= SWIG_FromInt((int)result
);
9751 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9752 PyObject
*resultobj
;
9753 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9755 PyObject
* obj0
= 0 ;
9757 (char *) "self", NULL
9760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (int)(arg1
)->GetPOVCTSPosition();
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= SWIG_FromInt((int)result
);
9777 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9778 PyObject
*resultobj
;
9779 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9781 PyObject
* obj0
= 0 ;
9783 (char *) "self", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9791 result
= (int)(arg1
)->GetRudderPosition();
9793 wxPyEndAllowThreads(__tstate
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 resultobj
= SWIG_FromInt((int)result
);
9803 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9807 PyObject
* obj0
= 0 ;
9809 (char *) "self", NULL
9812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9817 result
= (int)(arg1
)->GetUPosition();
9819 wxPyEndAllowThreads(__tstate
);
9820 if (PyErr_Occurred()) SWIG_fail
;
9822 resultobj
= SWIG_FromInt((int)result
);
9829 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9833 PyObject
* obj0
= 0 ;
9835 (char *) "self", NULL
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 result
= (int)(arg1
)->GetVPosition();
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= SWIG_FromInt((int)result
);
9855 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9859 PyObject
* obj0
= 0 ;
9861 (char *) "self", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= (int)(arg1
)->GetMovementThreshold();
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= SWIG_FromInt((int)result
);
9881 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
;
9883 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9885 PyObject
* obj0
= 0 ;
9886 PyObject
* obj1
= 0 ;
9888 (char *) "self",(char *) "threshold", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9894 arg2
= (int) SWIG_AsInt(obj1
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9898 (arg1
)->SetMovementThreshold(arg2
);
9900 wxPyEndAllowThreads(__tstate
);
9901 if (PyErr_Occurred()) SWIG_fail
;
9903 Py_INCREF(Py_None
); resultobj
= Py_None
;
9910 static PyObject
*_wrap_Joystick_IsOk(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_IsOk",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
= (bool)(arg1
)->IsOk();
9926 wxPyEndAllowThreads(__tstate
);
9927 if (PyErr_Occurred()) SWIG_fail
;
9930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9938 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9939 PyObject
*resultobj
;
9940 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9942 PyObject
* obj0
= 0 ;
9944 (char *) "self", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (int)(arg1
)->GetNumberJoysticks();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_FromInt((int)result
);
9964 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9965 PyObject
*resultobj
;
9966 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9968 PyObject
* obj0
= 0 ;
9970 (char *) "self", NULL
9973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9978 result
= (int)(arg1
)->GetManufacturerId();
9980 wxPyEndAllowThreads(__tstate
);
9981 if (PyErr_Occurred()) SWIG_fail
;
9983 resultobj
= SWIG_FromInt((int)result
);
9990 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9991 PyObject
*resultobj
;
9992 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9994 PyObject
* obj0
= 0 ;
9996 (char *) "self", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10004 result
= (int)(arg1
)->GetProductId();
10006 wxPyEndAllowThreads(__tstate
);
10007 if (PyErr_Occurred()) SWIG_fail
;
10009 resultobj
= SWIG_FromInt((int)result
);
10016 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10017 PyObject
*resultobj
;
10018 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10020 PyObject
* obj0
= 0 ;
10021 char *kwnames
[] = {
10022 (char *) "self", NULL
10025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 result
= (arg1
)->GetProductName();
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10048 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10049 PyObject
*resultobj
;
10050 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10052 PyObject
* obj0
= 0 ;
10053 char *kwnames
[] = {
10054 (char *) "self", NULL
10057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10062 result
= (int)(arg1
)->GetXMin();
10064 wxPyEndAllowThreads(__tstate
);
10065 if (PyErr_Occurred()) SWIG_fail
;
10067 resultobj
= SWIG_FromInt((int)result
);
10074 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10078 PyObject
* obj0
= 0 ;
10079 char *kwnames
[] = {
10080 (char *) "self", NULL
10083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10088 result
= (int)(arg1
)->GetYMin();
10090 wxPyEndAllowThreads(__tstate
);
10091 if (PyErr_Occurred()) SWIG_fail
;
10093 resultobj
= SWIG_FromInt((int)result
);
10100 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10104 PyObject
* obj0
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "self", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (int)(arg1
)->GetZMin();
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= SWIG_FromInt((int)result
);
10126 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10127 PyObject
*resultobj
;
10128 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10130 PyObject
* obj0
= 0 ;
10131 char *kwnames
[] = {
10132 (char *) "self", NULL
10135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (int)(arg1
)->GetXMax();
10142 wxPyEndAllowThreads(__tstate
);
10143 if (PyErr_Occurred()) SWIG_fail
;
10145 resultobj
= SWIG_FromInt((int)result
);
10152 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10153 PyObject
*resultobj
;
10154 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10156 PyObject
* obj0
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "self", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10166 result
= (int)(arg1
)->GetYMax();
10168 wxPyEndAllowThreads(__tstate
);
10169 if (PyErr_Occurred()) SWIG_fail
;
10171 resultobj
= SWIG_FromInt((int)result
);
10178 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10182 PyObject
* obj0
= 0 ;
10183 char *kwnames
[] = {
10184 (char *) "self", NULL
10187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10192 result
= (int)(arg1
)->GetZMax();
10194 wxPyEndAllowThreads(__tstate
);
10195 if (PyErr_Occurred()) SWIG_fail
;
10197 resultobj
= SWIG_FromInt((int)result
);
10204 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10205 PyObject
*resultobj
;
10206 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10208 PyObject
* obj0
= 0 ;
10209 char *kwnames
[] = {
10210 (char *) "self", NULL
10213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 result
= (int)(arg1
)->GetNumberButtons();
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 resultobj
= SWIG_FromInt((int)result
);
10230 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10234 PyObject
* obj0
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (int)(arg1
)->GetNumberAxes();
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_FromInt((int)result
);
10256 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10260 PyObject
* obj0
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (int)(arg1
)->GetMaxButtons();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= SWIG_FromInt((int)result
);
10282 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (int)(arg1
)->GetMaxAxes();
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= SWIG_FromInt((int)result
);
10308 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10312 PyObject
* obj0
= 0 ;
10313 char *kwnames
[] = {
10314 (char *) "self", NULL
10317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 result
= (int)(arg1
)->GetPollingMin();
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= SWIG_FromInt((int)result
);
10334 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10338 PyObject
* obj0
= 0 ;
10339 char *kwnames
[] = {
10340 (char *) "self", NULL
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (int)(arg1
)->GetPollingMax();
10350 wxPyEndAllowThreads(__tstate
);
10351 if (PyErr_Occurred()) SWIG_fail
;
10353 resultobj
= SWIG_FromInt((int)result
);
10360 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10361 PyObject
*resultobj
;
10362 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10364 PyObject
* obj0
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (int)(arg1
)->GetRudderMin();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_FromInt((int)result
);
10386 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10387 PyObject
*resultobj
;
10388 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10390 PyObject
* obj0
= 0 ;
10391 char *kwnames
[] = {
10392 (char *) "self", NULL
10395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= (int)(arg1
)->GetRudderMax();
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10405 resultobj
= SWIG_FromInt((int)result
);
10412 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10413 PyObject
*resultobj
;
10414 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10416 PyObject
* obj0
= 0 ;
10417 char *kwnames
[] = {
10418 (char *) "self", NULL
10421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (int)(arg1
)->GetUMin();
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= SWIG_FromInt((int)result
);
10438 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10439 PyObject
*resultobj
;
10440 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10442 PyObject
* obj0
= 0 ;
10443 char *kwnames
[] = {
10444 (char *) "self", NULL
10447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10452 result
= (int)(arg1
)->GetUMax();
10454 wxPyEndAllowThreads(__tstate
);
10455 if (PyErr_Occurred()) SWIG_fail
;
10457 resultobj
= SWIG_FromInt((int)result
);
10464 static PyObject
*_wrap_Joystick_GetVMin(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_GetVMin",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
= (int)(arg1
)->GetVMin();
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= SWIG_FromInt((int)result
);
10490 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 char *kwnames
[] = {
10496 (char *) "self", NULL
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (int)(arg1
)->GetVMax();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_FromInt((int)result
);
10516 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10517 PyObject
*resultobj
;
10518 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10520 PyObject
* obj0
= 0 ;
10521 char *kwnames
[] = {
10522 (char *) "self", NULL
10525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10530 result
= (bool)(arg1
)->HasRudder();
10532 wxPyEndAllowThreads(__tstate
);
10533 if (PyErr_Occurred()) SWIG_fail
;
10536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10544 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10548 PyObject
* obj0
= 0 ;
10549 char *kwnames
[] = {
10550 (char *) "self", NULL
10553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10558 result
= (bool)(arg1
)->HasZ();
10560 wxPyEndAllowThreads(__tstate
);
10561 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10572 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
;
10574 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10576 PyObject
* obj0
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10586 result
= (bool)(arg1
)->HasU();
10588 wxPyEndAllowThreads(__tstate
);
10589 if (PyErr_Occurred()) SWIG_fail
;
10592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10600 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
;
10602 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10604 PyObject
* obj0
= 0 ;
10605 char *kwnames
[] = {
10606 (char *) "self", NULL
10609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10614 result
= (bool)(arg1
)->HasV();
10616 wxPyEndAllowThreads(__tstate
);
10617 if (PyErr_Occurred()) SWIG_fail
;
10620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10628 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
;
10630 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10632 PyObject
* obj0
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10642 result
= (bool)(arg1
)->HasPOV();
10644 wxPyEndAllowThreads(__tstate
);
10645 if (PyErr_Occurred()) SWIG_fail
;
10648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10656 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10657 PyObject
*resultobj
;
10658 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10660 PyObject
* obj0
= 0 ;
10661 char *kwnames
[] = {
10662 (char *) "self", NULL
10665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (bool)(arg1
)->HasPOV4Dir();
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10684 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
;
10686 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10688 PyObject
* obj0
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (bool)(arg1
)->HasPOVCTS();
10700 wxPyEndAllowThreads(__tstate
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10712 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10715 wxWindow
*arg2
= (wxWindow
*) 0 ;
10716 int arg3
= (int) 0 ;
10718 PyObject
* obj0
= 0 ;
10719 PyObject
* obj1
= 0 ;
10720 PyObject
* obj2
= 0 ;
10721 char *kwnames
[] = {
10722 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10731 arg3
= (int) SWIG_AsInt(obj2
);
10732 if (PyErr_Occurred()) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10750 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10754 PyObject
* obj0
= 0 ;
10755 char *kwnames
[] = {
10756 (char *) "self", NULL
10759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10764 result
= (bool)(arg1
)->ReleaseCapture();
10766 wxPyEndAllowThreads(__tstate
);
10767 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10778 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10781 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10783 return Py_BuildValue((char *)"");
10785 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
;
10787 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10788 wxPoint
*arg2
= (wxPoint
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 PyObject
* obj1
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self",(char *) "m_pos", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10800 if (arg1
) (arg1
)->m_pos
= *arg2
;
10802 Py_INCREF(Py_None
); resultobj
= Py_None
;
10809 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10810 PyObject
*resultobj
;
10811 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10813 PyObject
* obj0
= 0 ;
10814 char *kwnames
[] = {
10815 (char *) "self", NULL
10818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10821 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10830 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10831 PyObject
*resultobj
;
10832 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10834 PyObject
* obj0
= 0 ;
10835 PyObject
* obj1
= 0 ;
10836 char *kwnames
[] = {
10837 (char *) "self",(char *) "m_zPosition", NULL
10840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10843 arg2
= (int) SWIG_AsInt(obj1
);
10844 if (PyErr_Occurred()) SWIG_fail
;
10845 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10847 Py_INCREF(Py_None
); resultobj
= Py_None
;
10854 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10855 PyObject
*resultobj
;
10856 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10858 PyObject
* obj0
= 0 ;
10859 char *kwnames
[] = {
10860 (char *) "self", NULL
10863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 result
= (int) ((arg1
)->m_zPosition
);
10868 resultobj
= SWIG_FromInt((int)result
);
10875 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10879 PyObject
* obj0
= 0 ;
10880 PyObject
* obj1
= 0 ;
10881 char *kwnames
[] = {
10882 (char *) "self",(char *) "m_buttonChange", NULL
10885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10888 arg2
= (int) SWIG_AsInt(obj1
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10890 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10892 Py_INCREF(Py_None
); resultobj
= Py_None
;
10899 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10903 PyObject
* obj0
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10911 result
= (int) ((arg1
)->m_buttonChange
);
10913 resultobj
= SWIG_FromInt((int)result
);
10920 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10924 PyObject
* obj0
= 0 ;
10925 PyObject
* obj1
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "self",(char *) "m_buttonState", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10933 arg2
= (int) SWIG_AsInt(obj1
);
10934 if (PyErr_Occurred()) SWIG_fail
;
10935 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10937 Py_INCREF(Py_None
); resultobj
= Py_None
;
10944 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10945 PyObject
*resultobj
;
10946 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10948 PyObject
* obj0
= 0 ;
10949 char *kwnames
[] = {
10950 (char *) "self", NULL
10953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10956 result
= (int) ((arg1
)->m_buttonState
);
10958 resultobj
= SWIG_FromInt((int)result
);
10965 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10966 PyObject
*resultobj
;
10967 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10969 PyObject
* obj0
= 0 ;
10970 PyObject
* obj1
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self",(char *) "m_joyStick", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10978 arg2
= (int) SWIG_AsInt(obj1
);
10979 if (PyErr_Occurred()) SWIG_fail
;
10980 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10982 Py_INCREF(Py_None
); resultobj
= Py_None
;
10989 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10990 PyObject
*resultobj
;
10991 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10993 PyObject
* obj0
= 0 ;
10994 char *kwnames
[] = {
10995 (char *) "self", NULL
10998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11001 result
= (int) ((arg1
)->m_joyStick
);
11003 resultobj
= SWIG_FromInt((int)result
);
11010 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11013 int arg2
= (int) 0 ;
11014 int arg3
= (int) wxJOYSTICK1
;
11015 int arg4
= (int) 0 ;
11016 wxJoystickEvent
*result
;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 PyObject
* obj2
= 0 ;
11020 PyObject
* obj3
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11027 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11028 if (PyErr_Occurred()) SWIG_fail
;
11031 arg2
= (int) SWIG_AsInt(obj1
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11035 arg3
= (int) SWIG_AsInt(obj2
);
11036 if (PyErr_Occurred()) SWIG_fail
;
11039 arg4
= (int) SWIG_AsInt(obj3
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11044 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11046 wxPyEndAllowThreads(__tstate
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11056 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11058 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11060 PyObject
* obj0
= 0 ;
11061 char *kwnames
[] = {
11062 (char *) "self", NULL
11065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11076 wxPoint
* resultptr
;
11077 resultptr
= new wxPoint((wxPoint
&) result
);
11078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11086 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11100 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 resultobj
= SWIG_FromInt((int)result
);
11112 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11113 PyObject
*resultobj
;
11114 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11116 PyObject
* obj0
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11126 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11128 wxPyEndAllowThreads(__tstate
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 resultobj
= SWIG_FromInt((int)result
);
11138 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11139 PyObject
*resultobj
;
11140 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11142 PyObject
* obj0
= 0 ;
11143 char *kwnames
[] = {
11144 (char *) "self", NULL
11147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11152 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11154 wxPyEndAllowThreads(__tstate
);
11155 if (PyErr_Occurred()) SWIG_fail
;
11157 resultobj
= SWIG_FromInt((int)result
);
11164 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11165 PyObject
*resultobj
;
11166 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11168 PyObject
* obj0
= 0 ;
11169 char *kwnames
[] = {
11170 (char *) "self", NULL
11173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11178 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= SWIG_FromInt((int)result
);
11190 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
;
11192 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11194 PyObject
* obj0
= 0 ;
11195 PyObject
* obj1
= 0 ;
11196 char *kwnames
[] = {
11197 (char *) "self",(char *) "stick", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11203 arg2
= (int) SWIG_AsInt(obj1
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11207 (arg1
)->SetJoystick(arg2
);
11209 wxPyEndAllowThreads(__tstate
);
11210 if (PyErr_Occurred()) SWIG_fail
;
11212 Py_INCREF(Py_None
); resultobj
= Py_None
;
11219 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11220 PyObject
*resultobj
;
11221 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11223 PyObject
* obj0
= 0 ;
11224 PyObject
* obj1
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self",(char *) "state", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11232 arg2
= (int) SWIG_AsInt(obj1
);
11233 if (PyErr_Occurred()) SWIG_fail
;
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 (arg1
)->SetButtonState(arg2
);
11238 wxPyEndAllowThreads(__tstate
);
11239 if (PyErr_Occurred()) SWIG_fail
;
11241 Py_INCREF(Py_None
); resultobj
= Py_None
;
11248 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11249 PyObject
*resultobj
;
11250 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11252 PyObject
* obj0
= 0 ;
11253 PyObject
* obj1
= 0 ;
11254 char *kwnames
[] = {
11255 (char *) "self",(char *) "change", NULL
11258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11261 arg2
= (int) SWIG_AsInt(obj1
);
11262 if (PyErr_Occurred()) SWIG_fail
;
11264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11265 (arg1
)->SetButtonChange(arg2
);
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11270 Py_INCREF(Py_None
); resultobj
= Py_None
;
11277 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
;
11279 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11280 wxPoint
*arg2
= 0 ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self",(char *) "pos", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11293 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11302 Py_INCREF(Py_None
); resultobj
= Py_None
;
11309 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11310 PyObject
*resultobj
;
11311 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11313 PyObject
* obj0
= 0 ;
11314 PyObject
* obj1
= 0 ;
11315 char *kwnames
[] = {
11316 (char *) "self",(char *) "zPos", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11322 arg2
= (int) SWIG_AsInt(obj1
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 (arg1
)->SetZPosition(arg2
);
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 Py_INCREF(Py_None
); resultobj
= Py_None
;
11338 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11339 PyObject
*resultobj
;
11340 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11342 PyObject
* obj0
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11352 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11354 wxPyEndAllowThreads(__tstate
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11366 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11367 PyObject
*resultobj
;
11368 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11370 PyObject
* obj0
= 0 ;
11371 char *kwnames
[] = {
11372 (char *) "self", NULL
11375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11394 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11395 PyObject
*resultobj
;
11396 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 char *kwnames
[] = {
11400 (char *) "self", NULL
11403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11410 wxPyEndAllowThreads(__tstate
);
11411 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11422 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11423 PyObject
*resultobj
;
11424 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11425 int arg2
= (int) wxJOY_BUTTON_ANY
;
11427 PyObject
* obj0
= 0 ;
11428 PyObject
* obj1
= 0 ;
11429 char *kwnames
[] = {
11430 (char *) "self",(char *) "but", NULL
11433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11437 arg2
= (int) SWIG_AsInt(obj1
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11456 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11459 int arg2
= (int) wxJOY_BUTTON_ANY
;
11461 PyObject
* obj0
= 0 ;
11462 PyObject
* obj1
= 0 ;
11463 char *kwnames
[] = {
11464 (char *) "self",(char *) "but", NULL
11467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11471 arg2
= (int) SWIG_AsInt(obj1
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11490 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11493 int arg2
= (int) wxJOY_BUTTON_ANY
;
11495 PyObject
* obj0
= 0 ;
11496 PyObject
* obj1
= 0 ;
11497 char *kwnames
[] = {
11498 (char *) "self",(char *) "but", NULL
11501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11505 arg2
= (int) SWIG_AsInt(obj1
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11524 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11527 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11529 return Py_BuildValue((char *)"");
11531 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
*resultobj
;
11533 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11534 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11536 bool temp1
= False
;
11537 PyObject
* obj0
= 0 ;
11538 char *kwnames
[] = {
11539 (char *) "fileName", NULL
11542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11545 arg1
= wxString_in_helper(obj0
);
11546 if (arg1
== NULL
) SWIG_fail
;
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11554 wxPyEndAllowThreads(__tstate
);
11555 if (PyErr_Occurred()) SWIG_fail
;
11557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11572 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11573 PyObject
*resultobj
;
11574 PyObject
*arg1
= (PyObject
*) 0 ;
11576 PyObject
* obj0
= 0 ;
11577 char *kwnames
[] = {
11578 (char *) "data", NULL
11581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (wxSound
*)new_wxSound(arg1
);
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11597 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxSound
*arg1
= (wxSound
*) 0 ;
11600 PyObject
* obj0
= 0 ;
11601 char *kwnames
[] = {
11602 (char *) "self", NULL
11605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 Py_INCREF(Py_None
); resultobj
= Py_None
;
11622 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
;
11624 wxSound
*arg1
= (wxSound
*) 0 ;
11625 wxString
*arg2
= 0 ;
11627 bool temp2
= False
;
11628 PyObject
* obj0
= 0 ;
11629 PyObject
* obj1
= 0 ;
11630 char *kwnames
[] = {
11631 (char *) "self",(char *) "fileName", NULL
11634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11638 arg2
= wxString_in_helper(obj1
);
11639 if (arg2
== NULL
) SWIG_fail
;
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11646 wxPyEndAllowThreads(__tstate
);
11647 if (PyErr_Occurred()) SWIG_fail
;
11650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11666 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11667 PyObject
*resultobj
;
11668 wxSound
*arg1
= (wxSound
*) 0 ;
11669 PyObject
*arg2
= (PyObject
*) 0 ;
11671 PyObject
* obj0
= 0 ;
11672 PyObject
* obj1
= 0 ;
11673 char *kwnames
[] = {
11674 (char *) "self",(char *) "data", NULL
11677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11697 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
;
11699 wxSound
*arg1
= (wxSound
*) 0 ;
11701 PyObject
* obj0
= 0 ;
11702 char *kwnames
[] = {
11703 (char *) "self", NULL
11706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (bool)(arg1
)->IsOk();
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11725 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxSound
*arg1
= (wxSound
*) 0 ;
11728 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "self",(char *) "flags", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11740 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11759 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxString
*arg1
= 0 ;
11762 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11764 bool temp1
= False
;
11765 PyObject
* obj0
= 0 ;
11766 PyObject
* obj1
= 0 ;
11767 char *kwnames
[] = {
11768 (char *) "filename",(char *) "flags", NULL
11771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11773 arg1
= wxString_in_helper(obj0
);
11774 if (arg1
== NULL
) SWIG_fail
;
11778 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11779 if (PyErr_Occurred()) SWIG_fail
;
11782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11783 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11785 wxPyEndAllowThreads(__tstate
);
11786 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11805 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 char *kwnames
[] = {
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11819 Py_INCREF(Py_None
); resultobj
= Py_None
;
11826 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11829 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11831 return Py_BuildValue((char *)"");
11833 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11834 PyObject
*resultobj
;
11835 wxString
*arg1
= 0 ;
11836 wxString
*arg2
= 0 ;
11837 wxString
*arg3
= 0 ;
11838 wxString
*arg4
= 0 ;
11839 wxFileTypeInfo
*result
;
11840 bool temp1
= False
;
11841 bool temp2
= False
;
11842 bool temp3
= False
;
11843 bool temp4
= False
;
11844 PyObject
* obj0
= 0 ;
11845 PyObject
* obj1
= 0 ;
11846 PyObject
* obj2
= 0 ;
11847 PyObject
* obj3
= 0 ;
11848 char *kwnames
[] = {
11849 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11854 arg1
= wxString_in_helper(obj0
);
11855 if (arg1
== NULL
) SWIG_fail
;
11859 arg2
= wxString_in_helper(obj1
);
11860 if (arg2
== NULL
) SWIG_fail
;
11864 arg3
= wxString_in_helper(obj2
);
11865 if (arg3
== NULL
) SWIG_fail
;
11869 arg4
= wxString_in_helper(obj3
);
11870 if (arg4
== NULL
) SWIG_fail
;
11874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11875 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11877 wxPyEndAllowThreads(__tstate
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11880 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11919 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11920 PyObject
*resultobj
;
11921 wxArrayString
*arg1
= 0 ;
11922 wxFileTypeInfo
*result
;
11923 bool temp1
= False
;
11924 PyObject
* obj0
= 0 ;
11925 char *kwnames
[] = {
11926 (char *) "sArray", NULL
11929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11931 if (! PySequence_Check(obj0
)) {
11932 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11935 arg1
= new wxArrayString
;
11937 int i
, len
=PySequence_Length(obj0
);
11938 for (i
=0; i
<len
; i
++) {
11939 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11941 PyObject
* str
= PyObject_Unicode(item
);
11943 PyObject
* str
= PyObject_Str(item
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11946 arg1
->Add(Py2wxString(str
));
11952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11953 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11955 wxPyEndAllowThreads(__tstate
);
11956 if (PyErr_Occurred()) SWIG_fail
;
11958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11960 if (temp1
) delete arg1
;
11965 if (temp1
) delete arg1
;
11971 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11972 PyObject
*resultobj
;
11973 wxFileTypeInfo
*result
;
11974 char *kwnames
[] = {
11978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11981 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11983 wxPyEndAllowThreads(__tstate
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11993 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11994 PyObject
*resultobj
;
11995 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11997 PyObject
* obj0
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12009 wxPyEndAllowThreads(__tstate
);
12010 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12021 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12024 wxString
*arg2
= 0 ;
12025 int arg3
= (int) 0 ;
12026 bool temp2
= False
;
12027 PyObject
* obj0
= 0 ;
12028 PyObject
* obj1
= 0 ;
12029 PyObject
* obj2
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12038 arg2
= wxString_in_helper(obj1
);
12039 if (arg2
== NULL
) SWIG_fail
;
12043 arg3
= (int) SWIG_AsInt(obj2
);
12044 if (PyErr_Occurred()) SWIG_fail
;
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12050 wxPyEndAllowThreads(__tstate
);
12051 if (PyErr_Occurred()) SWIG_fail
;
12053 Py_INCREF(Py_None
); resultobj
= Py_None
;
12068 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12071 wxString
*arg2
= 0 ;
12072 bool temp2
= False
;
12073 PyObject
* obj0
= 0 ;
12074 PyObject
* obj1
= 0 ;
12075 char *kwnames
[] = {
12076 (char *) "self",(char *) "shortDesc", NULL
12079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12083 arg2
= wxString_in_helper(obj1
);
12084 if (arg2
== NULL
) SWIG_fail
;
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12091 wxPyEndAllowThreads(__tstate
);
12092 if (PyErr_Occurred()) SWIG_fail
;
12094 Py_INCREF(Py_None
); resultobj
= Py_None
;
12109 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12125 result
= (wxString
*) &_result_ref
;
12128 wxPyEndAllowThreads(__tstate
);
12129 if (PyErr_Occurred()) SWIG_fail
;
12133 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12135 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12144 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12145 PyObject
*resultobj
;
12146 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12148 PyObject
* obj0
= 0 ;
12149 char *kwnames
[] = {
12150 (char *) "self", NULL
12153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12160 result
= (wxString
*) &_result_ref
;
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12168 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12170 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12179 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12183 PyObject
* obj0
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "self", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12195 result
= (wxString
*) &_result_ref
;
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12203 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12205 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12214 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12215 PyObject
*resultobj
;
12216 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12218 PyObject
* obj0
= 0 ;
12219 char *kwnames
[] = {
12220 (char *) "self", NULL
12223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12229 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12230 result
= (wxString
*) &_result_ref
;
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12240 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12249 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12253 PyObject
* obj0
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "self", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12265 result
= (wxString
*) &_result_ref
;
12268 wxPyEndAllowThreads(__tstate
);
12269 if (PyErr_Occurred()) SWIG_fail
;
12273 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12275 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12284 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12287 wxArrayString
*result
;
12288 PyObject
* obj0
= 0 ;
12289 char *kwnames
[] = {
12290 (char *) "self", NULL
12293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12300 result
= (wxArrayString
*) &_result_ref
;
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= wxArrayString2PyList_helper(*result
);
12315 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= SWIG_FromInt((int)result
);
12341 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 char *kwnames
[] = {
12347 (char *) "self", NULL
12350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12357 result
= (wxString
*) &_result_ref
;
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12365 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12367 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12376 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12377 PyObject
*resultobj
;
12378 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12380 PyObject
* obj0
= 0 ;
12381 char *kwnames
[] = {
12382 (char *) "self", NULL
12385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12392 wxPyEndAllowThreads(__tstate
);
12393 if (PyErr_Occurred()) SWIG_fail
;
12395 resultobj
= SWIG_FromInt((int)result
);
12402 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12404 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12405 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12407 return Py_BuildValue((char *)"");
12409 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxFileTypeInfo
*arg1
= 0 ;
12412 wxFileType
*result
;
12413 PyObject
* obj0
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "ftInfo", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12422 if (arg1
== NULL
) {
12423 PyErr_SetString(PyExc_TypeError
,"null reference");
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12440 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxFileType
*arg1
= (wxFileType
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 char *kwnames
[] = {
12445 (char *) "self", NULL
12448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 wxPyEndAllowThreads(__tstate
);
12456 if (PyErr_Occurred()) SWIG_fail
;
12458 Py_INCREF(Py_None
); resultobj
= Py_None
;
12465 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12466 PyObject
*resultobj
;
12467 wxFileType
*arg1
= (wxFileType
*) 0 ;
12469 PyObject
* obj0
= 0 ;
12470 char *kwnames
[] = {
12471 (char *) "self", NULL
12474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12479 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12481 wxPyEndAllowThreads(__tstate
);
12482 if (PyErr_Occurred()) SWIG_fail
;
12484 resultobj
= result
;
12491 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12492 PyObject
*resultobj
;
12493 wxFileType
*arg1
= (wxFileType
*) 0 ;
12495 PyObject
* obj0
= 0 ;
12496 char *kwnames
[] = {
12497 (char *) "self", NULL
12500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= result
;
12517 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxFileType
*arg1
= (wxFileType
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12533 wxPyEndAllowThreads(__tstate
);
12534 if (PyErr_Occurred()) SWIG_fail
;
12536 resultobj
= result
;
12543 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxFileType
*arg1
= (wxFileType
*) 0 ;
12547 PyObject
* obj0
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "self", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12569 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxFileType
*arg1
= (wxFileType
*) 0 ;
12573 PyObject
* obj0
= 0 ;
12574 char *kwnames
[] = {
12575 (char *) "self", NULL
12578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= result
;
12595 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxFileType
*arg1
= (wxFileType
*) 0 ;
12599 PyObject
* obj0
= 0 ;
12600 char *kwnames
[] = {
12601 (char *) "self", NULL
12604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12609 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12611 wxPyEndAllowThreads(__tstate
);
12612 if (PyErr_Occurred()) SWIG_fail
;
12614 resultobj
= result
;
12621 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxFileType
*arg1
= (wxFileType
*) 0 ;
12624 wxString
*arg2
= 0 ;
12625 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12626 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12628 bool temp2
= False
;
12629 bool temp3
= False
;
12630 PyObject
* obj0
= 0 ;
12631 PyObject
* obj1
= 0 ;
12632 PyObject
* obj2
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12641 arg2
= wxString_in_helper(obj1
);
12642 if (arg2
== NULL
) SWIG_fail
;
12647 arg3
= wxString_in_helper(obj2
);
12648 if (arg3
== NULL
) SWIG_fail
;
12653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12654 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12656 wxPyEndAllowThreads(__tstate
);
12657 if (PyErr_Occurred()) SWIG_fail
;
12659 resultobj
= result
;
12682 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
;
12684 wxFileType
*arg1
= (wxFileType
*) 0 ;
12685 wxString
*arg2
= 0 ;
12686 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12687 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12689 bool temp2
= False
;
12690 bool temp3
= False
;
12691 PyObject
* obj0
= 0 ;
12692 PyObject
* obj1
= 0 ;
12693 PyObject
* obj2
= 0 ;
12694 char *kwnames
[] = {
12695 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12702 arg2
= wxString_in_helper(obj1
);
12703 if (arg2
== NULL
) SWIG_fail
;
12708 arg3
= wxString_in_helper(obj2
);
12709 if (arg3
== NULL
) SWIG_fail
;
12714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12715 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12717 wxPyEndAllowThreads(__tstate
);
12718 if (PyErr_Occurred()) SWIG_fail
;
12720 resultobj
= result
;
12743 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxFileType
*arg1
= (wxFileType
*) 0 ;
12746 wxString
*arg2
= 0 ;
12747 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12748 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12750 bool temp2
= False
;
12751 bool temp3
= False
;
12752 PyObject
* obj0
= 0 ;
12753 PyObject
* obj1
= 0 ;
12754 PyObject
* obj2
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12763 arg2
= wxString_in_helper(obj1
);
12764 if (arg2
== NULL
) SWIG_fail
;
12769 arg3
= wxString_in_helper(obj2
);
12770 if (arg3
== NULL
) SWIG_fail
;
12775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12776 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12778 wxPyEndAllowThreads(__tstate
);
12779 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= result
;
12804 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12805 PyObject
*resultobj
;
12806 wxFileType
*arg1
= (wxFileType
*) 0 ;
12807 wxString
*arg2
= 0 ;
12808 wxString
*arg3
= 0 ;
12809 bool arg4
= (bool) True
;
12811 bool temp2
= False
;
12812 bool temp3
= False
;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 PyObject
* obj2
= 0 ;
12816 PyObject
* obj3
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12825 arg2
= wxString_in_helper(obj1
);
12826 if (arg2
== NULL
) SWIG_fail
;
12830 arg3
= wxString_in_helper(obj2
);
12831 if (arg3
== NULL
) SWIG_fail
;
12835 arg4
= (bool) SWIG_AsBool(obj3
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12870 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxFileType
*arg1
= (wxFileType
*) 0 ;
12873 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12874 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12875 int arg3
= (int) 0 ;
12877 bool temp2
= False
;
12878 PyObject
* obj0
= 0 ;
12879 PyObject
* obj1
= 0 ;
12880 PyObject
* obj2
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self",(char *) "cmd",(char *) "index", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12890 arg2
= wxString_in_helper(obj1
);
12891 if (arg2
== NULL
) SWIG_fail
;
12896 arg3
= (int) SWIG_AsInt(obj2
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12923 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12924 PyObject
*resultobj
;
12925 wxFileType
*arg1
= (wxFileType
*) 0 ;
12927 PyObject
* obj0
= 0 ;
12928 char *kwnames
[] = {
12929 (char *) "self", NULL
12932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= (bool)(arg1
)->Unassociate();
12939 wxPyEndAllowThreads(__tstate
);
12940 if (PyErr_Occurred()) SWIG_fail
;
12943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12951 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxString
*arg1
= 0 ;
12954 wxString
*arg2
= 0 ;
12955 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12956 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12958 bool temp1
= False
;
12959 bool temp2
= False
;
12960 bool temp3
= False
;
12961 PyObject
* obj0
= 0 ;
12962 PyObject
* obj1
= 0 ;
12963 PyObject
* obj2
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12970 arg1
= wxString_in_helper(obj0
);
12971 if (arg1
== NULL
) SWIG_fail
;
12975 arg2
= wxString_in_helper(obj1
);
12976 if (arg2
== NULL
) SWIG_fail
;
12981 arg3
= wxString_in_helper(obj2
);
12982 if (arg3
== NULL
) SWIG_fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13030 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13033 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13035 return Py_BuildValue((char *)"");
13037 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13038 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13043 static PyObject
*_wrap_TheMimeTypesManager_get() {
13046 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13051 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxString
*arg1
= 0 ;
13054 wxString
*arg2
= 0 ;
13056 bool temp1
= False
;
13057 bool temp2
= False
;
13058 PyObject
* obj0
= 0 ;
13059 PyObject
* obj1
= 0 ;
13060 char *kwnames
[] = {
13061 (char *) "mimeType",(char *) "wildcard", NULL
13064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13066 arg1
= wxString_in_helper(obj0
);
13067 if (arg1
== NULL
) SWIG_fail
;
13071 arg2
= wxString_in_helper(obj1
);
13072 if (arg2
== NULL
) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13107 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13108 PyObject
*resultobj
;
13109 wxMimeTypesManager
*result
;
13110 char *kwnames
[] = {
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13129 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
;
13131 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13132 int arg2
= (int) wxMAILCAP_ALL
;
13133 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13134 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13135 bool temp3
= False
;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 PyObject
* obj2
= 0 ;
13139 char *kwnames
[] = {
13140 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13147 arg2
= (int) SWIG_AsInt(obj1
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13152 arg3
= wxString_in_helper(obj2
);
13153 if (arg3
== NULL
) SWIG_fail
;
13158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13159 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13161 wxPyEndAllowThreads(__tstate
);
13162 if (PyErr_Occurred()) SWIG_fail
;
13164 Py_INCREF(Py_None
); resultobj
= Py_None
;
13179 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13182 PyObject
* obj0
= 0 ;
13183 char *kwnames
[] = {
13184 (char *) "self", NULL
13187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13192 (arg1
)->ClearData();
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 Py_INCREF(Py_None
); resultobj
= Py_None
;
13204 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13205 PyObject
*resultobj
;
13206 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13207 wxString
*arg2
= 0 ;
13208 wxFileType
*result
;
13209 bool temp2
= False
;
13210 PyObject
* obj0
= 0 ;
13211 PyObject
* obj1
= 0 ;
13212 char *kwnames
[] = {
13213 (char *) "self",(char *) "ext", NULL
13216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13220 arg2
= wxString_in_helper(obj1
);
13221 if (arg2
== NULL
) SWIG_fail
;
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13228 wxPyEndAllowThreads(__tstate
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13246 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13249 wxString
*arg2
= 0 ;
13250 wxFileType
*result
;
13251 bool temp2
= False
;
13252 PyObject
* obj0
= 0 ;
13253 PyObject
* obj1
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self",(char *) "mimeType", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13262 arg2
= wxString_in_helper(obj1
);
13263 if (arg2
== NULL
) SWIG_fail
;
13267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13268 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13270 wxPyEndAllowThreads(__tstate
);
13271 if (PyErr_Occurred()) SWIG_fail
;
13273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13288 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13289 PyObject
*resultobj
;
13290 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13291 wxString
*arg2
= 0 ;
13292 bool arg3
= (bool) False
;
13294 bool temp2
= False
;
13295 PyObject
* obj0
= 0 ;
13296 PyObject
* obj1
= 0 ;
13297 PyObject
* obj2
= 0 ;
13298 char *kwnames
[] = {
13299 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13306 arg2
= wxString_in_helper(obj1
);
13307 if (arg2
== NULL
) SWIG_fail
;
13311 arg3
= (bool) SWIG_AsBool(obj2
);
13312 if (PyErr_Occurred()) SWIG_fail
;
13315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13316 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13318 wxPyEndAllowThreads(__tstate
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13338 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13341 wxString
*arg2
= 0 ;
13343 bool temp2
= False
;
13344 PyObject
* obj0
= 0 ;
13345 PyObject
* obj1
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self",(char *) "filename", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13354 arg2
= wxString_in_helper(obj1
);
13355 if (arg2
== NULL
) SWIG_fail
;
13359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13360 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13382 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13386 PyObject
* obj0
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13396 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13398 wxPyEndAllowThreads(__tstate
);
13399 if (PyErr_Occurred()) SWIG_fail
;
13401 resultobj
= result
;
13408 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13409 PyObject
*resultobj
;
13410 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13411 wxFileTypeInfo
*arg2
= 0 ;
13412 PyObject
* obj0
= 0 ;
13413 PyObject
* obj1
= 0 ;
13414 char *kwnames
[] = {
13415 (char *) "self",(char *) "ft", NULL
13418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13424 if (arg2
== NULL
) {
13425 PyErr_SetString(PyExc_TypeError
,"null reference");
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13435 Py_INCREF(Py_None
); resultobj
= Py_None
;
13442 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13443 PyObject
*resultobj
;
13444 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13445 wxFileTypeInfo
*arg2
= 0 ;
13446 wxFileType
*result
;
13447 PyObject
* obj0
= 0 ;
13448 PyObject
* obj1
= 0 ;
13449 char *kwnames
[] = {
13450 (char *) "self",(char *) "ftInfo", NULL
13453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13457 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13459 if (arg2
== NULL
) {
13460 PyErr_SetString(PyExc_TypeError
,"null reference");
13464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13465 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13467 wxPyEndAllowThreads(__tstate
);
13468 if (PyErr_Occurred()) SWIG_fail
;
13470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13477 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13478 PyObject
*resultobj
;
13479 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13480 wxFileType
*arg2
= (wxFileType
*) 0 ;
13482 PyObject
* obj0
= 0 ;
13483 PyObject
* obj1
= 0 ;
13484 char *kwnames
[] = {
13485 (char *) "self",(char *) "ft", NULL
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13491 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13495 result
= (bool)(arg1
)->Unassociate(arg2
);
13497 wxPyEndAllowThreads(__tstate
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13509 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13510 PyObject
*resultobj
;
13511 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13512 PyObject
* obj0
= 0 ;
13513 char *kwnames
[] = {
13514 (char *) "self", NULL
13517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13524 wxPyEndAllowThreads(__tstate
);
13525 if (PyErr_Occurred()) SWIG_fail
;
13527 Py_INCREF(Py_None
); resultobj
= Py_None
;
13534 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13537 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13539 return Py_BuildValue((char *)"");
13541 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13542 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13547 static PyObject
*_wrap_ART_TOOLBAR_get() {
13552 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13554 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13561 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13562 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13567 static PyObject
*_wrap_ART_MENU_get() {
13572 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13574 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13581 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13582 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13587 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13592 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13594 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13601 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13602 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13607 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13612 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13614 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13621 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13622 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13627 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13632 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13634 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13641 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13642 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13647 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13652 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13654 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13661 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13662 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13667 static PyObject
*_wrap_ART_OTHER_get() {
13672 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13674 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13681 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13682 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13687 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13692 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13694 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13701 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13702 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13707 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13712 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13714 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13721 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13722 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13727 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13732 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13734 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13741 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13742 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13747 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13752 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13754 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13761 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13762 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13767 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13772 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13774 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13781 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13782 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13787 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13792 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13794 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13801 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13802 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13807 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13812 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13814 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13821 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13822 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13827 static PyObject
*_wrap_ART_GO_BACK_get() {
13832 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13834 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13841 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13842 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13847 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13852 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13854 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13861 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13862 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13867 static PyObject
*_wrap_ART_GO_UP_get() {
13872 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13874 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13881 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13882 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13887 static PyObject
*_wrap_ART_GO_DOWN_get() {
13892 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13894 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13901 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13902 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13907 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13912 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13914 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13921 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13922 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13927 static PyObject
*_wrap_ART_GO_HOME_get() {
13932 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13934 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13941 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13942 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13947 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13952 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13954 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13961 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13962 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13967 static PyObject
*_wrap_ART_PRINT_get() {
13972 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13974 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13981 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13982 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13987 static PyObject
*_wrap_ART_HELP_get() {
13992 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13994 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14001 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14002 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14007 static PyObject
*_wrap_ART_TIP_get() {
14012 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14014 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14021 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14022 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14027 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14032 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14034 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14041 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14042 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14047 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14052 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14054 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14061 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14062 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14067 static PyObject
*_wrap_ART_NEW_DIR_get() {
14072 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14074 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14081 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14082 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14087 static PyObject
*_wrap_ART_FOLDER_get() {
14092 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14094 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14101 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14102 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14107 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14112 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14114 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14121 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14122 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14127 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14132 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14134 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14141 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14142 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14147 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14152 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14154 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14161 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14162 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14167 static PyObject
*_wrap_ART_TICK_MARK_get() {
14172 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14174 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14181 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14182 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14187 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14192 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14194 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14201 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14202 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14207 static PyObject
*_wrap_ART_ERROR_get() {
14212 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14214 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14221 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14222 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14227 static PyObject
*_wrap_ART_QUESTION_get() {
14232 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14234 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14241 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14242 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14247 static PyObject
*_wrap_ART_WARNING_get() {
14252 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14254 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14261 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14262 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14267 static PyObject
*_wrap_ART_INFORMATION_get() {
14272 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14274 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14281 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14282 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14287 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14292 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14294 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14301 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
;
14303 wxPyArtProvider
*result
;
14304 char *kwnames
[] = {
14308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14323 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14324 PyObject
*resultobj
;
14325 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14326 PyObject
*arg2
= (PyObject
*) 0 ;
14327 PyObject
*arg3
= (PyObject
*) 0 ;
14328 PyObject
* obj0
= 0 ;
14329 PyObject
* obj1
= 0 ;
14330 PyObject
* obj2
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self",(char *) "self",(char *) "_class", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 Py_INCREF(Py_None
); resultobj
= Py_None
;
14354 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "provider", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 wxPyArtProvider::PushProvider(arg1
);
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14372 Py_INCREF(Py_None
); resultobj
= Py_None
;
14379 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14380 PyObject
*resultobj
;
14382 char *kwnames
[] = {
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (bool)wxPyArtProvider::PopProvider();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14403 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14407 PyObject
* obj0
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "provider", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14431 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxString
*arg1
= 0 ;
14434 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14435 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14436 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14437 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14439 bool temp1
= False
;
14440 bool temp2
= False
;
14442 PyObject
* obj0
= 0 ;
14443 PyObject
* obj1
= 0 ;
14444 PyObject
* obj2
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "id",(char *) "client",(char *) "size", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14451 arg1
= wxString_in_helper(obj0
);
14452 if (arg1
== NULL
) SWIG_fail
;
14457 arg2
= wxString_in_helper(obj1
);
14458 if (arg2
== NULL
) SWIG_fail
;
14465 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14470 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14472 wxPyEndAllowThreads(__tstate
);
14473 if (PyErr_Occurred()) SWIG_fail
;
14476 wxBitmap
* resultptr
;
14477 resultptr
= new wxBitmap((wxBitmap
&) result
);
14478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14502 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14503 PyObject
*resultobj
;
14504 wxString
*arg1
= 0 ;
14505 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14506 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14507 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14508 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14510 bool temp1
= False
;
14511 bool temp2
= False
;
14513 PyObject
* obj0
= 0 ;
14514 PyObject
* obj1
= 0 ;
14515 PyObject
* obj2
= 0 ;
14516 char *kwnames
[] = {
14517 (char *) "id",(char *) "client",(char *) "size", NULL
14520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14522 arg1
= wxString_in_helper(obj0
);
14523 if (arg1
== NULL
) SWIG_fail
;
14528 arg2
= wxString_in_helper(obj1
);
14529 if (arg2
== NULL
) SWIG_fail
;
14536 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14547 wxIcon
* resultptr
;
14548 resultptr
= new wxIcon((wxIcon
&) result
);
14549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14573 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 char *kwnames
[] = {
14578 (char *) "self", NULL
14581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 wxPyArtProvider_Destroy(arg1
);
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14591 Py_INCREF(Py_None
); resultobj
= Py_None
;
14598 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14600 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14601 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14603 return Py_BuildValue((char *)"");
14605 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14608 PyObject
* obj0
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14620 wxPyEndAllowThreads(__tstate
);
14621 if (PyErr_Occurred()) SWIG_fail
;
14623 Py_INCREF(Py_None
); resultobj
= Py_None
;
14630 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14631 PyObject
*resultobj
;
14632 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14633 wxConfigBase
*result
;
14634 PyObject
* obj0
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "config", NULL
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14656 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14657 PyObject
*resultobj
;
14658 bool arg1
= (bool) True
;
14659 wxConfigBase
*result
;
14660 PyObject
* obj0
= 0 ;
14661 char *kwnames
[] = {
14662 (char *) "createOnDemand", NULL
14665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14667 arg1
= (bool) SWIG_AsBool(obj0
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14672 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14674 wxPyEndAllowThreads(__tstate
);
14675 if (PyErr_Occurred()) SWIG_fail
;
14677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14684 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxConfigBase
*result
;
14687 char *kwnames
[] = {
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14694 result
= (wxConfigBase
*)wxConfigBase::Create();
14696 wxPyEndAllowThreads(__tstate
);
14697 if (PyErr_Occurred()) SWIG_fail
;
14699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14706 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 char *kwnames
[] = {
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 wxConfigBase::DontCreateOnDemand();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 Py_INCREF(Py_None
); resultobj
= Py_None
;
14727 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14730 wxString
*arg2
= 0 ;
14731 bool temp2
= False
;
14732 PyObject
* obj0
= 0 ;
14733 PyObject
* obj1
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self",(char *) "path", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14742 arg2
= wxString_in_helper(obj1
);
14743 if (arg2
== NULL
) SWIG_fail
;
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 (arg1
)->SetPath((wxString
const &)*arg2
);
14750 wxPyEndAllowThreads(__tstate
);
14751 if (PyErr_Occurred()) SWIG_fail
;
14753 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14784 result
= (wxString
*) &_result_ref
;
14787 wxPyEndAllowThreads(__tstate
);
14788 if (PyErr_Occurred()) SWIG_fail
;
14792 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14794 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14803 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14804 PyObject
*resultobj
;
14805 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14807 PyObject
* obj0
= 0 ;
14808 char *kwnames
[] = {
14809 (char *) "self", NULL
14812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14819 wxPyEndAllowThreads(__tstate
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14822 resultobj
= result
;
14829 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14830 PyObject
*resultobj
;
14831 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14834 PyObject
* obj0
= 0 ;
14835 PyObject
* obj1
= 0 ;
14836 char *kwnames
[] = {
14837 (char *) "self",(char *) "index", NULL
14840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14843 arg2
= (long) SWIG_AsLong(obj1
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14847 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14849 wxPyEndAllowThreads(__tstate
);
14850 if (PyErr_Occurred()) SWIG_fail
;
14852 resultobj
= result
;
14859 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14860 PyObject
*resultobj
;
14861 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 char *kwnames
[] = {
14865 (char *) "self", NULL
14868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= result
;
14885 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 PyObject
* obj1
= 0 ;
14892 char *kwnames
[] = {
14893 (char *) "self",(char *) "index", NULL
14896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 arg2
= (long) SWIG_AsLong(obj1
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14903 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14905 wxPyEndAllowThreads(__tstate
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14908 resultobj
= result
;
14915 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14916 PyObject
*resultobj
;
14917 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14918 bool arg2
= (bool) False
;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self",(char *) "recursive", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14930 arg2
= (bool) SWIG_AsBool(obj1
);
14931 if (PyErr_Occurred()) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14947 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14950 bool arg2
= (bool) False
;
14952 PyObject
* obj0
= 0 ;
14953 PyObject
* obj1
= 0 ;
14954 char *kwnames
[] = {
14955 (char *) "self",(char *) "recursive", NULL
14958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14962 arg2
= (bool) SWIG_AsBool(obj1
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14967 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14969 wxPyEndAllowThreads(__tstate
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14972 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14979 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14980 PyObject
*resultobj
;
14981 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14982 wxString
*arg2
= 0 ;
14984 bool temp2
= False
;
14985 PyObject
* obj0
= 0 ;
14986 PyObject
* obj1
= 0 ;
14987 char *kwnames
[] = {
14988 (char *) "self",(char *) "name", NULL
14991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14995 arg2
= wxString_in_helper(obj1
);
14996 if (arg2
== NULL
) SWIG_fail
;
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15003 wxPyEndAllowThreads(__tstate
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15023 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15026 wxString
*arg2
= 0 ;
15028 bool temp2
= False
;
15029 PyObject
* obj0
= 0 ;
15030 PyObject
* obj1
= 0 ;
15031 char *kwnames
[] = {
15032 (char *) "self",(char *) "name", NULL
15035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 arg2
= wxString_in_helper(obj1
);
15040 if (arg2
== NULL
) SWIG_fail
;
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15047 wxPyEndAllowThreads(__tstate
);
15048 if (PyErr_Occurred()) SWIG_fail
;
15051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15067 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15070 wxString
*arg2
= 0 ;
15072 bool temp2
= False
;
15073 PyObject
* obj0
= 0 ;
15074 PyObject
* obj1
= 0 ;
15075 char *kwnames
[] = {
15076 (char *) "self",(char *) "name", NULL
15079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15083 arg2
= wxString_in_helper(obj1
);
15084 if (arg2
== NULL
) SWIG_fail
;
15088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15089 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15091 wxPyEndAllowThreads(__tstate
);
15092 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15111 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15114 wxString
*arg2
= 0 ;
15116 bool temp2
= False
;
15117 PyObject
* obj0
= 0 ;
15118 PyObject
* obj1
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self",(char *) "name", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15127 arg2
= wxString_in_helper(obj1
);
15128 if (arg2
== NULL
) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15135 wxPyEndAllowThreads(__tstate
);
15136 if (PyErr_Occurred()) SWIG_fail
;
15138 resultobj
= SWIG_FromInt((int)result
);
15153 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15156 wxString
*arg2
= 0 ;
15157 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15158 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15160 bool temp2
= False
;
15161 bool temp3
= False
;
15162 PyObject
* obj0
= 0 ;
15163 PyObject
* obj1
= 0 ;
15164 PyObject
* obj2
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15173 arg2
= wxString_in_helper(obj1
);
15174 if (arg2
== NULL
) SWIG_fail
;
15179 arg3
= wxString_in_helper(obj2
);
15180 if (arg3
== NULL
) SWIG_fail
;
15185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15186 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15188 wxPyEndAllowThreads(__tstate
);
15189 if (PyErr_Occurred()) SWIG_fail
;
15193 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15195 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15220 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15221 PyObject
*resultobj
;
15222 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15223 wxString
*arg2
= 0 ;
15224 long arg3
= (long) 0 ;
15226 bool temp2
= False
;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 PyObject
* obj2
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 arg2
= wxString_in_helper(obj1
);
15239 if (arg2
== NULL
) SWIG_fail
;
15243 arg3
= (long) SWIG_AsLong(obj2
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15248 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15250 wxPyEndAllowThreads(__tstate
);
15251 if (PyErr_Occurred()) SWIG_fail
;
15253 resultobj
= SWIG_FromLong((long)result
);
15268 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15271 wxString
*arg2
= 0 ;
15272 double arg3
= (double) 0.0 ;
15274 bool temp2
= False
;
15275 PyObject
* obj0
= 0 ;
15276 PyObject
* obj1
= 0 ;
15277 PyObject
* obj2
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15286 arg2
= wxString_in_helper(obj1
);
15287 if (arg2
== NULL
) SWIG_fail
;
15291 arg3
= (double) SWIG_AsDouble(obj2
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= SWIG_FromDouble((double)result
);
15316 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15317 PyObject
*resultobj
;
15318 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15319 wxString
*arg2
= 0 ;
15320 bool arg3
= (bool) False
;
15322 bool temp2
= False
;
15323 PyObject
* obj0
= 0 ;
15324 PyObject
* obj1
= 0 ;
15325 PyObject
* obj2
= 0 ;
15326 char *kwnames
[] = {
15327 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15334 arg2
= wxString_in_helper(obj1
);
15335 if (arg2
== NULL
) SWIG_fail
;
15339 arg3
= (bool) SWIG_AsBool(obj2
);
15340 if (PyErr_Occurred()) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15366 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15367 PyObject
*resultobj
;
15368 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15369 wxString
*arg2
= 0 ;
15370 wxString
*arg3
= 0 ;
15372 bool temp2
= False
;
15373 bool temp3
= False
;
15374 PyObject
* obj0
= 0 ;
15375 PyObject
* obj1
= 0 ;
15376 PyObject
* obj2
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self",(char *) "key",(char *) "value", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15385 arg2
= wxString_in_helper(obj1
);
15386 if (arg2
== NULL
) SWIG_fail
;
15390 arg3
= wxString_in_helper(obj2
);
15391 if (arg3
== NULL
) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15426 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15427 PyObject
*resultobj
;
15428 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15429 wxString
*arg2
= 0 ;
15432 bool temp2
= False
;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 PyObject
* obj2
= 0 ;
15436 char *kwnames
[] = {
15437 (char *) "self",(char *) "key",(char *) "value", NULL
15440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 arg2
= wxString_in_helper(obj1
);
15445 if (arg2
== NULL
) SWIG_fail
;
15448 arg3
= (long) SWIG_AsLong(obj2
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15474 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15477 wxString
*arg2
= 0 ;
15480 bool temp2
= False
;
15481 PyObject
* obj0
= 0 ;
15482 PyObject
* obj1
= 0 ;
15483 PyObject
* obj2
= 0 ;
15484 char *kwnames
[] = {
15485 (char *) "self",(char *) "key",(char *) "value", NULL
15488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15492 arg2
= wxString_in_helper(obj1
);
15493 if (arg2
== NULL
) SWIG_fail
;
15496 arg3
= (double) SWIG_AsDouble(obj2
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15522 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15523 PyObject
*resultobj
;
15524 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15525 wxString
*arg2
= 0 ;
15528 bool temp2
= False
;
15529 PyObject
* obj0
= 0 ;
15530 PyObject
* obj1
= 0 ;
15531 PyObject
* obj2
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "self",(char *) "key",(char *) "value", NULL
15536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15540 arg2
= wxString_in_helper(obj1
);
15541 if (arg2
== NULL
) SWIG_fail
;
15544 arg3
= (bool) SWIG_AsBool(obj2
);
15545 if (PyErr_Occurred()) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15570 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15573 bool arg2
= (bool) False
;
15575 PyObject
* obj0
= 0 ;
15576 PyObject
* obj1
= 0 ;
15577 char *kwnames
[] = {
15578 (char *) "self",(char *) "currentOnly", NULL
15581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 arg2
= (bool) SWIG_AsBool(obj1
);
15586 if (PyErr_Occurred()) SWIG_fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (bool)(arg1
)->Flush(arg2
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15604 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15605 PyObject
*resultobj
;
15606 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15607 wxString
*arg2
= 0 ;
15608 wxString
*arg3
= 0 ;
15610 bool temp2
= False
;
15611 bool temp3
= False
;
15612 PyObject
* obj0
= 0 ;
15613 PyObject
* obj1
= 0 ;
15614 PyObject
* obj2
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15623 arg2
= wxString_in_helper(obj1
);
15624 if (arg2
== NULL
) SWIG_fail
;
15628 arg3
= wxString_in_helper(obj2
);
15629 if (arg3
== NULL
) SWIG_fail
;
15633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15634 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15636 wxPyEndAllowThreads(__tstate
);
15637 if (PyErr_Occurred()) SWIG_fail
;
15640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15664 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
;
15666 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15667 wxString
*arg2
= 0 ;
15668 wxString
*arg3
= 0 ;
15670 bool temp2
= False
;
15671 bool temp3
= False
;
15672 PyObject
* obj0
= 0 ;
15673 PyObject
* obj1
= 0 ;
15674 PyObject
* obj2
= 0 ;
15675 char *kwnames
[] = {
15676 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15683 arg2
= wxString_in_helper(obj1
);
15684 if (arg2
== NULL
) SWIG_fail
;
15688 arg3
= wxString_in_helper(obj2
);
15689 if (arg3
== NULL
) SWIG_fail
;
15693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15694 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15696 wxPyEndAllowThreads(__tstate
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15724 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15725 PyObject
*resultobj
;
15726 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15727 wxString
*arg2
= 0 ;
15728 bool arg3
= (bool) True
;
15730 bool temp2
= False
;
15731 PyObject
* obj0
= 0 ;
15732 PyObject
* obj1
= 0 ;
15733 PyObject
* obj2
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15742 arg2
= wxString_in_helper(obj1
);
15743 if (arg2
== NULL
) SWIG_fail
;
15747 arg3
= (bool) SWIG_AsBool(obj2
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15752 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15754 wxPyEndAllowThreads(__tstate
);
15755 if (PyErr_Occurred()) SWIG_fail
;
15758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15774 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15777 wxString
*arg2
= 0 ;
15779 bool temp2
= False
;
15780 PyObject
* obj0
= 0 ;
15781 PyObject
* obj1
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "self",(char *) "key", NULL
15786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15790 arg2
= wxString_in_helper(obj1
);
15791 if (arg2
== NULL
) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15818 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15819 PyObject
*resultobj
;
15820 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15822 PyObject
* obj0
= 0 ;
15823 char *kwnames
[] = {
15824 (char *) "self", NULL
15827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15832 result
= (bool)(arg1
)->DeleteAll();
15834 wxPyEndAllowThreads(__tstate
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15846 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15847 PyObject
*resultobj
;
15848 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15849 bool arg2
= (bool) True
;
15850 PyObject
* obj0
= 0 ;
15851 PyObject
* obj1
= 0 ;
15852 char *kwnames
[] = {
15853 (char *) "self",(char *) "doIt", NULL
15856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15860 arg2
= (bool) SWIG_AsBool(obj1
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 (arg1
)->SetExpandEnvVars(arg2
);
15867 wxPyEndAllowThreads(__tstate
);
15868 if (PyErr_Occurred()) SWIG_fail
;
15870 Py_INCREF(Py_None
); resultobj
= Py_None
;
15877 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15878 PyObject
*resultobj
;
15879 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15881 PyObject
* obj0
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "self", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15891 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15893 wxPyEndAllowThreads(__tstate
);
15894 if (PyErr_Occurred()) SWIG_fail
;
15897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15905 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15908 bool arg2
= (bool) True
;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "self",(char *) "doIt", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15919 arg2
= (bool) SWIG_AsBool(obj1
);
15920 if (PyErr_Occurred()) SWIG_fail
;
15923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15924 (arg1
)->SetRecordDefaults(arg2
);
15926 wxPyEndAllowThreads(__tstate
);
15927 if (PyErr_Occurred()) SWIG_fail
;
15929 Py_INCREF(Py_None
); resultobj
= Py_None
;
15936 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15937 PyObject
*resultobj
;
15938 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15940 PyObject
* obj0
= 0 ;
15941 char *kwnames
[] = {
15942 (char *) "self", NULL
15945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15964 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15965 PyObject
*resultobj
;
15966 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15967 wxString
*arg2
= 0 ;
15969 bool temp2
= False
;
15970 PyObject
* obj0
= 0 ;
15971 PyObject
* obj1
= 0 ;
15972 char *kwnames
[] = {
15973 (char *) "self",(char *) "str", NULL
15976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15980 arg2
= wxString_in_helper(obj1
);
15981 if (arg2
== NULL
) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15988 wxPyEndAllowThreads(__tstate
);
15989 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16012 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16013 PyObject
*resultobj
;
16014 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16016 PyObject
* obj0
= 0 ;
16017 char *kwnames
[] = {
16018 (char *) "self", NULL
16021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16026 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16028 wxPyEndAllowThreads(__tstate
);
16029 if (PyErr_Occurred()) SWIG_fail
;
16033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16044 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16045 PyObject
*resultobj
;
16046 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16048 PyObject
* obj0
= 0 ;
16049 char *kwnames
[] = {
16050 (char *) "self", NULL
16053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16058 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16060 wxPyEndAllowThreads(__tstate
);
16061 if (PyErr_Occurred()) SWIG_fail
;
16065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16076 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16079 wxString
*arg2
= 0 ;
16080 bool temp2
= False
;
16081 PyObject
* obj0
= 0 ;
16082 PyObject
* obj1
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "self",(char *) "appName", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16091 arg2
= wxString_in_helper(obj1
);
16092 if (arg2
== NULL
) SWIG_fail
;
16096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16097 (arg1
)->SetAppName((wxString
const &)*arg2
);
16099 wxPyEndAllowThreads(__tstate
);
16100 if (PyErr_Occurred()) SWIG_fail
;
16102 Py_INCREF(Py_None
); resultobj
= Py_None
;
16117 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16120 wxString
*arg2
= 0 ;
16121 bool temp2
= False
;
16122 PyObject
* obj0
= 0 ;
16123 PyObject
* obj1
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self",(char *) "vendorName", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16132 arg2
= wxString_in_helper(obj1
);
16133 if (arg2
== NULL
) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16143 Py_INCREF(Py_None
); resultobj
= Py_None
;
16158 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16162 PyObject
* obj0
= 0 ;
16163 PyObject
* obj1
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "self",(char *) "style", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16171 arg2
= (long) SWIG_AsLong(obj1
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 (arg1
)->SetStyle(arg2
);
16177 wxPyEndAllowThreads(__tstate
);
16178 if (PyErr_Occurred()) SWIG_fail
;
16180 Py_INCREF(Py_None
); resultobj
= Py_None
;
16187 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16188 PyObject
*resultobj
;
16189 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 char *kwnames
[] = {
16193 (char *) "self", NULL
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_FromLong((long)result
);
16213 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16216 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16218 return Py_BuildValue((char *)"");
16220 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16223 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16224 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16225 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16226 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16227 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16228 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16229 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16230 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16232 bool temp1
= False
;
16233 bool temp2
= False
;
16234 bool temp3
= False
;
16235 bool temp4
= False
;
16236 PyObject
* obj0
= 0 ;
16237 PyObject
* obj1
= 0 ;
16238 PyObject
* obj2
= 0 ;
16239 PyObject
* obj3
= 0 ;
16240 PyObject
* obj4
= 0 ;
16241 char *kwnames
[] = {
16242 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16248 arg1
= wxString_in_helper(obj0
);
16249 if (arg1
== NULL
) SWIG_fail
;
16255 arg2
= wxString_in_helper(obj1
);
16256 if (arg2
== NULL
) SWIG_fail
;
16262 arg3
= wxString_in_helper(obj2
);
16263 if (arg3
== NULL
) SWIG_fail
;
16269 arg4
= wxString_in_helper(obj3
);
16270 if (arg4
== NULL
) SWIG_fail
;
16275 arg5
= (long) SWIG_AsLong(obj4
);
16276 if (PyErr_Occurred()) SWIG_fail
;
16279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16280 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16282 wxPyEndAllowThreads(__tstate
);
16283 if (PyErr_Occurred()) SWIG_fail
;
16285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16324 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16325 PyObject
*resultobj
;
16326 wxConfig
*arg1
= (wxConfig
*) 0 ;
16327 PyObject
* obj0
= 0 ;
16328 char *kwnames
[] = {
16329 (char *) "self", NULL
16332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16339 wxPyEndAllowThreads(__tstate
);
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 Py_INCREF(Py_None
); resultobj
= Py_None
;
16349 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16352 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16354 return Py_BuildValue((char *)"");
16356 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16357 PyObject
*resultobj
;
16358 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16359 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16360 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16361 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16362 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16363 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16364 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16365 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16366 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16367 wxFileConfig
*result
;
16368 bool temp1
= False
;
16369 bool temp2
= False
;
16370 bool temp3
= False
;
16371 bool temp4
= False
;
16372 PyObject
* obj0
= 0 ;
16373 PyObject
* obj1
= 0 ;
16374 PyObject
* obj2
= 0 ;
16375 PyObject
* obj3
= 0 ;
16376 PyObject
* obj4
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16384 arg1
= wxString_in_helper(obj0
);
16385 if (arg1
== NULL
) SWIG_fail
;
16391 arg2
= wxString_in_helper(obj1
);
16392 if (arg2
== NULL
) SWIG_fail
;
16398 arg3
= wxString_in_helper(obj2
);
16399 if (arg3
== NULL
) SWIG_fail
;
16405 arg4
= wxString_in_helper(obj3
);
16406 if (arg4
== NULL
) SWIG_fail
;
16411 arg5
= (long) SWIG_AsLong(obj4
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16460 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16463 PyObject
* obj0
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 Py_INCREF(Py_None
); resultobj
= Py_None
;
16485 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16488 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16490 return Py_BuildValue((char *)"");
16492 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16495 wxString
*arg2
= 0 ;
16496 wxConfigPathChanger
*result
;
16497 bool temp2
= False
;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "config",(char *) "entry", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16508 arg2
= wxString_in_helper(obj1
);
16509 if (arg2
== NULL
) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16534 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
;
16536 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16537 PyObject
* obj0
= 0 ;
16538 char *kwnames
[] = {
16539 (char *) "self", NULL
16542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 wxPyEndAllowThreads(__tstate
);
16550 if (PyErr_Occurred()) SWIG_fail
;
16552 Py_INCREF(Py_None
); resultobj
= Py_None
;
16559 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
;
16561 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16563 PyObject
* obj0
= 0 ;
16564 char *kwnames
[] = {
16565 (char *) "self", NULL
16568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16575 result
= (wxString
*) &_result_ref
;
16578 wxPyEndAllowThreads(__tstate
);
16579 if (PyErr_Occurred()) SWIG_fail
;
16583 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16585 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16594 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16596 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16597 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16599 return Py_BuildValue((char *)"");
16601 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxString
*arg1
= 0 ;
16605 bool temp1
= False
;
16606 PyObject
* obj0
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "sz", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16613 arg1
= wxString_in_helper(obj0
);
16614 if (arg1
== NULL
) SWIG_fail
;
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16621 wxPyEndAllowThreads(__tstate
);
16622 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16645 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16646 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16651 static PyObject
*_wrap_DateFormatStr_get() {
16656 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16658 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16665 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16666 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16671 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16676 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16678 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16685 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16688 PyObject
* obj0
= 0 ;
16689 char *kwnames
[] = {
16690 (char *) "country", NULL
16693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16694 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16695 if (PyErr_Occurred()) SWIG_fail
;
16697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16698 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16700 wxPyEndAllowThreads(__tstate
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16703 Py_INCREF(Py_None
); resultobj
= Py_None
;
16710 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16711 PyObject
*resultobj
;
16713 char *kwnames
[] = {
16717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (int)wxDateTime::GetCountry();
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_FromInt((int)result
);
16732 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 int arg1
= (int) wxDateTime::Country_Default
;
16736 PyObject
* obj0
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "country", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16743 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16762 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
;
16764 int arg1
= (int) wxDateTime::Gregorian
;
16766 PyObject
* obj0
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "cal", NULL
16771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16773 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16778 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16780 wxPyEndAllowThreads(__tstate
);
16781 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= SWIG_FromInt((int)result
);
16790 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16791 PyObject
*resultobj
;
16794 PyObject
* obj0
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "year", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16800 arg1
= (int) SWIG_AsInt(obj0
);
16801 if (PyErr_Occurred()) SWIG_fail
;
16803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16804 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16806 wxPyEndAllowThreads(__tstate
);
16807 if (PyErr_Occurred()) SWIG_fail
;
16809 resultobj
= SWIG_FromInt((int)result
);
16816 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16817 PyObject
*resultobj
;
16818 int arg1
= (int) wxDateTime::Gregorian
;
16820 PyObject
* obj0
= 0 ;
16821 char *kwnames
[] = {
16822 (char *) "cal", NULL
16825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16827 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16832 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16834 wxPyEndAllowThreads(__tstate
);
16835 if (PyErr_Occurred()) SWIG_fail
;
16837 resultobj
= SWIG_FromInt((int)result
);
16844 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16845 PyObject
*resultobj
;
16846 int arg1
= (int) wxDateTime::Inv_Year
;
16847 int arg2
= (int) wxDateTime::Gregorian
;
16849 PyObject
* obj0
= 0 ;
16850 PyObject
* obj1
= 0 ;
16851 char *kwnames
[] = {
16852 (char *) "year",(char *) "cal", NULL
16855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16857 arg1
= (int) SWIG_AsInt(obj0
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16861 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16866 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16880 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16881 PyObject
*resultobj
;
16882 int arg1
= (int) wxDateTime::Inv_Year
;
16884 PyObject
* obj0
= 0 ;
16885 char *kwnames
[] = {
16886 (char *) "year", NULL
16889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16891 arg1
= (int) SWIG_AsInt(obj0
);
16892 if (PyErr_Occurred()) SWIG_fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 result
= (int)wxDateTime::GetCentury(arg1
);
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 resultobj
= SWIG_FromInt((int)result
);
16908 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16911 int arg2
= (int) wxDateTime::Gregorian
;
16913 PyObject
* obj0
= 0 ;
16914 PyObject
* obj1
= 0 ;
16915 char *kwnames
[] = {
16916 (char *) "year",(char *) "cal", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16920 arg1
= (int) SWIG_AsInt(obj0
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= SWIG_FromInt((int)result
);
16940 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16941 PyObject
*resultobj
;
16943 int arg2
= (int) wxDateTime::Inv_Year
;
16944 int arg3
= (int) wxDateTime::Gregorian
;
16946 PyObject
* obj0
= 0 ;
16947 PyObject
* obj1
= 0 ;
16948 PyObject
* obj2
= 0 ;
16949 char *kwnames
[] = {
16950 (char *) "month",(char *) "year",(char *) "cal", NULL
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16954 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16957 arg2
= (int) SWIG_AsInt(obj1
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16961 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16966 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16968 wxPyEndAllowThreads(__tstate
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16971 resultobj
= SWIG_FromInt((int)result
);
16978 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16979 PyObject
*resultobj
;
16981 int arg2
= (int) wxDateTime::Name_Full
;
16983 PyObject
* obj0
= 0 ;
16984 PyObject
* obj1
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "month",(char *) "flags", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16990 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16993 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16994 if (PyErr_Occurred()) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16998 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17016 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17017 PyObject
*resultobj
;
17019 int arg2
= (int) wxDateTime::Name_Full
;
17021 PyObject
* obj0
= 0 ;
17022 PyObject
* obj1
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "weekday",(char *) "flags", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17028 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17031 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17045 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17054 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17055 PyObject
*resultobj
;
17056 wxString
*arg1
= (wxString
*) 0 ;
17057 wxString
*arg2
= (wxString
*) 0 ;
17058 bool temp1
= False
;
17059 bool temp2
= False
;
17060 PyObject
* obj0
= 0 ;
17061 PyObject
* obj1
= 0 ;
17062 char *kwnames
[] = {
17063 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17068 arg1
= wxString_in_helper(obj0
);
17069 if (arg1
== NULL
) SWIG_fail
;
17073 arg2
= wxString_in_helper(obj1
);
17074 if (arg2
== NULL
) SWIG_fail
;
17078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17079 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17081 wxPyEndAllowThreads(__tstate
);
17082 if (PyErr_Occurred()) SWIG_fail
;
17084 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 int arg1
= (int) wxDateTime::Inv_Year
;
17110 int arg2
= (int) wxDateTime::Country_Default
;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "year",(char *) "country", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17120 arg1
= (int) SWIG_AsInt(obj0
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17124 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17129 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17131 wxPyEndAllowThreads(__tstate
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17143 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 int arg1
= (int) wxDateTime::Inv_Year
;
17146 int arg2
= (int) wxDateTime::Country_Default
;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "year",(char *) "country", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17156 arg1
= (int) SWIG_AsInt(obj0
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17167 wxPyEndAllowThreads(__tstate
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17171 wxDateTime
* resultptr
;
17172 resultptr
= new wxDateTime((wxDateTime
&) result
);
17173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17181 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17182 PyObject
*resultobj
;
17183 int arg1
= (int) wxDateTime::Inv_Year
;
17184 int arg2
= (int) wxDateTime::Country_Default
;
17186 PyObject
* obj0
= 0 ;
17187 PyObject
* obj1
= 0 ;
17188 char *kwnames
[] = {
17189 (char *) "year",(char *) "country", NULL
17192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17194 arg1
= (int) SWIG_AsInt(obj0
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17209 wxDateTime
* resultptr
;
17210 resultptr
= new wxDateTime((wxDateTime
&) result
);
17211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17219 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
;
17222 char *kwnames
[] = {
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= wxDateTime::Now();
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 wxDateTime
* resultptr
;
17236 resultptr
= new wxDateTime((wxDateTime
&) result
);
17237 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17245 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17248 char *kwnames
[] = {
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17255 result
= wxDateTime::UNow();
17257 wxPyEndAllowThreads(__tstate
);
17258 if (PyErr_Occurred()) SWIG_fail
;
17261 wxDateTime
* resultptr
;
17262 resultptr
= new wxDateTime((wxDateTime
&) result
);
17263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17271 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17272 PyObject
*resultobj
;
17274 char *kwnames
[] = {
17278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= wxDateTime::Today();
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17287 wxDateTime
* resultptr
;
17288 resultptr
= new wxDateTime((wxDateTime
&) result
);
17289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17297 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17298 PyObject
*resultobj
;
17299 wxDateTime
*result
;
17300 char *kwnames
[] = {
17304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (wxDateTime
*)new wxDateTime();
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17319 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17322 wxDateTime
*result
;
17323 PyObject
* obj0
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "timet", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17329 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 result
= (wxDateTime
*)new wxDateTime(arg1
);
17335 wxPyEndAllowThreads(__tstate
);
17336 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17345 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17348 wxDateTime
*result
;
17349 PyObject
* obj0
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "jdn", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17355 arg1
= (double) SWIG_AsDouble(obj0
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= (wxDateTime
*)new wxDateTime(arg1
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17371 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17374 int arg2
= (int) 0 ;
17375 int arg3
= (int) 0 ;
17376 int arg4
= (int) 0 ;
17377 wxDateTime
*result
;
17378 PyObject
* obj0
= 0 ;
17379 PyObject
* obj1
= 0 ;
17380 PyObject
* obj2
= 0 ;
17381 PyObject
* obj3
= 0 ;
17382 char *kwnames
[] = {
17383 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17387 arg1
= (int) SWIG_AsInt(obj0
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 arg2
= (int) SWIG_AsInt(obj1
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17394 arg3
= (int) SWIG_AsInt(obj2
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17398 arg4
= (int) SWIG_AsInt(obj3
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17403 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17415 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
;
17418 int arg2
= (int) wxDateTime::Inv_Month
;
17419 int arg3
= (int) wxDateTime::Inv_Year
;
17420 int arg4
= (int) 0 ;
17421 int arg5
= (int) 0 ;
17422 int arg6
= (int) 0 ;
17423 int arg7
= (int) 0 ;
17424 wxDateTime
*result
;
17425 PyObject
* obj0
= 0 ;
17426 PyObject
* obj1
= 0 ;
17427 PyObject
* obj2
= 0 ;
17428 PyObject
* obj3
= 0 ;
17429 PyObject
* obj4
= 0 ;
17430 PyObject
* obj5
= 0 ;
17431 PyObject
* obj6
= 0 ;
17432 char *kwnames
[] = {
17433 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17437 arg1
= (int) SWIG_AsInt(obj0
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17444 arg3
= (int) SWIG_AsInt(obj2
);
17445 if (PyErr_Occurred()) SWIG_fail
;
17448 arg4
= (int) SWIG_AsInt(obj3
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17452 arg5
= (int) SWIG_AsInt(obj4
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17456 arg6
= (int) SWIG_AsInt(obj5
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 arg7
= (int) SWIG_AsInt(obj6
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17477 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17480 PyObject
* obj0
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "self", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 Py_INCREF(Py_None
); resultobj
= Py_None
;
17502 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17505 wxDateTime
*result
;
17506 PyObject
* obj0
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "self", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17517 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17518 result
= (wxDateTime
*) &_result_ref
;
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17531 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17535 wxDateTime
*result
;
17536 PyObject
* obj0
= 0 ;
17537 PyObject
* obj1
= 0 ;
17538 char *kwnames
[] = {
17539 (char *) "self",(char *) "timet", NULL
17542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17545 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17550 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17551 result
= (wxDateTime
*) &_result_ref
;
17554 wxPyEndAllowThreads(__tstate
);
17555 if (PyErr_Occurred()) SWIG_fail
;
17557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17564 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17565 PyObject
*resultobj
;
17566 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17568 wxDateTime
*result
;
17569 PyObject
* obj0
= 0 ;
17570 PyObject
* obj1
= 0 ;
17571 char *kwnames
[] = {
17572 (char *) "self",(char *) "jdn", NULL
17575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17578 arg2
= (double) SWIG_AsDouble(obj1
);
17579 if (PyErr_Occurred()) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17584 result
= (wxDateTime
*) &_result_ref
;
17587 wxPyEndAllowThreads(__tstate
);
17588 if (PyErr_Occurred()) SWIG_fail
;
17590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17597 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17598 PyObject
*resultobj
;
17599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17601 int arg3
= (int) 0 ;
17602 int arg4
= (int) 0 ;
17603 int arg5
= (int) 0 ;
17604 wxDateTime
*result
;
17605 PyObject
* obj0
= 0 ;
17606 PyObject
* obj1
= 0 ;
17607 PyObject
* obj2
= 0 ;
17608 PyObject
* obj3
= 0 ;
17609 PyObject
* obj4
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17617 arg2
= (int) SWIG_AsInt(obj1
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 arg3
= (int) SWIG_AsInt(obj2
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17624 arg4
= (int) SWIG_AsInt(obj3
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17628 arg5
= (int) SWIG_AsInt(obj4
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17634 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17635 result
= (wxDateTime
*) &_result_ref
;
17638 wxPyEndAllowThreads(__tstate
);
17639 if (PyErr_Occurred()) SWIG_fail
;
17641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17648 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
;
17650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17652 int arg3
= (int) wxDateTime::Inv_Month
;
17653 int arg4
= (int) wxDateTime::Inv_Year
;
17654 int arg5
= (int) 0 ;
17655 int arg6
= (int) 0 ;
17656 int arg7
= (int) 0 ;
17657 int arg8
= (int) 0 ;
17658 wxDateTime
*result
;
17659 PyObject
* obj0
= 0 ;
17660 PyObject
* obj1
= 0 ;
17661 PyObject
* obj2
= 0 ;
17662 PyObject
* obj3
= 0 ;
17663 PyObject
* obj4
= 0 ;
17664 PyObject
* obj5
= 0 ;
17665 PyObject
* obj6
= 0 ;
17666 PyObject
* obj7
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17674 arg2
= (int) SWIG_AsInt(obj1
);
17675 if (PyErr_Occurred()) SWIG_fail
;
17677 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17681 arg4
= (int) SWIG_AsInt(obj3
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17685 arg5
= (int) SWIG_AsInt(obj4
);
17686 if (PyErr_Occurred()) SWIG_fail
;
17689 arg6
= (int) SWIG_AsInt(obj5
);
17690 if (PyErr_Occurred()) SWIG_fail
;
17693 arg7
= (int) SWIG_AsInt(obj6
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17697 arg8
= (int) SWIG_AsInt(obj7
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17703 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17704 result
= (wxDateTime
*) &_result_ref
;
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17717 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17718 PyObject
*resultobj
;
17719 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17720 wxDateTime
*result
;
17721 PyObject
* obj0
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "self", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17733 result
= (wxDateTime
*) &_result_ref
;
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17746 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17748 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17750 wxDateTime
*result
;
17751 PyObject
* obj0
= 0 ;
17752 PyObject
* obj1
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "self",(char *) "year", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17760 arg2
= (int) SWIG_AsInt(obj1
);
17761 if (PyErr_Occurred()) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17766 result
= (wxDateTime
*) &_result_ref
;
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17779 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
;
17781 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17783 wxDateTime
*result
;
17784 PyObject
* obj0
= 0 ;
17785 PyObject
* obj1
= 0 ;
17786 char *kwnames
[] = {
17787 (char *) "self",(char *) "month", NULL
17790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17793 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17794 if (PyErr_Occurred()) SWIG_fail
;
17796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17799 result
= (wxDateTime
*) &_result_ref
;
17802 wxPyEndAllowThreads(__tstate
);
17803 if (PyErr_Occurred()) SWIG_fail
;
17805 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17812 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17816 wxDateTime
*result
;
17817 PyObject
* obj0
= 0 ;
17818 PyObject
* obj1
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self",(char *) "day", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17826 arg2
= (int) SWIG_AsInt(obj1
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17832 result
= (wxDateTime
*) &_result_ref
;
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17845 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17849 wxDateTime
*result
;
17850 PyObject
* obj0
= 0 ;
17851 PyObject
* obj1
= 0 ;
17852 char *kwnames
[] = {
17853 (char *) "self",(char *) "hour", NULL
17856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17859 arg2
= (int) SWIG_AsInt(obj1
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17865 result
= (wxDateTime
*) &_result_ref
;
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17878 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17882 wxDateTime
*result
;
17883 PyObject
* obj0
= 0 ;
17884 PyObject
* obj1
= 0 ;
17885 char *kwnames
[] = {
17886 (char *) "self",(char *) "minute", NULL
17889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17892 arg2
= (int) SWIG_AsInt(obj1
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17897 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17898 result
= (wxDateTime
*) &_result_ref
;
17901 wxPyEndAllowThreads(__tstate
);
17902 if (PyErr_Occurred()) SWIG_fail
;
17904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17911 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17912 PyObject
*resultobj
;
17913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17915 wxDateTime
*result
;
17916 PyObject
* obj0
= 0 ;
17917 PyObject
* obj1
= 0 ;
17918 char *kwnames
[] = {
17919 (char *) "self",(char *) "second", NULL
17922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17925 arg2
= (int) SWIG_AsInt(obj1
);
17926 if (PyErr_Occurred()) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17931 result
= (wxDateTime
*) &_result_ref
;
17934 wxPyEndAllowThreads(__tstate
);
17935 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17944 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17945 PyObject
*resultobj
;
17946 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17948 wxDateTime
*result
;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 char *kwnames
[] = {
17952 (char *) "self",(char *) "millisecond", NULL
17955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17958 arg2
= (int) SWIG_AsInt(obj1
);
17959 if (PyErr_Occurred()) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17964 result
= (wxDateTime
*) &_result_ref
;
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17977 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17981 int arg3
= (int) wxDateTime::Monday_First
;
17982 wxDateTime
*result
;
17983 PyObject
* obj0
= 0 ;
17984 PyObject
* obj1
= 0 ;
17985 PyObject
* obj2
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17997 if (PyErr_Occurred()) SWIG_fail
;
18000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18002 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18003 result
= (wxDateTime
*) &_result_ref
;
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18016 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
;
18018 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18020 int arg3
= (int) wxDateTime::Monday_First
;
18022 PyObject
* obj0
= 0 ;
18023 PyObject
* obj1
= 0 ;
18024 PyObject
* obj2
= 0 ;
18025 char *kwnames
[] = {
18026 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18032 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18035 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18036 if (PyErr_Occurred()) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18046 wxDateTime
* resultptr
;
18047 resultptr
= new wxDateTime((wxDateTime
&) result
);
18048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18056 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18060 wxDateTime
*result
;
18061 PyObject
* obj0
= 0 ;
18062 PyObject
* obj1
= 0 ;
18063 char *kwnames
[] = {
18064 (char *) "self",(char *) "weekday", NULL
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18070 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18071 if (PyErr_Occurred()) SWIG_fail
;
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18075 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18076 result
= (wxDateTime
*) &_result_ref
;
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18089 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18094 PyObject
* obj0
= 0 ;
18095 PyObject
* obj1
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self",(char *) "weekday", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18103 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18104 if (PyErr_Occurred()) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 wxDateTime
* resultptr
;
18114 resultptr
= new wxDateTime((wxDateTime
&) result
);
18115 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18123 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18124 PyObject
*resultobj
;
18125 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18127 wxDateTime
*result
;
18128 PyObject
* obj0
= 0 ;
18129 PyObject
* obj1
= 0 ;
18130 char *kwnames
[] = {
18131 (char *) "self",(char *) "weekday", NULL
18134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18137 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18138 if (PyErr_Occurred()) SWIG_fail
;
18140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18143 result
= (wxDateTime
*) &_result_ref
;
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18156 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18157 PyObject
*resultobj
;
18158 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18161 PyObject
* obj0
= 0 ;
18162 PyObject
* obj1
= 0 ;
18163 char *kwnames
[] = {
18164 (char *) "self",(char *) "weekday", NULL
18167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18170 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18174 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18176 wxPyEndAllowThreads(__tstate
);
18177 if (PyErr_Occurred()) SWIG_fail
;
18180 wxDateTime
* resultptr
;
18181 resultptr
= new wxDateTime((wxDateTime
&) result
);
18182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18190 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
;
18192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18194 int arg3
= (int) 1 ;
18195 int arg4
= (int) wxDateTime::Inv_Month
;
18196 int arg5
= (int) wxDateTime::Inv_Year
;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 PyObject
* obj2
= 0 ;
18201 PyObject
* obj3
= 0 ;
18202 PyObject
* obj4
= 0 ;
18203 char *kwnames
[] = {
18204 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18210 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18211 if (PyErr_Occurred()) SWIG_fail
;
18213 arg3
= (int) SWIG_AsInt(obj2
);
18214 if (PyErr_Occurred()) SWIG_fail
;
18217 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18221 arg5
= (int) SWIG_AsInt(obj4
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18240 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18244 int arg3
= (int) wxDateTime::Inv_Month
;
18245 int arg4
= (int) wxDateTime::Inv_Year
;
18247 PyObject
* obj0
= 0 ;
18248 PyObject
* obj1
= 0 ;
18249 PyObject
* obj2
= 0 ;
18250 PyObject
* obj3
= 0 ;
18251 char *kwnames
[] = {
18252 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18258 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18261 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18265 arg4
= (int) SWIG_AsInt(obj3
);
18266 if (PyErr_Occurred()) SWIG_fail
;
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18284 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18285 PyObject
*resultobj
;
18286 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18288 int arg3
= (int) wxDateTime::Inv_Month
;
18289 int arg4
= (int) wxDateTime::Inv_Year
;
18291 PyObject
* obj0
= 0 ;
18292 PyObject
* obj1
= 0 ;
18293 PyObject
* obj2
= 0 ;
18294 PyObject
* obj3
= 0 ;
18295 char *kwnames
[] = {
18296 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18302 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18306 if (PyErr_Occurred()) SWIG_fail
;
18309 arg4
= (int) SWIG_AsInt(obj3
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18320 wxDateTime
* resultptr
;
18321 resultptr
= new wxDateTime((wxDateTime
&) result
);
18322 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18330 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
;
18332 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18334 int arg3
= (int) wxDateTime::Mon
;
18335 int arg4
= (int) wxDateTime::Monday_First
;
18337 PyObject
* obj0
= 0 ;
18338 PyObject
* obj1
= 0 ;
18339 PyObject
* obj2
= 0 ;
18340 PyObject
* obj3
= 0 ;
18341 char *kwnames
[] = {
18342 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18348 arg2
= (int) SWIG_AsInt(obj1
);
18349 if (PyErr_Occurred()) SWIG_fail
;
18351 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18355 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18360 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18362 wxPyEndAllowThreads(__tstate
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18374 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18378 int arg3
= (int) wxDateTime::Mon
;
18379 int arg4
= (int) wxDateTime::Monday_First
;
18381 PyObject
* obj0
= 0 ;
18382 PyObject
* obj1
= 0 ;
18383 PyObject
* obj2
= 0 ;
18384 PyObject
* obj3
= 0 ;
18385 char *kwnames
[] = {
18386 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18392 arg2
= (int) SWIG_AsInt(obj1
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18396 if (PyErr_Occurred()) SWIG_fail
;
18399 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18400 if (PyErr_Occurred()) SWIG_fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18410 wxDateTime
* resultptr
;
18411 resultptr
= new wxDateTime((wxDateTime
&) result
);
18412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18420 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18423 int arg2
= (int) wxDateTime::Inv_Month
;
18424 int arg3
= (int) wxDateTime::Inv_Year
;
18425 wxDateTime
*result
;
18426 PyObject
* obj0
= 0 ;
18427 PyObject
* obj1
= 0 ;
18428 PyObject
* obj2
= 0 ;
18429 char *kwnames
[] = {
18430 (char *) "self",(char *) "month",(char *) "year", NULL
18433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18438 if (PyErr_Occurred()) SWIG_fail
;
18441 arg3
= (int) SWIG_AsInt(obj2
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18448 result
= (wxDateTime
*) &_result_ref
;
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18461 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18464 int arg2
= (int) wxDateTime::Inv_Month
;
18465 int arg3
= (int) wxDateTime::Inv_Year
;
18467 PyObject
* obj0
= 0 ;
18468 PyObject
* obj1
= 0 ;
18469 PyObject
* obj2
= 0 ;
18470 char *kwnames
[] = {
18471 (char *) "self",(char *) "month",(char *) "year", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18478 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18482 arg3
= (int) SWIG_AsInt(obj2
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18493 wxDateTime
* resultptr
;
18494 resultptr
= new wxDateTime((wxDateTime
&) result
);
18495 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18503 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
;
18505 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18507 wxDateTime
*result
;
18508 PyObject
* obj0
= 0 ;
18509 PyObject
* obj1
= 0 ;
18510 char *kwnames
[] = {
18511 (char *) "self",(char *) "yday", NULL
18514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18517 arg2
= (int) SWIG_AsInt(obj1
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18522 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18523 result
= (wxDateTime
*) &_result_ref
;
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18536 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18541 PyObject
* obj0
= 0 ;
18542 PyObject
* obj1
= 0 ;
18543 char *kwnames
[] = {
18544 (char *) "self",(char *) "yday", NULL
18547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18550 arg2
= (int) SWIG_AsInt(obj1
);
18551 if (PyErr_Occurred()) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (arg1
)->GetYearDay(arg2
);
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18560 wxDateTime
* resultptr
;
18561 resultptr
= new wxDateTime((wxDateTime
&) result
);
18562 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18570 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
;
18572 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18574 PyObject
* obj0
= 0 ;
18575 char *kwnames
[] = {
18576 (char *) "self", NULL
18579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18584 result
= (double)(arg1
)->GetJulianDayNumber();
18586 wxPyEndAllowThreads(__tstate
);
18587 if (PyErr_Occurred()) SWIG_fail
;
18589 resultobj
= SWIG_FromDouble((double)result
);
18596 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18597 PyObject
*resultobj
;
18598 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18600 PyObject
* obj0
= 0 ;
18601 char *kwnames
[] = {
18602 (char *) "self", NULL
18605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (double)(arg1
)->GetJDN();
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18615 resultobj
= SWIG_FromDouble((double)result
);
18622 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
;
18624 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18641 resultobj
= SWIG_FromDouble((double)result
);
18648 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
;
18650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18652 PyObject
* obj0
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (double)(arg1
)->GetMJD();
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= SWIG_FromDouble((double)result
);
18674 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18678 PyObject
* obj0
= 0 ;
18679 char *kwnames
[] = {
18680 (char *) "self", NULL
18683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18688 result
= (double)(arg1
)->GetRataDie();
18690 wxPyEndAllowThreads(__tstate
);
18691 if (PyErr_Occurred()) SWIG_fail
;
18693 resultobj
= SWIG_FromDouble((double)result
);
18700 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18701 PyObject
*resultobj
;
18702 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18703 wxDateTime::TimeZone
*arg2
= 0 ;
18704 bool arg3
= (bool) False
;
18706 bool temp2
= False
;
18707 PyObject
* obj0
= 0 ;
18708 PyObject
* obj1
= 0 ;
18709 PyObject
* obj2
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18718 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18722 arg3
= (bool) SWIG_AsBool(obj2
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18727 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18733 wxDateTime
* resultptr
;
18734 resultptr
= new wxDateTime((wxDateTime
&) result
);
18735 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18738 if (temp2
) delete arg2
;
18743 if (temp2
) delete arg2
;
18749 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18750 PyObject
*resultobj
;
18751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18752 wxDateTime::TimeZone
*arg2
= 0 ;
18753 bool arg3
= (bool) False
;
18754 wxDateTime
*result
;
18755 bool temp2
= False
;
18756 PyObject
* obj0
= 0 ;
18757 PyObject
* obj1
= 0 ;
18758 PyObject
* obj2
= 0 ;
18759 char *kwnames
[] = {
18760 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18767 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18771 arg3
= (bool) SWIG_AsBool(obj2
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18778 result
= (wxDateTime
*) &_result_ref
;
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18786 if (temp2
) delete arg2
;
18791 if (temp2
) delete arg2
;
18797 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18800 bool arg2
= (bool) False
;
18802 PyObject
* obj0
= 0 ;
18803 PyObject
* obj1
= 0 ;
18804 char *kwnames
[] = {
18805 (char *) "self",(char *) "noDST", NULL
18808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18812 arg2
= (bool) SWIG_AsBool(obj1
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (arg1
)->ToGMT(arg2
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18823 wxDateTime
* resultptr
;
18824 resultptr
= new wxDateTime((wxDateTime
&) result
);
18825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18833 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18834 PyObject
*resultobj
;
18835 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18836 bool arg2
= (bool) False
;
18837 wxDateTime
*result
;
18838 PyObject
* obj0
= 0 ;
18839 PyObject
* obj1
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self",(char *) "noDST", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18848 arg2
= (bool) SWIG_AsBool(obj1
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18855 result
= (wxDateTime
*) &_result_ref
;
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18868 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18871 int arg2
= (int) wxDateTime::Country_Default
;
18873 PyObject
* obj0
= 0 ;
18874 PyObject
* obj1
= 0 ;
18875 char *kwnames
[] = {
18876 (char *) "self",(char *) "country", NULL
18879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18883 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18888 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18890 wxPyEndAllowThreads(__tstate
);
18891 if (PyErr_Occurred()) SWIG_fail
;
18893 resultobj
= SWIG_FromInt((int)result
);
18900 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18901 PyObject
*resultobj
;
18902 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18904 PyObject
* obj0
= 0 ;
18905 char *kwnames
[] = {
18906 (char *) "self", NULL
18909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18914 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18916 wxPyEndAllowThreads(__tstate
);
18917 if (PyErr_Occurred()) SWIG_fail
;
18920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18928 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
;
18930 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18932 PyObject
* obj0
= 0 ;
18933 char *kwnames
[] = {
18934 (char *) "self", NULL
18937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18942 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18944 wxPyEndAllowThreads(__tstate
);
18945 if (PyErr_Occurred()) SWIG_fail
;
18947 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18954 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18957 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18958 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18960 bool temp2
= False
;
18961 PyObject
* obj0
= 0 ;
18962 PyObject
* obj1
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "self",(char *) "tz", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18972 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18978 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18980 wxPyEndAllowThreads(__tstate
);
18981 if (PyErr_Occurred()) SWIG_fail
;
18983 resultobj
= SWIG_FromInt((int)result
);
18985 if (temp2
) delete arg2
;
18990 if (temp2
) delete arg2
;
18996 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18998 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18999 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19000 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19002 bool temp2
= False
;
19003 PyObject
* obj0
= 0 ;
19004 PyObject
* obj1
= 0 ;
19005 char *kwnames
[] = {
19006 (char *) "self",(char *) "tz", NULL
19009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19014 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19020 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19022 wxPyEndAllowThreads(__tstate
);
19023 if (PyErr_Occurred()) SWIG_fail
;
19025 resultobj
= SWIG_FromInt((int)result
);
19027 if (temp2
) delete arg2
;
19032 if (temp2
) delete arg2
;
19038 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19039 PyObject
*resultobj
;
19040 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19041 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19042 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19044 bool temp2
= False
;
19045 PyObject
* obj0
= 0 ;
19046 PyObject
* obj1
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "self",(char *) "tz", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19056 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 resultobj
= SWIG_FromInt((int)result
);
19069 if (temp2
) delete arg2
;
19074 if (temp2
) delete arg2
;
19080 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19083 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19084 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19086 bool temp2
= False
;
19087 PyObject
* obj0
= 0 ;
19088 PyObject
* obj1
= 0 ;
19089 char *kwnames
[] = {
19090 (char *) "self",(char *) "tz", NULL
19093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19098 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= SWIG_FromInt((int)result
);
19111 if (temp2
) delete arg2
;
19116 if (temp2
) delete arg2
;
19122 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19123 PyObject
*resultobj
;
19124 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19125 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19126 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19128 bool temp2
= False
;
19129 PyObject
* obj0
= 0 ;
19130 PyObject
* obj1
= 0 ;
19131 char *kwnames
[] = {
19132 (char *) "self",(char *) "tz", NULL
19135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19140 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19146 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19148 wxPyEndAllowThreads(__tstate
);
19149 if (PyErr_Occurred()) SWIG_fail
;
19151 resultobj
= SWIG_FromInt((int)result
);
19153 if (temp2
) delete arg2
;
19158 if (temp2
) delete arg2
;
19164 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19167 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19168 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19170 bool temp2
= False
;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self",(char *) "tz", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19182 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 resultobj
= SWIG_FromInt((int)result
);
19195 if (temp2
) delete arg2
;
19200 if (temp2
) delete arg2
;
19206 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19208 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19209 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19210 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19212 bool temp2
= False
;
19213 PyObject
* obj0
= 0 ;
19214 PyObject
* obj1
= 0 ;
19215 char *kwnames
[] = {
19216 (char *) "self",(char *) "tz", NULL
19219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19224 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19230 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19232 wxPyEndAllowThreads(__tstate
);
19233 if (PyErr_Occurred()) SWIG_fail
;
19235 resultobj
= SWIG_FromInt((int)result
);
19237 if (temp2
) delete arg2
;
19242 if (temp2
) delete arg2
;
19248 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19249 PyObject
*resultobj
;
19250 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19251 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19252 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19254 bool temp2
= False
;
19255 PyObject
* obj0
= 0 ;
19256 PyObject
* obj1
= 0 ;
19257 char *kwnames
[] = {
19258 (char *) "self",(char *) "tz", NULL
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19266 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 resultobj
= SWIG_FromInt((int)result
);
19279 if (temp2
) delete arg2
;
19284 if (temp2
) delete arg2
;
19290 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19293 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19294 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19296 bool temp2
= False
;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 char *kwnames
[] = {
19300 (char *) "self",(char *) "tz", NULL
19303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19308 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19314 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19316 wxPyEndAllowThreads(__tstate
);
19317 if (PyErr_Occurred()) SWIG_fail
;
19319 resultobj
= SWIG_FromInt((int)result
);
19321 if (temp2
) delete arg2
;
19326 if (temp2
) delete arg2
;
19332 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19333 PyObject
*resultobj
;
19334 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19335 int arg2
= (int) wxDateTime::Monday_First
;
19336 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19337 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19339 bool temp3
= False
;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 PyObject
* obj2
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "self",(char *) "flags",(char *) "tz", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19351 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19356 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19362 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19367 resultobj
= SWIG_FromInt((int)result
);
19369 if (temp3
) delete arg3
;
19374 if (temp3
) delete arg3
;
19380 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19383 int arg2
= (int) wxDateTime::Monday_First
;
19384 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19385 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19387 bool temp3
= False
;
19388 PyObject
* obj0
= 0 ;
19389 PyObject
* obj1
= 0 ;
19390 PyObject
* obj2
= 0 ;
19391 char *kwnames
[] = {
19392 (char *) "self",(char *) "flags",(char *) "tz", NULL
19395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19399 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19400 if (PyErr_Occurred()) SWIG_fail
;
19404 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 resultobj
= SWIG_FromInt((int)result
);
19417 if (temp3
) delete arg3
;
19422 if (temp3
) delete arg3
;
19428 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
;
19430 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19431 int arg2
= (int) wxDateTime::Country_Default
;
19433 PyObject
* obj0
= 0 ;
19434 PyObject
* obj1
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self",(char *) "country", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19443 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19448 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19462 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19463 PyObject
*resultobj
;
19464 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19465 wxDateTime
*arg2
= 0 ;
19467 PyObject
* obj0
= 0 ;
19468 PyObject
* obj1
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "self",(char *) "datetime", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19479 if (arg2
== NULL
) {
19480 PyErr_SetString(PyExc_TypeError
,"null reference");
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19499 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19502 wxDateTime
*arg2
= 0 ;
19504 PyObject
* obj0
= 0 ;
19505 PyObject
* obj1
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self",(char *) "datetime", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19516 if (arg2
== NULL
) {
19517 PyErr_SetString(PyExc_TypeError
,"null reference");
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19536 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19537 PyObject
*resultobj
;
19538 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19539 wxDateTime
*arg2
= 0 ;
19541 PyObject
* obj0
= 0 ;
19542 PyObject
* obj1
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self",(char *) "datetime", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19553 if (arg2
== NULL
) {
19554 PyErr_SetString(PyExc_TypeError
,"null reference");
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19573 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19576 wxDateTime
*arg2
= 0 ;
19577 wxDateTime
*arg3
= 0 ;
19579 PyObject
* obj0
= 0 ;
19580 PyObject
* obj1
= 0 ;
19581 PyObject
* obj2
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self",(char *) "t1",(char *) "t2", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19590 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19592 if (arg2
== NULL
) {
19593 PyErr_SetString(PyExc_TypeError
,"null reference");
19596 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19599 if (arg3
== NULL
) {
19600 PyErr_SetString(PyExc_TypeError
,"null reference");
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19619 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19622 wxDateTime
*arg2
= 0 ;
19623 wxDateTime
*arg3
= 0 ;
19625 PyObject
* obj0
= 0 ;
19626 PyObject
* obj1
= 0 ;
19627 PyObject
* obj2
= 0 ;
19628 char *kwnames
[] = {
19629 (char *) "self",(char *) "t1",(char *) "t2", NULL
19632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19638 if (arg2
== NULL
) {
19639 PyErr_SetString(PyExc_TypeError
,"null reference");
19642 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19645 if (arg3
== NULL
) {
19646 PyErr_SetString(PyExc_TypeError
,"null reference");
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19653 wxPyEndAllowThreads(__tstate
);
19654 if (PyErr_Occurred()) SWIG_fail
;
19657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19665 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19666 PyObject
*resultobj
;
19667 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19668 wxDateTime
*arg2
= 0 ;
19670 PyObject
* obj0
= 0 ;
19671 PyObject
* obj1
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self",(char *) "dt", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19680 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19682 if (arg2
== NULL
) {
19683 PyErr_SetString(PyExc_TypeError
,"null reference");
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19702 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19705 wxDateTime
*arg2
= 0 ;
19707 PyObject
* obj0
= 0 ;
19708 PyObject
* obj1
= 0 ;
19709 char *kwnames
[] = {
19710 (char *) "self",(char *) "dt", NULL
19713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19719 if (arg2
== NULL
) {
19720 PyErr_SetString(PyExc_TypeError
,"null reference");
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19739 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19740 PyObject
*resultobj
;
19741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19742 wxDateTime
*arg2
= 0 ;
19743 wxTimeSpan
*arg3
= 0 ;
19745 PyObject
* obj0
= 0 ;
19746 PyObject
* obj1
= 0 ;
19747 PyObject
* obj2
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self",(char *) "dt",(char *) "ts", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19756 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19758 if (arg2
== NULL
) {
19759 PyErr_SetString(PyExc_TypeError
,"null reference");
19762 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19765 if (arg3
== NULL
) {
19766 PyErr_SetString(PyExc_TypeError
,"null reference");
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19785 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19788 wxTimeSpan
*arg2
= 0 ;
19789 wxDateTime
*result
;
19790 PyObject
* obj0
= 0 ;
19791 PyObject
* obj1
= 0 ;
19792 char *kwnames
[] = {
19793 (char *) "self",(char *) "diff", NULL
19796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19802 if (arg2
== NULL
) {
19803 PyErr_SetString(PyExc_TypeError
,"null reference");
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19810 result
= (wxDateTime
*) &_result_ref
;
19813 wxPyEndAllowThreads(__tstate
);
19814 if (PyErr_Occurred()) SWIG_fail
;
19816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19823 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19824 PyObject
*resultobj
;
19825 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19826 wxDateSpan
*arg2
= 0 ;
19827 wxDateTime
*result
;
19828 PyObject
* obj0
= 0 ;
19829 PyObject
* obj1
= 0 ;
19830 char *kwnames
[] = {
19831 (char *) "self",(char *) "diff", NULL
19834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19837 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19838 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19840 if (arg2
== NULL
) {
19841 PyErr_SetString(PyExc_TypeError
,"null reference");
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19847 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19848 result
= (wxDateTime
*) &_result_ref
;
19851 wxPyEndAllowThreads(__tstate
);
19852 if (PyErr_Occurred()) SWIG_fail
;
19854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19861 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19862 PyObject
*resultobj
;
19863 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19864 wxTimeSpan
*arg2
= 0 ;
19865 wxDateTime
*result
;
19866 PyObject
* obj0
= 0 ;
19867 PyObject
* obj1
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self",(char *) "diff", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19878 if (arg2
== NULL
) {
19879 PyErr_SetString(PyExc_TypeError
,"null reference");
19883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19885 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19886 result
= (wxDateTime
*) &_result_ref
;
19889 wxPyEndAllowThreads(__tstate
);
19890 if (PyErr_Occurred()) SWIG_fail
;
19892 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19899 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19900 PyObject
*resultobj
;
19901 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19902 wxDateSpan
*arg2
= 0 ;
19903 wxDateTime
*result
;
19904 PyObject
* obj0
= 0 ;
19905 PyObject
* obj1
= 0 ;
19906 char *kwnames
[] = {
19907 (char *) "self",(char *) "diff", NULL
19910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19916 if (arg2
== NULL
) {
19917 PyErr_SetString(PyExc_TypeError
,"null reference");
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19924 result
= (wxDateTime
*) &_result_ref
;
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19937 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19940 wxDateTime
*arg2
= 0 ;
19942 PyObject
* obj0
= 0 ;
19943 PyObject
* obj1
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self",(char *) "dt", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19954 if (arg2
== NULL
) {
19955 PyErr_SetString(PyExc_TypeError
,"null reference");
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19966 wxTimeSpan
* resultptr
;
19967 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19976 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19977 PyObject
*resultobj
;
19978 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19979 wxTimeSpan
*arg2
= 0 ;
19980 wxDateTime
*result
;
19981 PyObject
* obj0
= 0 ;
19982 PyObject
* obj1
= 0 ;
19984 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19987 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19988 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19990 if (arg2
== NULL
) {
19991 PyErr_SetString(PyExc_TypeError
,"null reference");
19995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19998 result
= (wxDateTime
*) &_result_ref
;
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20011 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20012 PyObject
*resultobj
;
20013 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20014 wxDateSpan
*arg2
= 0 ;
20015 wxDateTime
*result
;
20016 PyObject
* obj0
= 0 ;
20017 PyObject
* obj1
= 0 ;
20019 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20025 if (arg2
== NULL
) {
20026 PyErr_SetString(PyExc_TypeError
,"null reference");
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20032 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20033 result
= (wxDateTime
*) &_result_ref
;
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20046 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20051 argc
= PyObject_Length(args
);
20052 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20053 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20059 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20069 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20077 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20085 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20095 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20103 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20108 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20113 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20114 PyObject
*resultobj
;
20115 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20116 wxTimeSpan
*arg2
= 0 ;
20117 wxDateTime
*result
;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20121 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20127 if (arg2
== NULL
) {
20128 PyErr_SetString(PyExc_TypeError
,"null reference");
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20134 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20135 result
= (wxDateTime
*) &_result_ref
;
20138 wxPyEndAllowThreads(__tstate
);
20139 if (PyErr_Occurred()) SWIG_fail
;
20141 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20148 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20149 PyObject
*resultobj
;
20150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20151 wxDateSpan
*arg2
= 0 ;
20152 wxDateTime
*result
;
20153 PyObject
* obj0
= 0 ;
20154 PyObject
* obj1
= 0 ;
20156 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20160 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20162 if (arg2
== NULL
) {
20163 PyErr_SetString(PyExc_TypeError
,"null reference");
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20169 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20170 result
= (wxDateTime
*) &_result_ref
;
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20183 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20188 argc
= PyObject_Length(args
);
20189 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20190 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20196 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20206 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20214 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20222 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20232 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20240 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20245 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20250 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20251 PyObject
*resultobj
;
20252 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20253 wxTimeSpan
*arg2
= 0 ;
20255 PyObject
* obj0
= 0 ;
20256 PyObject
* obj1
= 0 ;
20258 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20264 if (arg2
== NULL
) {
20265 PyErr_SetString(PyExc_TypeError
,"null reference");
20269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20270 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20272 wxPyEndAllowThreads(__tstate
);
20273 if (PyErr_Occurred()) SWIG_fail
;
20276 wxDateTime
* resultptr
;
20277 resultptr
= new wxDateTime((wxDateTime
&) result
);
20278 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20286 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20287 PyObject
*resultobj
;
20288 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20289 wxDateSpan
*arg2
= 0 ;
20291 PyObject
* obj0
= 0 ;
20292 PyObject
* obj1
= 0 ;
20294 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20300 if (arg2
== NULL
) {
20301 PyErr_SetString(PyExc_TypeError
,"null reference");
20305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20306 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20308 wxPyEndAllowThreads(__tstate
);
20309 if (PyErr_Occurred()) SWIG_fail
;
20312 wxDateTime
* resultptr
;
20313 resultptr
= new wxDateTime((wxDateTime
&) result
);
20314 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20322 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20327 argc
= PyObject_Length(args
);
20328 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20329 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20335 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20345 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20353 return _wrap_DateTime___add____SWIG_0(self
,args
);
20361 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20371 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20379 return _wrap_DateTime___add____SWIG_1(self
,args
);
20384 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20389 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20390 PyObject
*resultobj
;
20391 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20392 wxDateTime
*arg2
= 0 ;
20394 PyObject
* obj0
= 0 ;
20395 PyObject
* obj1
= 0 ;
20397 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20403 if (arg2
== NULL
) {
20404 PyErr_SetString(PyExc_TypeError
,"null reference");
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 wxTimeSpan
* resultptr
;
20416 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20425 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20426 PyObject
*resultobj
;
20427 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20428 wxTimeSpan
*arg2
= 0 ;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20433 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20439 if (arg2
== NULL
) {
20440 PyErr_SetString(PyExc_TypeError
,"null reference");
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20451 wxDateTime
* resultptr
;
20452 resultptr
= new wxDateTime((wxDateTime
&) result
);
20453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20461 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20462 PyObject
*resultobj
;
20463 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20464 wxDateSpan
*arg2
= 0 ;
20466 PyObject
* obj0
= 0 ;
20467 PyObject
* obj1
= 0 ;
20469 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20473 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20475 if (arg2
== NULL
) {
20476 PyErr_SetString(PyExc_TypeError
,"null reference");
20480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20481 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20483 wxPyEndAllowThreads(__tstate
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20487 wxDateTime
* resultptr
;
20488 resultptr
= new wxDateTime((wxDateTime
&) result
);
20489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20497 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20502 argc
= PyObject_Length(args
);
20503 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20504 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20510 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20520 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20528 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20536 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20546 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20554 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20562 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20572 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20580 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20585 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20590 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20591 PyObject
*resultobj
;
20592 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20593 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20595 PyObject
* obj0
= 0 ;
20596 PyObject
* obj1
= 0 ;
20598 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20605 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20607 wxPyEndAllowThreads(__tstate
);
20608 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20619 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20620 PyObject
*resultobj
;
20621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20622 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 PyObject
* obj1
= 0 ;
20627 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20630 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20648 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20649 PyObject
*resultobj
;
20650 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20651 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20653 PyObject
* obj0
= 0 ;
20654 PyObject
* obj1
= 0 ;
20656 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20677 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20678 PyObject
*resultobj
;
20679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20680 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20682 PyObject
* obj0
= 0 ;
20683 PyObject
* obj1
= 0 ;
20685 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20692 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20694 wxPyEndAllowThreads(__tstate
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20706 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20707 PyObject
*resultobj
;
20708 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20709 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20711 PyObject
* obj0
= 0 ;
20712 PyObject
* obj1
= 0 ;
20714 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20717 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20735 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20736 PyObject
*resultobj
;
20737 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20738 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20740 PyObject
* obj0
= 0 ;
20741 PyObject
* obj1
= 0 ;
20743 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20750 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20752 wxPyEndAllowThreads(__tstate
);
20753 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20764 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
;
20766 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20767 wxString
*arg2
= 0 ;
20769 bool temp2
= False
;
20770 PyObject
* obj0
= 0 ;
20771 PyObject
* obj1
= 0 ;
20772 char *kwnames
[] = {
20773 (char *) "self",(char *) "date", NULL
20776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20780 arg2
= wxString_in_helper(obj1
);
20781 if (arg2
== NULL
) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_FromInt((int)result
);
20806 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20807 PyObject
*resultobj
;
20808 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20809 wxString
*arg2
= 0 ;
20810 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20811 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20812 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20813 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20815 bool temp2
= False
;
20816 bool temp3
= False
;
20817 PyObject
* obj0
= 0 ;
20818 PyObject
* obj1
= 0 ;
20819 PyObject
* obj2
= 0 ;
20820 PyObject
* obj3
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20829 arg2
= wxString_in_helper(obj1
);
20830 if (arg2
== NULL
) SWIG_fail
;
20835 arg3
= wxString_in_helper(obj2
);
20836 if (arg3
== NULL
) SWIG_fail
;
20841 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20842 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20844 if (arg4
== NULL
) {
20845 PyErr_SetString(PyExc_TypeError
,"null reference");
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 resultobj
= SWIG_FromInt((int)result
);
20879 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
;
20881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20882 wxString
*arg2
= 0 ;
20884 bool temp2
= False
;
20885 PyObject
* obj0
= 0 ;
20886 PyObject
* obj1
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self",(char *) "datetime", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20895 arg2
= wxString_in_helper(obj1
);
20896 if (arg2
== NULL
) SWIG_fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= SWIG_FromInt((int)result
);
20921 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
;
20923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20924 wxString
*arg2
= 0 ;
20926 bool temp2
= False
;
20927 PyObject
* obj0
= 0 ;
20928 PyObject
* obj1
= 0 ;
20929 char *kwnames
[] = {
20930 (char *) "self",(char *) "date", NULL
20933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20937 arg2
= wxString_in_helper(obj1
);
20938 if (arg2
== NULL
) SWIG_fail
;
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_FromInt((int)result
);
20963 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
;
20965 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20966 wxString
*arg2
= 0 ;
20968 bool temp2
= False
;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 char *kwnames
[] = {
20972 (char *) "self",(char *) "time", NULL
20975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20979 arg2
= wxString_in_helper(obj1
);
20980 if (arg2
== NULL
) SWIG_fail
;
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_FromInt((int)result
);
21005 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21006 PyObject
*resultobj
;
21007 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21008 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21009 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21010 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21011 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21013 bool temp2
= False
;
21014 bool temp3
= False
;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 PyObject
* obj2
= 0 ;
21018 char *kwnames
[] = {
21019 (char *) "self",(char *) "format",(char *) "tz", NULL
21022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21027 arg2
= wxString_in_helper(obj1
);
21028 if (arg2
== NULL
) SWIG_fail
;
21034 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21057 if (temp3
) delete arg3
;
21066 if (temp3
) delete arg3
;
21072 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21073 PyObject
*resultobj
;
21074 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21076 PyObject
* obj0
= 0 ;
21077 char *kwnames
[] = {
21078 (char *) "self", NULL
21081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21086 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21088 wxPyEndAllowThreads(__tstate
);
21089 if (PyErr_Occurred()) SWIG_fail
;
21093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21104 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21106 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21108 PyObject
* obj0
= 0 ;
21109 char *kwnames
[] = {
21110 (char *) "self", NULL
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21136 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21140 PyObject
* obj0
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "self", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21168 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21169 PyObject
*resultobj
;
21170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21172 PyObject
* obj0
= 0 ;
21173 char *kwnames
[] = {
21174 (char *) "self", NULL
21177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21189 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21191 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21200 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21203 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21205 return Py_BuildValue((char *)"");
21207 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21208 PyObject
*resultobj
;
21211 PyObject
* obj0
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "sec", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21217 arg1
= (long) SWIG_AsLong(obj0
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= wxTimeSpan::Seconds(arg1
);
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21227 wxTimeSpan
* resultptr
;
21228 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21237 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21238 PyObject
*resultobj
;
21240 char *kwnames
[] = {
21244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 result
= wxTimeSpan::Second();
21249 wxPyEndAllowThreads(__tstate
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21253 wxTimeSpan
* resultptr
;
21254 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21263 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21264 PyObject
*resultobj
;
21267 PyObject
* obj0
= 0 ;
21268 char *kwnames
[] = {
21269 (char *) "min", NULL
21272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21273 arg1
= (long) SWIG_AsLong(obj0
);
21274 if (PyErr_Occurred()) SWIG_fail
;
21276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21277 result
= wxTimeSpan::Minutes(arg1
);
21279 wxPyEndAllowThreads(__tstate
);
21280 if (PyErr_Occurred()) SWIG_fail
;
21283 wxTimeSpan
* resultptr
;
21284 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21285 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21293 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21296 char *kwnames
[] = {
21300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 result
= wxTimeSpan::Minute();
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21309 wxTimeSpan
* resultptr
;
21310 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21311 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21319 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21320 PyObject
*resultobj
;
21323 PyObject
* obj0
= 0 ;
21324 char *kwnames
[] = {
21325 (char *) "hours", NULL
21328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21329 arg1
= (long) SWIG_AsLong(obj0
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 result
= wxTimeSpan::Hours(arg1
);
21335 wxPyEndAllowThreads(__tstate
);
21336 if (PyErr_Occurred()) SWIG_fail
;
21339 wxTimeSpan
* resultptr
;
21340 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21341 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21349 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21350 PyObject
*resultobj
;
21352 char *kwnames
[] = {
21356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 result
= wxTimeSpan::Hour();
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21365 wxTimeSpan
* resultptr
;
21366 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21375 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
;
21379 PyObject
* obj0
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "days", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21385 arg1
= (long) SWIG_AsLong(obj0
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= wxTimeSpan::Days(arg1
);
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21395 wxTimeSpan
* resultptr
;
21396 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21397 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21405 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21408 char *kwnames
[] = {
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21415 result
= wxTimeSpan::Day();
21417 wxPyEndAllowThreads(__tstate
);
21418 if (PyErr_Occurred()) SWIG_fail
;
21421 wxTimeSpan
* resultptr
;
21422 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21431 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
;
21435 PyObject
* obj0
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "days", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21441 arg1
= (long) SWIG_AsLong(obj0
);
21442 if (PyErr_Occurred()) SWIG_fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 result
= wxTimeSpan::Weeks(arg1
);
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21451 wxTimeSpan
* resultptr
;
21452 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21461 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21462 PyObject
*resultobj
;
21464 char *kwnames
[] = {
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 result
= wxTimeSpan::Week();
21473 wxPyEndAllowThreads(__tstate
);
21474 if (PyErr_Occurred()) SWIG_fail
;
21477 wxTimeSpan
* resultptr
;
21478 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21487 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21488 PyObject
*resultobj
;
21489 long arg1
= (long) 0 ;
21490 long arg2
= (long) 0 ;
21491 long arg3
= (long) 0 ;
21492 long arg4
= (long) 0 ;
21493 wxTimeSpan
*result
;
21494 PyObject
* obj0
= 0 ;
21495 PyObject
* obj1
= 0 ;
21496 PyObject
* obj2
= 0 ;
21497 PyObject
* obj3
= 0 ;
21498 char *kwnames
[] = {
21499 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21504 arg1
= (long) SWIG_AsLong(obj0
);
21505 if (PyErr_Occurred()) SWIG_fail
;
21508 arg2
= (long) SWIG_AsLong(obj1
);
21509 if (PyErr_Occurred()) SWIG_fail
;
21512 arg3
= (long) SWIG_AsLong(obj2
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21516 arg4
= (long) SWIG_AsLong(obj3
);
21517 if (PyErr_Occurred()) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21533 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21536 PyObject
* obj0
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "self", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 Py_INCREF(Py_None
); resultobj
= Py_None
;
21558 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
;
21560 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21561 wxTimeSpan
*arg2
= 0 ;
21562 wxTimeSpan
*result
;
21563 PyObject
* obj0
= 0 ;
21564 PyObject
* obj1
= 0 ;
21565 char *kwnames
[] = {
21566 (char *) "self",(char *) "diff", NULL
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21575 if (arg2
== NULL
) {
21576 PyErr_SetString(PyExc_TypeError
,"null reference");
21580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21582 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21583 result
= (wxTimeSpan
*) &_result_ref
;
21586 wxPyEndAllowThreads(__tstate
);
21587 if (PyErr_Occurred()) SWIG_fail
;
21589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21596 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21597 PyObject
*resultobj
;
21598 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21599 wxTimeSpan
*arg2
= 0 ;
21600 wxTimeSpan
*result
;
21601 PyObject
* obj0
= 0 ;
21602 PyObject
* obj1
= 0 ;
21603 char *kwnames
[] = {
21604 (char *) "self",(char *) "diff", NULL
21607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21613 if (arg2
== NULL
) {
21614 PyErr_SetString(PyExc_TypeError
,"null reference");
21618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21620 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21621 result
= (wxTimeSpan
*) &_result_ref
;
21624 wxPyEndAllowThreads(__tstate
);
21625 if (PyErr_Occurred()) SWIG_fail
;
21627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21634 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21635 PyObject
*resultobj
;
21636 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21638 wxTimeSpan
*result
;
21639 PyObject
* obj0
= 0 ;
21640 PyObject
* obj1
= 0 ;
21641 char *kwnames
[] = {
21642 (char *) "self",(char *) "n", NULL
21645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21648 arg2
= (int) SWIG_AsInt(obj1
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21653 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21654 result
= (wxTimeSpan
*) &_result_ref
;
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21667 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
;
21669 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21670 wxTimeSpan
*result
;
21671 PyObject
* obj0
= 0 ;
21672 char *kwnames
[] = {
21673 (char *) "self", NULL
21676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21682 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21683 result
= (wxTimeSpan
*) &_result_ref
;
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21696 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21700 PyObject
* obj0
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21716 wxTimeSpan
* resultptr
;
21717 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21718 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21726 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21729 wxTimeSpan
*arg2
= 0 ;
21730 wxTimeSpan
*result
;
21731 PyObject
* obj0
= 0 ;
21732 PyObject
* obj1
= 0 ;
21733 char *kwnames
[] = {
21734 (char *) "self",(char *) "diff", NULL
21737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21740 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21741 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21743 if (arg2
== NULL
) {
21744 PyErr_SetString(PyExc_TypeError
,"null reference");
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21750 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21751 result
= (wxTimeSpan
*) &_result_ref
;
21754 wxPyEndAllowThreads(__tstate
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21764 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21765 PyObject
*resultobj
;
21766 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21767 wxTimeSpan
*arg2
= 0 ;
21768 wxTimeSpan
*result
;
21769 PyObject
* obj0
= 0 ;
21770 PyObject
* obj1
= 0 ;
21771 char *kwnames
[] = {
21772 (char *) "self",(char *) "diff", NULL
21775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21779 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21781 if (arg2
== NULL
) {
21782 PyErr_SetString(PyExc_TypeError
,"null reference");
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21788 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21789 result
= (wxTimeSpan
*) &_result_ref
;
21792 wxPyEndAllowThreads(__tstate
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21802 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21803 PyObject
*resultobj
;
21804 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21806 wxTimeSpan
*result
;
21807 PyObject
* obj0
= 0 ;
21808 PyObject
* obj1
= 0 ;
21809 char *kwnames
[] = {
21810 (char *) "self",(char *) "n", NULL
21813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21816 arg2
= (int) SWIG_AsInt(obj1
);
21817 if (PyErr_Occurred()) SWIG_fail
;
21819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21822 result
= (wxTimeSpan
*) &_result_ref
;
21825 wxPyEndAllowThreads(__tstate
);
21826 if (PyErr_Occurred()) SWIG_fail
;
21828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21835 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
;
21837 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21838 wxTimeSpan
*result
;
21839 PyObject
* obj0
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "self", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21850 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21851 result
= (wxTimeSpan
*) &_result_ref
;
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21864 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21867 wxTimeSpan
*arg2
= 0 ;
21869 PyObject
* obj0
= 0 ;
21870 PyObject
* obj1
= 0 ;
21871 char *kwnames
[] = {
21872 (char *) "self",(char *) "other", NULL
21875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21881 if (arg2
== NULL
) {
21882 PyErr_SetString(PyExc_TypeError
,"null reference");
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21893 wxTimeSpan
* resultptr
;
21894 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21903 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21906 wxTimeSpan
*arg2
= 0 ;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 char *kwnames
[] = {
21911 (char *) "self",(char *) "other", NULL
21914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21920 if (arg2
== NULL
) {
21921 PyErr_SetString(PyExc_TypeError
,"null reference");
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21932 wxTimeSpan
* resultptr
;
21933 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21942 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 PyObject
* obj1
= 0 ;
21949 char *kwnames
[] = {
21950 (char *) "self",(char *) "n", NULL
21953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21956 arg2
= (int) SWIG_AsInt(obj1
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 result
= wxTimeSpan___mul__(arg1
,arg2
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21966 wxTimeSpan
* resultptr
;
21967 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21976 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21977 PyObject
*resultobj
;
21978 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21981 PyObject
* obj0
= 0 ;
21982 PyObject
* obj1
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self",(char *) "n", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21990 arg2
= (int) SWIG_AsInt(obj1
);
21991 if (PyErr_Occurred()) SWIG_fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
22000 wxTimeSpan
* resultptr
;
22001 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22010 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22013 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "other", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22042 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22043 PyObject
*resultobj
;
22044 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22045 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 PyObject
* obj1
= 0 ;
22049 char *kwnames
[] = {
22050 (char *) "self",(char *) "other", NULL
22053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22056 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22060 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22062 wxPyEndAllowThreads(__tstate
);
22063 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22074 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22075 PyObject
*resultobj
;
22076 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22077 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self",(char *) "other", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22106 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22107 PyObject
*resultobj
;
22108 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22109 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22111 PyObject
* obj0
= 0 ;
22112 PyObject
* obj1
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self",(char *) "other", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22138 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22141 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "other", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22152 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22156 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22158 wxPyEndAllowThreads(__tstate
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22170 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22173 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22175 PyObject
* obj0
= 0 ;
22176 PyObject
* obj1
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self",(char *) "other", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22202 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22204 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22206 PyObject
* obj0
= 0 ;
22207 char *kwnames
[] = {
22208 (char *) "self", NULL
22211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22218 wxPyEndAllowThreads(__tstate
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22230 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22231 PyObject
*resultobj
;
22232 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 char *kwnames
[] = {
22236 (char *) "self", NULL
22239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22258 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22262 PyObject
* obj0
= 0 ;
22263 char *kwnames
[] = {
22264 (char *) "self", NULL
22267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22274 wxPyEndAllowThreads(__tstate
);
22275 if (PyErr_Occurred()) SWIG_fail
;
22278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22286 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22287 PyObject
*resultobj
;
22288 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22289 wxTimeSpan
*arg2
= 0 ;
22291 PyObject
* obj0
= 0 ;
22292 PyObject
* obj1
= 0 ;
22293 char *kwnames
[] = {
22294 (char *) "self",(char *) "ts", NULL
22297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22303 if (arg2
== NULL
) {
22304 PyErr_SetString(PyExc_TypeError
,"null reference");
22308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22309 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22311 wxPyEndAllowThreads(__tstate
);
22312 if (PyErr_Occurred()) SWIG_fail
;
22315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22323 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22326 wxTimeSpan
*arg2
= 0 ;
22328 PyObject
* obj0
= 0 ;
22329 PyObject
* obj1
= 0 ;
22330 char *kwnames
[] = {
22331 (char *) "self",(char *) "ts", NULL
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22337 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22338 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22340 if (arg2
== NULL
) {
22341 PyErr_SetString(PyExc_TypeError
,"null reference");
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22360 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22361 PyObject
*resultobj
;
22362 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22363 wxTimeSpan
*arg2
= 0 ;
22365 PyObject
* obj0
= 0 ;
22366 PyObject
* obj1
= 0 ;
22367 char *kwnames
[] = {
22368 (char *) "self",(char *) "t", NULL
22371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22375 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22377 if (arg2
== NULL
) {
22378 PyErr_SetString(PyExc_TypeError
,"null reference");
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22397 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22401 PyObject
* obj0
= 0 ;
22402 char *kwnames
[] = {
22403 (char *) "self", NULL
22406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22411 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22413 wxPyEndAllowThreads(__tstate
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22416 resultobj
= SWIG_FromInt((int)result
);
22423 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22424 PyObject
*resultobj
;
22425 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 resultobj
= SWIG_FromInt((int)result
);
22449 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22468 resultobj
= SWIG_FromInt((int)result
);
22475 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22479 PyObject
* obj0
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22494 resultobj
= SWIG_FromInt((int)result
);
22501 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
;
22503 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22505 PyObject
* obj0
= 0 ;
22506 char *kwnames
[] = {
22507 (char *) "self", NULL
22510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22521 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22522 hi
= PyLong_FromLong( (&result
)->GetHi() );
22523 lo
= PyLong_FromLong( (&result
)->GetLo() );
22524 shifter
= PyLong_FromLong(32);
22525 shifted
= PyNumber_Lshift(hi
, shifter
);
22526 resultobj
= PyNumber_Or(shifted
, lo
);
22529 Py_DECREF(shifter
);
22530 Py_DECREF(shifted
);
22538 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22542 PyObject
* obj0
= 0 ;
22543 char *kwnames
[] = {
22544 (char *) "self", NULL
22547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22558 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22559 hi
= PyLong_FromLong( (&result
)->GetHi() );
22560 lo
= PyLong_FromLong( (&result
)->GetLo() );
22561 shifter
= PyLong_FromLong(32);
22562 shifted
= PyNumber_Lshift(hi
, shifter
);
22563 resultobj
= PyNumber_Or(shifted
, lo
);
22566 Py_DECREF(shifter
);
22567 Py_DECREF(shifted
);
22575 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
;
22577 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22578 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22579 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22581 bool temp2
= False
;
22582 PyObject
* obj0
= 0 ;
22583 PyObject
* obj1
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self",(char *) "format", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22593 arg2
= wxString_in_helper(obj1
);
22594 if (arg2
== NULL
) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22609 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22626 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22629 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22631 return Py_BuildValue((char *)"");
22633 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22635 int arg1
= (int) 0 ;
22636 int arg2
= (int) 0 ;
22637 int arg3
= (int) 0 ;
22638 int arg4
= (int) 0 ;
22639 wxDateSpan
*result
;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 PyObject
* obj2
= 0 ;
22643 PyObject
* obj3
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22650 arg1
= (int) SWIG_AsInt(obj0
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22654 arg2
= (int) SWIG_AsInt(obj1
);
22655 if (PyErr_Occurred()) SWIG_fail
;
22658 arg3
= (int) SWIG_AsInt(obj2
);
22659 if (PyErr_Occurred()) SWIG_fail
;
22662 arg4
= (int) SWIG_AsInt(obj3
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22679 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22680 PyObject
*resultobj
;
22681 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22682 PyObject
* obj0
= 0 ;
22683 char *kwnames
[] = {
22684 (char *) "self", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 Py_INCREF(Py_None
); resultobj
= Py_None
;
22704 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
;
22708 PyObject
* obj0
= 0 ;
22709 char *kwnames
[] = {
22710 (char *) "days", NULL
22713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22714 arg1
= (int) SWIG_AsInt(obj0
);
22715 if (PyErr_Occurred()) SWIG_fail
;
22717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22718 result
= wxDateSpan::Days(arg1
);
22720 wxPyEndAllowThreads(__tstate
);
22721 if (PyErr_Occurred()) SWIG_fail
;
22724 wxDateSpan
* resultptr
;
22725 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22734 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22735 PyObject
*resultobj
;
22737 char *kwnames
[] = {
22741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22744 result
= wxDateSpan::Day();
22746 wxPyEndAllowThreads(__tstate
);
22747 if (PyErr_Occurred()) SWIG_fail
;
22750 wxDateSpan
* resultptr
;
22751 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22752 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22760 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22761 PyObject
*resultobj
;
22764 PyObject
* obj0
= 0 ;
22765 char *kwnames
[] = {
22766 (char *) "weeks", NULL
22769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22770 arg1
= (int) SWIG_AsInt(obj0
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 result
= wxDateSpan::Weeks(arg1
);
22776 wxPyEndAllowThreads(__tstate
);
22777 if (PyErr_Occurred()) SWIG_fail
;
22780 wxDateSpan
* resultptr
;
22781 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22782 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22790 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22793 char *kwnames
[] = {
22797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 result
= wxDateSpan::Week();
22802 wxPyEndAllowThreads(__tstate
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22806 wxDateSpan
* resultptr
;
22807 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22808 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22816 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22817 PyObject
*resultobj
;
22820 PyObject
* obj0
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "mon", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22826 arg1
= (int) SWIG_AsInt(obj0
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22830 result
= wxDateSpan::Months(arg1
);
22832 wxPyEndAllowThreads(__tstate
);
22833 if (PyErr_Occurred()) SWIG_fail
;
22836 wxDateSpan
* resultptr
;
22837 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22846 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22847 PyObject
*resultobj
;
22849 char *kwnames
[] = {
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22856 result
= wxDateSpan::Month();
22858 wxPyEndAllowThreads(__tstate
);
22859 if (PyErr_Occurred()) SWIG_fail
;
22862 wxDateSpan
* resultptr
;
22863 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22872 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
;
22876 PyObject
* obj0
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "years", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22882 arg1
= (int) SWIG_AsInt(obj0
);
22883 if (PyErr_Occurred()) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 result
= wxDateSpan::Years(arg1
);
22888 wxPyEndAllowThreads(__tstate
);
22889 if (PyErr_Occurred()) SWIG_fail
;
22892 wxDateSpan
* resultptr
;
22893 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22902 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22903 PyObject
*resultobj
;
22905 char *kwnames
[] = {
22909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= wxDateSpan::Year();
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22918 wxDateSpan
* resultptr
;
22919 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22920 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22928 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22929 PyObject
*resultobj
;
22930 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22932 wxDateSpan
*result
;
22933 PyObject
* obj0
= 0 ;
22934 PyObject
* obj1
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self",(char *) "n", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22942 arg2
= (int) SWIG_AsInt(obj1
);
22943 if (PyErr_Occurred()) SWIG_fail
;
22945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22947 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22948 result
= (wxDateSpan
*) &_result_ref
;
22951 wxPyEndAllowThreads(__tstate
);
22952 if (PyErr_Occurred()) SWIG_fail
;
22954 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22961 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22962 PyObject
*resultobj
;
22963 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22965 wxDateSpan
*result
;
22966 PyObject
* obj0
= 0 ;
22967 PyObject
* obj1
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "self",(char *) "n", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22975 arg2
= (int) SWIG_AsInt(obj1
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22980 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22981 result
= (wxDateSpan
*) &_result_ref
;
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22994 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
;
22996 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22998 wxDateSpan
*result
;
22999 PyObject
* obj0
= 0 ;
23000 PyObject
* obj1
= 0 ;
23001 char *kwnames
[] = {
23002 (char *) "self",(char *) "n", NULL
23005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23008 arg2
= (int) SWIG_AsInt(obj1
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23014 result
= (wxDateSpan
*) &_result_ref
;
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23027 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23031 wxDateSpan
*result
;
23032 PyObject
* obj0
= 0 ;
23033 PyObject
* obj1
= 0 ;
23034 char *kwnames
[] = {
23035 (char *) "self",(char *) "n", NULL
23038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23041 arg2
= (int) SWIG_AsInt(obj1
);
23042 if (PyErr_Occurred()) SWIG_fail
;
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23047 result
= (wxDateSpan
*) &_result_ref
;
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23060 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 char *kwnames
[] = {
23066 (char *) "self", NULL
23069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23076 wxPyEndAllowThreads(__tstate
);
23077 if (PyErr_Occurred()) SWIG_fail
;
23079 resultobj
= SWIG_FromInt((int)result
);
23086 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23087 PyObject
*resultobj
;
23088 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23090 PyObject
* obj0
= 0 ;
23091 char *kwnames
[] = {
23092 (char *) "self", NULL
23095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23100 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= SWIG_FromInt((int)result
);
23112 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23113 PyObject
*resultobj
;
23114 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23116 PyObject
* obj0
= 0 ;
23117 char *kwnames
[] = {
23118 (char *) "self", NULL
23121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 resultobj
= SWIG_FromInt((int)result
);
23138 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23142 PyObject
* obj0
= 0 ;
23143 char *kwnames
[] = {
23144 (char *) "self", NULL
23147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23154 wxPyEndAllowThreads(__tstate
);
23155 if (PyErr_Occurred()) SWIG_fail
;
23157 resultobj
= SWIG_FromInt((int)result
);
23164 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23166 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23168 PyObject
* obj0
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23178 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23180 wxPyEndAllowThreads(__tstate
);
23181 if (PyErr_Occurred()) SWIG_fail
;
23183 resultobj
= SWIG_FromInt((int)result
);
23190 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23191 PyObject
*resultobj
;
23192 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23193 wxDateSpan
*arg2
= 0 ;
23194 wxDateSpan
*result
;
23195 PyObject
* obj0
= 0 ;
23196 PyObject
* obj1
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self",(char *) "other", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23207 if (arg2
== NULL
) {
23208 PyErr_SetString(PyExc_TypeError
,"null reference");
23212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23215 result
= (wxDateSpan
*) &_result_ref
;
23218 wxPyEndAllowThreads(__tstate
);
23219 if (PyErr_Occurred()) SWIG_fail
;
23221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23228 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23229 PyObject
*resultobj
;
23230 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23231 wxDateSpan
*arg2
= 0 ;
23232 wxDateSpan
*result
;
23233 PyObject
* obj0
= 0 ;
23234 PyObject
* obj1
= 0 ;
23235 char *kwnames
[] = {
23236 (char *) "self",(char *) "other", NULL
23239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23242 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23245 if (arg2
== NULL
) {
23246 PyErr_SetString(PyExc_TypeError
,"null reference");
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23253 result
= (wxDateSpan
*) &_result_ref
;
23256 wxPyEndAllowThreads(__tstate
);
23257 if (PyErr_Occurred()) SWIG_fail
;
23259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23266 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23269 wxDateSpan
*result
;
23270 PyObject
* obj0
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23281 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23282 result
= (wxDateSpan
*) &_result_ref
;
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23295 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
;
23297 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23299 wxDateSpan
*result
;
23300 PyObject
* obj0
= 0 ;
23301 PyObject
* obj1
= 0 ;
23302 char *kwnames
[] = {
23303 (char *) "self",(char *) "factor", NULL
23306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23309 arg2
= (int) SWIG_AsInt(obj1
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23315 result
= (wxDateSpan
*) &_result_ref
;
23318 wxPyEndAllowThreads(__tstate
);
23319 if (PyErr_Occurred()) SWIG_fail
;
23321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23328 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23329 PyObject
*resultobj
;
23330 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23331 wxDateSpan
*arg2
= 0 ;
23332 wxDateSpan
*result
;
23333 PyObject
* obj0
= 0 ;
23334 PyObject
* obj1
= 0 ;
23335 char *kwnames
[] = {
23336 (char *) "self",(char *) "other", NULL
23339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23345 if (arg2
== NULL
) {
23346 PyErr_SetString(PyExc_TypeError
,"null reference");
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23352 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23353 result
= (wxDateSpan
*) &_result_ref
;
23356 wxPyEndAllowThreads(__tstate
);
23357 if (PyErr_Occurred()) SWIG_fail
;
23359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23366 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23367 PyObject
*resultobj
;
23368 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23369 wxDateSpan
*arg2
= 0 ;
23370 wxDateSpan
*result
;
23371 PyObject
* obj0
= 0 ;
23372 PyObject
* obj1
= 0 ;
23373 char *kwnames
[] = {
23374 (char *) "self",(char *) "other", NULL
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23383 if (arg2
== NULL
) {
23384 PyErr_SetString(PyExc_TypeError
,"null reference");
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23391 result
= (wxDateSpan
*) &_result_ref
;
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23397 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23404 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23407 wxDateSpan
*result
;
23408 PyObject
* obj0
= 0 ;
23409 char *kwnames
[] = {
23410 (char *) "self", NULL
23413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23420 result
= (wxDateSpan
*) &_result_ref
;
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23433 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23437 wxDateSpan
*result
;
23438 PyObject
* obj0
= 0 ;
23439 PyObject
* obj1
= 0 ;
23440 char *kwnames
[] = {
23441 (char *) "self",(char *) "factor", NULL
23444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23447 arg2
= (int) SWIG_AsInt(obj1
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23452 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23453 result
= (wxDateSpan
*) &_result_ref
;
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23466 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23467 PyObject
*resultobj
;
23468 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23469 wxDateSpan
*arg2
= 0 ;
23471 PyObject
* obj0
= 0 ;
23472 PyObject
* obj1
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self",(char *) "other", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23483 if (arg2
== NULL
) {
23484 PyErr_SetString(PyExc_TypeError
,"null reference");
23488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23489 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23491 wxPyEndAllowThreads(__tstate
);
23492 if (PyErr_Occurred()) SWIG_fail
;
23495 wxDateSpan
* resultptr
;
23496 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23505 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23506 PyObject
*resultobj
;
23507 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23508 wxDateSpan
*arg2
= 0 ;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj1
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self",(char *) "other", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23520 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23522 if (arg2
== NULL
) {
23523 PyErr_SetString(PyExc_TypeError
,"null reference");
23527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23528 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23530 wxPyEndAllowThreads(__tstate
);
23531 if (PyErr_Occurred()) SWIG_fail
;
23534 wxDateSpan
* resultptr
;
23535 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23544 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23545 PyObject
*resultobj
;
23546 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23549 PyObject
* obj0
= 0 ;
23550 PyObject
* obj1
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "self",(char *) "n", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23558 arg2
= (int) SWIG_AsInt(obj1
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 result
= wxDateSpan___mul__(arg1
,arg2
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23568 wxDateSpan
* resultptr
;
23569 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23570 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23578 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23579 PyObject
*resultobj
;
23580 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23583 PyObject
* obj0
= 0 ;
23584 PyObject
* obj1
= 0 ;
23585 char *kwnames
[] = {
23586 (char *) "self",(char *) "n", NULL
23589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23592 arg2
= (int) SWIG_AsInt(obj1
);
23593 if (PyErr_Occurred()) SWIG_fail
;
23595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23596 result
= wxDateSpan___rmul__(arg1
,arg2
);
23598 wxPyEndAllowThreads(__tstate
);
23599 if (PyErr_Occurred()) SWIG_fail
;
23602 wxDateSpan
* resultptr
;
23603 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23612 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23615 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 char *kwnames
[] = {
23620 (char *) "self",(char *) "other", NULL
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23644 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
;
23646 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23647 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23649 PyObject
* obj0
= 0 ;
23650 PyObject
* obj1
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "other", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23662 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23664 wxPyEndAllowThreads(__tstate
);
23665 if (PyErr_Occurred()) SWIG_fail
;
23668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23676 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23679 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23681 return Py_BuildValue((char *)"");
23683 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23686 char *kwnames
[] = {
23690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= (long)wxGetLocalTime();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23698 resultobj
= SWIG_FromLong((long)result
);
23705 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23708 char *kwnames
[] = {
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23715 result
= (long)wxGetUTCTime();
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_FromLong((long)result
);
23727 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
;
23730 char *kwnames
[] = {
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= (long)wxGetCurrentTime();
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= SWIG_FromLong((long)result
);
23749 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23750 PyObject
*resultobj
;
23752 char *kwnames
[] = {
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23759 result
= wxGetLocalTimeMillis();
23761 wxPyEndAllowThreads(__tstate
);
23762 if (PyErr_Occurred()) SWIG_fail
;
23765 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23766 hi
= PyLong_FromLong( (&result
)->GetHi() );
23767 lo
= PyLong_FromLong( (&result
)->GetLo() );
23768 shifter
= PyLong_FromLong(32);
23769 shifted
= PyNumber_Lshift(hi
, shifter
);
23770 resultobj
= PyNumber_Or(shifted
, lo
);
23773 Py_DECREF(shifter
);
23774 Py_DECREF(shifted
);
23782 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23783 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23788 static PyObject
*_wrap_DefaultDateTime_get() {
23791 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23796 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23799 wxDataFormat
*result
;
23800 PyObject
* obj0
= 0 ;
23801 char *kwnames
[] = {
23802 (char *) "type", NULL
23805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23806 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23812 wxPyEndAllowThreads(__tstate
);
23813 if (PyErr_Occurred()) SWIG_fail
;
23815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23822 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23823 PyObject
*resultobj
;
23824 wxString
*arg1
= 0 ;
23825 wxDataFormat
*result
;
23826 bool temp1
= False
;
23827 PyObject
* obj0
= 0 ;
23828 char *kwnames
[] = {
23829 (char *) "format", NULL
23832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23834 arg1
= wxString_in_helper(obj0
);
23835 if (arg1
== NULL
) SWIG_fail
;
23839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23840 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23842 wxPyEndAllowThreads(__tstate
);
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23860 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23861 PyObject
*resultobj
;
23862 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 char *kwnames
[] = {
23865 (char *) "self", NULL
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23878 Py_INCREF(Py_None
); resultobj
= Py_None
;
23885 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23886 PyObject
*resultobj
;
23887 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23890 PyObject
* obj0
= 0 ;
23891 PyObject
* obj1
= 0 ;
23893 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23896 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23900 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23902 wxPyEndAllowThreads(__tstate
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23914 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23915 PyObject
*resultobj
;
23916 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23919 PyObject
* obj0
= 0 ;
23920 PyObject
* obj1
= 0 ;
23922 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23925 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23943 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23944 PyObject
*resultobj
;
23945 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23946 wxDataFormat
*arg2
= 0 ;
23948 PyObject
* obj0
= 0 ;
23949 PyObject
* obj1
= 0 ;
23951 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23954 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23957 if (arg2
== NULL
) {
23958 PyErr_SetString(PyExc_TypeError
,"null reference");
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23977 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23982 argc
= PyObject_Length(args
);
23983 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23984 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23990 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24000 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24008 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24016 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24024 _v
= SWIG_CheckInt(argv
[1]);
24026 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24031 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24036 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24037 PyObject
*resultobj
;
24038 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24039 wxDataFormat
*arg2
= 0 ;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24044 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24047 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24048 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24050 if (arg2
== NULL
) {
24051 PyErr_SetString(PyExc_TypeError
,"null reference");
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24070 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24075 argc
= PyObject_Length(args
);
24076 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24077 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24083 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24093 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24101 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24109 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24117 _v
= SWIG_CheckInt(argv
[1]);
24119 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24124 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24129 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24130 PyObject
*resultobj
;
24131 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24133 PyObject
* obj0
= 0 ;
24134 PyObject
* obj1
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self",(char *) "format", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24142 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24143 if (PyErr_Occurred()) SWIG_fail
;
24145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24146 (arg1
)->SetType((wxDataFormatId
)arg2
);
24148 wxPyEndAllowThreads(__tstate
);
24149 if (PyErr_Occurred()) SWIG_fail
;
24151 Py_INCREF(Py_None
); resultobj
= Py_None
;
24158 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24159 PyObject
*resultobj
;
24160 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24162 PyObject
* obj0
= 0 ;
24163 char *kwnames
[] = {
24164 (char *) "self", NULL
24167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= SWIG_FromInt((int)result
);
24184 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24188 PyObject
* obj0
= 0 ;
24189 char *kwnames
[] = {
24190 (char *) "self", NULL
24193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24198 result
= ((wxDataFormat
const *)arg1
)->GetId();
24200 wxPyEndAllowThreads(__tstate
);
24201 if (PyErr_Occurred()) SWIG_fail
;
24205 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24207 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24216 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24217 PyObject
*resultobj
;
24218 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24219 wxString
*arg2
= 0 ;
24220 bool temp2
= False
;
24221 PyObject
* obj0
= 0 ;
24222 PyObject
* obj1
= 0 ;
24223 char *kwnames
[] = {
24224 (char *) "self",(char *) "format", NULL
24227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24231 arg2
= wxString_in_helper(obj1
);
24232 if (arg2
== NULL
) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 (arg1
)->SetId((wxString
const &)*arg2
);
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24242 Py_INCREF(Py_None
); resultobj
= Py_None
;
24257 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24260 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24262 return Py_BuildValue((char *)"");
24264 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24265 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24270 static PyObject
*_wrap_FormatInvalid_get() {
24273 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24278 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
;
24280 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24281 PyObject
* obj0
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 Py_INCREF(Py_None
); resultobj
= Py_None
;
24303 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24305 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24306 int arg2
= (int) wxDataObject::Get
;
24307 SwigValueWrapper
< wxDataFormat
> result
;
24308 PyObject
* obj0
= 0 ;
24309 PyObject
* obj1
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "self",(char *) "dir", NULL
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24323 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24325 wxPyEndAllowThreads(__tstate
);
24326 if (PyErr_Occurred()) SWIG_fail
;
24329 wxDataFormat
* resultptr
;
24330 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24339 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24342 int arg2
= (int) wxDataObject::Get
;
24344 PyObject
* obj0
= 0 ;
24345 PyObject
* obj1
= 0 ;
24346 char *kwnames
[] = {
24347 (char *) "self",(char *) "dir", NULL
24350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24354 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24361 wxPyEndAllowThreads(__tstate
);
24362 if (PyErr_Occurred()) SWIG_fail
;
24364 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24371 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24372 PyObject
*resultobj
;
24373 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24374 wxDataFormat
*arg2
= 0 ;
24375 int arg3
= (int) wxDataObject::Get
;
24377 PyObject
* obj0
= 0 ;
24378 PyObject
* obj1
= 0 ;
24379 PyObject
* obj2
= 0 ;
24380 char *kwnames
[] = {
24381 (char *) "self",(char *) "format",(char *) "dir", NULL
24384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24390 if (arg2
== NULL
) {
24391 PyErr_SetString(PyExc_TypeError
,"null reference");
24395 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24396 if (PyErr_Occurred()) SWIG_fail
;
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24414 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24415 PyObject
*resultobj
;
24416 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24417 wxDataFormat
*arg2
= 0 ;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "self",(char *) "format", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24429 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24431 if (arg2
== NULL
) {
24432 PyErr_SetString(PyExc_TypeError
,"null reference");
24436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24437 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24449 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
;
24451 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24452 int arg2
= (int) wxDataObject::Get
;
24454 PyObject
* obj0
= 0 ;
24455 PyObject
* obj1
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "self",(char *) "dir", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24465 if (PyErr_Occurred()) SWIG_fail
;
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24474 resultobj
= result
;
24481 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24484 wxDataFormat
*arg2
= 0 ;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 char *kwnames
[] = {
24489 (char *) "self",(char *) "format", NULL
24492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24498 if (arg2
== NULL
) {
24499 PyErr_SetString(PyExc_TypeError
,"null reference");
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= result
;
24516 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
;
24518 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24519 wxDataFormat
*arg2
= 0 ;
24520 PyObject
*arg3
= (PyObject
*) 0 ;
24522 PyObject
* obj0
= 0 ;
24523 PyObject
* obj1
= 0 ;
24524 PyObject
* obj2
= 0 ;
24525 char *kwnames
[] = {
24526 (char *) "self",(char *) "format",(char *) "data", NULL
24529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24535 if (arg2
== NULL
) {
24536 PyErr_SetString(PyExc_TypeError
,"null reference");
24541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24544 wxPyEndAllowThreads(__tstate
);
24545 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24556 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24559 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24561 return Py_BuildValue((char *)"");
24563 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24564 PyObject
*resultobj
;
24565 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24566 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24567 wxDataObjectSimple
*result
;
24568 PyObject
* obj0
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "format", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24578 if (arg1
== NULL
) {
24579 PyErr_SetString(PyExc_TypeError
,"null reference");
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24597 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24600 wxDataFormat
*result
;
24601 PyObject
* obj0
= 0 ;
24602 char *kwnames
[] = {
24603 (char *) "self", NULL
24606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24613 result
= (wxDataFormat
*) &_result_ref
;
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24626 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24627 PyObject
*resultobj
;
24628 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24629 wxDataFormat
*arg2
= 0 ;
24630 PyObject
* obj0
= 0 ;
24631 PyObject
* obj1
= 0 ;
24632 char *kwnames
[] = {
24633 (char *) "self",(char *) "format", NULL
24636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24640 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24642 if (arg2
== NULL
) {
24643 PyErr_SetString(PyExc_TypeError
,"null reference");
24647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24648 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24650 wxPyEndAllowThreads(__tstate
);
24651 if (PyErr_Occurred()) SWIG_fail
;
24653 Py_INCREF(Py_None
); resultobj
= Py_None
;
24660 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24661 PyObject
*resultobj
;
24662 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24664 PyObject
* obj0
= 0 ;
24665 char *kwnames
[] = {
24666 (char *) "self", NULL
24669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24686 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24700 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24702 wxPyEndAllowThreads(__tstate
);
24703 if (PyErr_Occurred()) SWIG_fail
;
24705 resultobj
= result
;
24712 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24713 PyObject
*resultobj
;
24714 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24715 PyObject
*arg2
= (PyObject
*) 0 ;
24717 PyObject
* obj0
= 0 ;
24718 PyObject
* obj1
= 0 ;
24719 char *kwnames
[] = {
24720 (char *) "self",(char *) "data", NULL
24723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24731 wxPyEndAllowThreads(__tstate
);
24732 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24743 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24746 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24748 return Py_BuildValue((char *)"");
24750 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
;
24752 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24753 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24754 wxPyDataObjectSimple
*result
;
24755 PyObject
* obj0
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "format", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24765 if (arg1
== NULL
) {
24766 PyErr_SetString(PyExc_TypeError
,"null reference");
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24784 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24787 PyObject
*arg2
= (PyObject
*) 0 ;
24788 PyObject
*arg3
= (PyObject
*) 0 ;
24789 PyObject
* obj0
= 0 ;
24790 PyObject
* obj1
= 0 ;
24791 PyObject
* obj2
= 0 ;
24792 char *kwnames
[] = {
24793 (char *) "self",(char *) "self",(char *) "_class", NULL
24796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24805 wxPyEndAllowThreads(__tstate
);
24806 if (PyErr_Occurred()) SWIG_fail
;
24808 Py_INCREF(Py_None
); resultobj
= Py_None
;
24815 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24818 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24820 return Py_BuildValue((char *)"");
24822 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
;
24824 wxDataObjectComposite
*result
;
24825 char *kwnames
[] = {
24829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24834 wxPyEndAllowThreads(__tstate
);
24835 if (PyErr_Occurred()) SWIG_fail
;
24837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24844 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24845 PyObject
*resultobj
;
24846 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24847 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24848 bool arg3
= (bool) False
;
24849 PyObject
* obj0
= 0 ;
24850 PyObject
* obj1
= 0 ;
24851 PyObject
* obj2
= 0 ;
24852 char *kwnames
[] = {
24853 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24860 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24862 arg3
= (bool) SWIG_AsBool(obj2
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 (arg1
)->Add(arg2
,arg3
);
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24872 Py_INCREF(Py_None
); resultobj
= Py_None
;
24879 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24882 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24884 return Py_BuildValue((char *)"");
24886 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24889 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24890 wxTextDataObject
*result
;
24891 bool temp1
= False
;
24892 PyObject
* obj0
= 0 ;
24893 char *kwnames
[] = {
24894 (char *) "text", NULL
24897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24900 arg1
= wxString_in_helper(obj0
);
24901 if (arg1
== NULL
) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24927 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24928 PyObject
*resultobj
;
24929 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24931 PyObject
* obj0
= 0 ;
24932 char *kwnames
[] = {
24933 (char *) "self", NULL
24936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24941 result
= (size_t)(arg1
)->GetTextLength();
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24953 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
;
24955 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24957 PyObject
* obj0
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 result
= (arg1
)->GetText();
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24985 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24988 wxString
*arg2
= 0 ;
24989 bool temp2
= False
;
24990 PyObject
* obj0
= 0 ;
24991 PyObject
* obj1
= 0 ;
24992 char *kwnames
[] = {
24993 (char *) "self",(char *) "text", NULL
24996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25000 arg2
= wxString_in_helper(obj1
);
25001 if (arg2
== NULL
) SWIG_fail
;
25005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25006 (arg1
)->SetText((wxString
const &)*arg2
);
25008 wxPyEndAllowThreads(__tstate
);
25009 if (PyErr_Occurred()) SWIG_fail
;
25011 Py_INCREF(Py_None
); resultobj
= Py_None
;
25026 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25029 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25031 return Py_BuildValue((char *)"");
25033 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25034 PyObject
*resultobj
;
25035 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25036 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25037 wxPyTextDataObject
*result
;
25038 bool temp1
= False
;
25039 PyObject
* obj0
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "text", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25047 arg1
= wxString_in_helper(obj0
);
25048 if (arg1
== NULL
) SWIG_fail
;
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25074 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
;
25076 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25077 PyObject
*arg2
= (PyObject
*) 0 ;
25078 PyObject
*arg3
= (PyObject
*) 0 ;
25079 PyObject
* obj0
= 0 ;
25080 PyObject
* obj1
= 0 ;
25081 PyObject
* obj2
= 0 ;
25082 char *kwnames
[] = {
25083 (char *) "self",(char *) "self",(char *) "_class", NULL
25086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 Py_INCREF(Py_None
); resultobj
= Py_None
;
25105 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25108 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25110 return Py_BuildValue((char *)"");
25112 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25113 PyObject
*resultobj
;
25114 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25115 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25116 wxBitmapDataObject
*result
;
25117 PyObject
* obj0
= 0 ;
25118 char *kwnames
[] = {
25119 (char *) "bitmap", NULL
25122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25125 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25127 if (arg1
== NULL
) {
25128 PyErr_SetString(PyExc_TypeError
,"null reference");
25133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25134 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25146 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25147 PyObject
*resultobj
;
25148 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25150 PyObject
* obj0
= 0 ;
25151 char *kwnames
[] = {
25152 (char *) "self", NULL
25155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25166 wxBitmap
* resultptr
;
25167 resultptr
= new wxBitmap((wxBitmap
&) result
);
25168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25176 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25177 PyObject
*resultobj
;
25178 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25179 wxBitmap
*arg2
= 0 ;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 char *kwnames
[] = {
25183 (char *) "self",(char *) "bitmap", NULL
25186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25190 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25192 if (arg2
== NULL
) {
25193 PyErr_SetString(PyExc_TypeError
,"null reference");
25197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25198 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25200 wxPyEndAllowThreads(__tstate
);
25201 if (PyErr_Occurred()) SWIG_fail
;
25203 Py_INCREF(Py_None
); resultobj
= Py_None
;
25210 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25212 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25213 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25215 return Py_BuildValue((char *)"");
25217 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25218 PyObject
*resultobj
;
25219 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25220 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25221 wxPyBitmapDataObject
*result
;
25222 PyObject
* obj0
= 0 ;
25223 char *kwnames
[] = {
25224 (char *) "bitmap", NULL
25227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25232 if (arg1
== NULL
) {
25233 PyErr_SetString(PyExc_TypeError
,"null reference");
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25251 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25252 PyObject
*resultobj
;
25253 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25254 PyObject
*arg2
= (PyObject
*) 0 ;
25255 PyObject
*arg3
= (PyObject
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 PyObject
* obj1
= 0 ;
25258 PyObject
* obj2
= 0 ;
25259 char *kwnames
[] = {
25260 (char *) "self",(char *) "self",(char *) "_class", NULL
25263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 Py_INCREF(Py_None
); resultobj
= Py_None
;
25282 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25284 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25285 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25287 return Py_BuildValue((char *)"");
25289 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
;
25291 wxFileDataObject
*result
;
25292 char *kwnames
[] = {
25296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25299 result
= (wxFileDataObject
*)new wxFileDataObject();
25301 wxPyEndAllowThreads(__tstate
);
25302 if (PyErr_Occurred()) SWIG_fail
;
25304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25311 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25312 PyObject
*resultobj
;
25313 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25314 wxArrayString
*result
;
25315 PyObject
* obj0
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25327 result
= (wxArrayString
*) &_result_ref
;
25330 wxPyEndAllowThreads(__tstate
);
25331 if (PyErr_Occurred()) SWIG_fail
;
25334 resultobj
= wxArrayString2PyList_helper(*result
);
25342 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25343 PyObject
*resultobj
;
25344 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25345 wxString
*arg2
= 0 ;
25346 bool temp2
= False
;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self",(char *) "filename", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25357 arg2
= wxString_in_helper(obj1
);
25358 if (arg2
== NULL
) SWIG_fail
;
25362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25363 (arg1
)->AddFile((wxString
const &)*arg2
);
25365 wxPyEndAllowThreads(__tstate
);
25366 if (PyErr_Occurred()) SWIG_fail
;
25368 Py_INCREF(Py_None
); resultobj
= Py_None
;
25383 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25386 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25388 return Py_BuildValue((char *)"");
25390 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25391 PyObject
*resultobj
;
25392 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25393 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25394 wxCustomDataObject
*result
;
25395 PyObject
* obj0
= 0 ;
25396 char *kwnames
[] = {
25397 (char *) "format", NULL
25400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25403 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25405 if (arg1
== NULL
) {
25406 PyErr_SetString(PyExc_TypeError
,"null reference");
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25424 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25427 PyObject
*arg2
= (PyObject
*) 0 ;
25429 PyObject
* obj0
= 0 ;
25430 PyObject
* obj1
= 0 ;
25431 char *kwnames
[] = {
25432 (char *) "self",(char *) "data", NULL
25435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25441 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25455 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25456 PyObject
*resultobj
;
25457 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25459 PyObject
* obj0
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "self", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 result
= (size_t)(arg1
)->GetSize();
25471 wxPyEndAllowThreads(__tstate
);
25472 if (PyErr_Occurred()) SWIG_fail
;
25474 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25481 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25482 PyObject
*resultobj
;
25483 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25485 PyObject
* obj0
= 0 ;
25486 char *kwnames
[] = {
25487 (char *) "self", NULL
25490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25495 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25497 wxPyEndAllowThreads(__tstate
);
25498 if (PyErr_Occurred()) SWIG_fail
;
25500 resultobj
= result
;
25507 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25510 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25512 return Py_BuildValue((char *)"");
25514 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25515 PyObject
*resultobj
;
25516 wxURLDataObject
*result
;
25517 char *kwnames
[] = {
25521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25524 result
= (wxURLDataObject
*)new wxURLDataObject();
25526 wxPyEndAllowThreads(__tstate
);
25527 if (PyErr_Occurred()) SWIG_fail
;
25529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25536 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25537 PyObject
*resultobj
;
25538 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25540 PyObject
* obj0
= 0 ;
25541 char *kwnames
[] = {
25542 (char *) "self", NULL
25545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25550 result
= (arg1
)->GetURL();
25552 wxPyEndAllowThreads(__tstate
);
25553 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25568 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
;
25570 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25571 wxString
*arg2
= 0 ;
25572 bool temp2
= False
;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self",(char *) "url", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25583 arg2
= wxString_in_helper(obj1
);
25584 if (arg2
== NULL
) SWIG_fail
;
25588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25589 (arg1
)->SetURL((wxString
const &)*arg2
);
25591 wxPyEndAllowThreads(__tstate
);
25592 if (PyErr_Occurred()) SWIG_fail
;
25594 Py_INCREF(Py_None
); resultobj
= Py_None
;
25609 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25611 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25612 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25614 return Py_BuildValue((char *)"");
25616 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxMetafileDataObject
*result
;
25619 char *kwnames
[] = {
25623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25638 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25641 wxMetafile
*arg2
= 0 ;
25642 PyObject
* obj0
= 0 ;
25643 PyObject
* obj1
= 0 ;
25644 char *kwnames
[] = {
25645 (char *) "self",(char *) "metafile", NULL
25648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25654 if (arg2
== NULL
) {
25655 PyErr_SetString(PyExc_TypeError
,"null reference");
25659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25660 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25662 wxPyEndAllowThreads(__tstate
);
25663 if (PyErr_Occurred()) SWIG_fail
;
25665 Py_INCREF(Py_None
); resultobj
= Py_None
;
25672 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25673 PyObject
*resultobj
;
25674 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25676 PyObject
* obj0
= 0 ;
25677 char *kwnames
[] = {
25678 (char *) "self", NULL
25681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25692 wxMetafile
* resultptr
;
25693 resultptr
= new wxMetafile((wxMetafile
&) result
);
25694 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25702 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25705 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25707 return Py_BuildValue((char *)"");
25709 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
;
25713 PyObject
* obj0
= 0 ;
25714 char *kwnames
[] = {
25715 (char *) "res", NULL
25718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25719 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25720 if (PyErr_Occurred()) SWIG_fail
;
25722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25723 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25725 wxPyEndAllowThreads(__tstate
);
25726 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25737 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
;
25739 wxWindow
*arg1
= (wxWindow
*) 0 ;
25740 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25741 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25742 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25743 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25744 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25745 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25746 wxPyDropSource
*result
;
25747 PyObject
* obj0
= 0 ;
25748 PyObject
* obj1
= 0 ;
25749 PyObject
* obj2
= 0 ;
25750 PyObject
* obj3
= 0 ;
25751 char *kwnames
[] = {
25752 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25760 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25762 if (arg2
== NULL
) {
25763 PyErr_SetString(PyExc_TypeError
,"null reference");
25768 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25771 if (arg3
== NULL
) {
25772 PyErr_SetString(PyExc_TypeError
,"null reference");
25777 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25778 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25780 if (arg4
== NULL
) {
25781 PyErr_SetString(PyExc_TypeError
,"null reference");
25786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25787 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25799 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25800 PyObject
*resultobj
;
25801 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25802 PyObject
*arg2
= (PyObject
*) 0 ;
25803 PyObject
*arg3
= (PyObject
*) 0 ;
25805 PyObject
* obj0
= 0 ;
25806 PyObject
* obj1
= 0 ;
25807 PyObject
* obj2
= 0 ;
25808 PyObject
* obj3
= 0 ;
25809 char *kwnames
[] = {
25810 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25818 arg4
= (int) SWIG_AsInt(obj3
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25827 Py_INCREF(Py_None
); resultobj
= Py_None
;
25834 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25835 PyObject
*resultobj
;
25836 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25837 PyObject
* obj0
= 0 ;
25838 char *kwnames
[] = {
25839 (char *) "self", NULL
25842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 wxPyEndAllowThreads(__tstate
);
25850 if (PyErr_Occurred()) SWIG_fail
;
25852 Py_INCREF(Py_None
); resultobj
= Py_None
;
25859 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25860 PyObject
*resultobj
;
25861 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25862 wxDataObject
*arg2
= 0 ;
25863 PyObject
* obj0
= 0 ;
25864 PyObject
* obj1
= 0 ;
25865 char *kwnames
[] = {
25866 (char *) "self",(char *) "data", NULL
25869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25873 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25875 if (arg2
== NULL
) {
25876 PyErr_SetString(PyExc_TypeError
,"null reference");
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 (arg1
)->SetData(*arg2
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 Py_INCREF(Py_None
); resultobj
= Py_None
;
25893 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25896 wxDataObject
*result
;
25897 PyObject
* obj0
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25919 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25920 PyObject
*resultobj
;
25921 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25923 wxCursor
*arg3
= 0 ;
25924 PyObject
* obj0
= 0 ;
25925 PyObject
* obj1
= 0 ;
25926 PyObject
* obj2
= 0 ;
25927 char *kwnames
[] = {
25928 (char *) "self",(char *) "res",(char *) "cursor", NULL
25931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25934 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25936 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25939 if (arg3
== NULL
) {
25940 PyErr_SetString(PyExc_TypeError
,"null reference");
25944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25945 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25947 wxPyEndAllowThreads(__tstate
);
25948 if (PyErr_Occurred()) SWIG_fail
;
25950 Py_INCREF(Py_None
); resultobj
= Py_None
;
25957 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25958 PyObject
*resultobj
;
25959 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25960 int arg2
= (int) wxDrag_CopyOnly
;
25962 PyObject
* obj0
= 0 ;
25963 PyObject
* obj1
= 0 ;
25964 char *kwnames
[] = {
25965 (char *) "self",(char *) "flags", NULL
25968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25972 arg2
= (int) SWIG_AsInt(obj1
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25977 result
= (int)(arg1
)->DoDragDrop(arg2
);
25979 wxPyEndAllowThreads(__tstate
);
25980 if (PyErr_Occurred()) SWIG_fail
;
25982 resultobj
= SWIG_FromInt((int)result
);
25989 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25990 PyObject
*resultobj
;
25991 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25994 PyObject
* obj0
= 0 ;
25995 PyObject
* obj1
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self",(char *) "effect", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26003 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26021 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26024 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26026 return Py_BuildValue((char *)"");
26028 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26029 PyObject
*resultobj
;
26030 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26031 wxPyDropTarget
*result
;
26032 PyObject
* obj0
= 0 ;
26033 char *kwnames
[] = {
26034 (char *) "dataObject", NULL
26037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26040 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26044 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26046 wxPyEndAllowThreads(__tstate
);
26047 if (PyErr_Occurred()) SWIG_fail
;
26049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26056 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26057 PyObject
*resultobj
;
26058 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26059 PyObject
*arg2
= (PyObject
*) 0 ;
26060 PyObject
*arg3
= (PyObject
*) 0 ;
26061 PyObject
* obj0
= 0 ;
26062 PyObject
* obj1
= 0 ;
26063 PyObject
* obj2
= 0 ;
26064 char *kwnames
[] = {
26065 (char *) "self",(char *) "self",(char *) "_class", NULL
26068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26075 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26080 Py_INCREF(Py_None
); resultobj
= Py_None
;
26087 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
;
26089 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26090 PyObject
* obj0
= 0 ;
26091 char *kwnames
[] = {
26092 (char *) "self", NULL
26095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 Py_INCREF(Py_None
); resultobj
= Py_None
;
26112 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
;
26114 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26115 wxDataObject
*result
;
26116 PyObject
* obj0
= 0 ;
26117 char *kwnames
[] = {
26118 (char *) "self", NULL
26121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26138 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26139 PyObject
*resultobj
;
26140 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26141 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self",(char *) "dataObject", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26152 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 (arg1
)->SetDataObject(arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 Py_INCREF(Py_None
); resultobj
= Py_None
;
26167 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26174 PyObject
* obj0
= 0 ;
26175 PyObject
* obj1
= 0 ;
26176 PyObject
* obj2
= 0 ;
26177 PyObject
* obj3
= 0 ;
26178 char *kwnames
[] = {
26179 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26185 arg2
= (int) SWIG_AsInt(obj1
);
26186 if (PyErr_Occurred()) SWIG_fail
;
26187 arg3
= (int) SWIG_AsInt(obj2
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26189 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26190 if (PyErr_Occurred()) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26198 resultobj
= SWIG_FromInt((int)result
);
26205 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26206 PyObject
*resultobj
;
26207 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26212 PyObject
* obj0
= 0 ;
26213 PyObject
* obj1
= 0 ;
26214 PyObject
* obj2
= 0 ;
26215 PyObject
* obj3
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26223 arg2
= (int) SWIG_AsInt(obj1
);
26224 if (PyErr_Occurred()) SWIG_fail
;
26225 arg3
= (int) SWIG_AsInt(obj2
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26227 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26228 if (PyErr_Occurred()) SWIG_fail
;
26230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26231 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26233 wxPyEndAllowThreads(__tstate
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26236 resultobj
= SWIG_FromInt((int)result
);
26243 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26244 PyObject
*resultobj
;
26245 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26246 PyObject
* obj0
= 0 ;
26247 char *kwnames
[] = {
26248 (char *) "self", NULL
26251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26256 (arg1
)->base_OnLeave();
26258 wxPyEndAllowThreads(__tstate
);
26259 if (PyErr_Occurred()) SWIG_fail
;
26261 Py_INCREF(Py_None
); resultobj
= Py_None
;
26268 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
;
26270 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26274 PyObject
* obj0
= 0 ;
26275 PyObject
* obj1
= 0 ;
26276 PyObject
* obj2
= 0 ;
26277 char *kwnames
[] = {
26278 (char *) "self",(char *) "x",(char *) "y", NULL
26281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26284 arg2
= (int) SWIG_AsInt(obj1
);
26285 if (PyErr_Occurred()) SWIG_fail
;
26286 arg3
= (int) SWIG_AsInt(obj2
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26304 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26305 PyObject
*resultobj
;
26306 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26308 PyObject
* obj0
= 0 ;
26309 char *kwnames
[] = {
26310 (char *) "self", NULL
26313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26318 result
= (bool)(arg1
)->GetData();
26320 wxPyEndAllowThreads(__tstate
);
26321 if (PyErr_Occurred()) SWIG_fail
;
26324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26332 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26335 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26337 return Py_BuildValue((char *)"");
26339 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
;
26341 wxPyTextDropTarget
*result
;
26342 char *kwnames
[] = {
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26361 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26362 PyObject
*resultobj
;
26363 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26364 PyObject
*arg2
= (PyObject
*) 0 ;
26365 PyObject
*arg3
= (PyObject
*) 0 ;
26366 PyObject
* obj0
= 0 ;
26367 PyObject
* obj1
= 0 ;
26368 PyObject
* obj2
= 0 ;
26369 char *kwnames
[] = {
26370 (char *) "self",(char *) "self",(char *) "_class", NULL
26373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26382 wxPyEndAllowThreads(__tstate
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26385 Py_INCREF(Py_None
); resultobj
= Py_None
;
26392 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26393 PyObject
*resultobj
;
26394 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26399 PyObject
* obj0
= 0 ;
26400 PyObject
* obj1
= 0 ;
26401 PyObject
* obj2
= 0 ;
26402 PyObject
* obj3
= 0 ;
26403 char *kwnames
[] = {
26404 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26410 arg2
= (int) SWIG_AsInt(obj1
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26412 arg3
= (int) SWIG_AsInt(obj2
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26414 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26420 wxPyEndAllowThreads(__tstate
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26423 resultobj
= SWIG_FromInt((int)result
);
26430 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
;
26432 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26437 PyObject
* obj0
= 0 ;
26438 PyObject
* obj1
= 0 ;
26439 PyObject
* obj2
= 0 ;
26440 PyObject
* obj3
= 0 ;
26441 char *kwnames
[] = {
26442 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26448 arg2
= (int) SWIG_AsInt(obj1
);
26449 if (PyErr_Occurred()) SWIG_fail
;
26450 arg3
= (int) SWIG_AsInt(obj2
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26452 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26453 if (PyErr_Occurred()) SWIG_fail
;
26455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26456 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26458 wxPyEndAllowThreads(__tstate
);
26459 if (PyErr_Occurred()) SWIG_fail
;
26461 resultobj
= SWIG_FromInt((int)result
);
26468 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 char *kwnames
[] = {
26473 (char *) "self", NULL
26476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 (arg1
)->base_OnLeave();
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 Py_INCREF(Py_None
); resultobj
= Py_None
;
26493 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26499 PyObject
* obj0
= 0 ;
26500 PyObject
* obj1
= 0 ;
26501 PyObject
* obj2
= 0 ;
26502 char *kwnames
[] = {
26503 (char *) "self",(char *) "x",(char *) "y", NULL
26506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26509 arg2
= (int) SWIG_AsInt(obj1
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26511 arg3
= (int) SWIG_AsInt(obj2
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26517 wxPyEndAllowThreads(__tstate
);
26518 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26529 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
;
26531 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26536 PyObject
* obj0
= 0 ;
26537 PyObject
* obj1
= 0 ;
26538 PyObject
* obj2
= 0 ;
26539 PyObject
* obj3
= 0 ;
26540 char *kwnames
[] = {
26541 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26547 arg2
= (int) SWIG_AsInt(obj1
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26549 arg3
= (int) SWIG_AsInt(obj2
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26551 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 resultobj
= SWIG_FromInt((int)result
);
26567 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26570 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26572 return Py_BuildValue((char *)"");
26574 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26575 PyObject
*resultobj
;
26576 wxPyFileDropTarget
*result
;
26577 char *kwnames
[] = {
26581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26584 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26586 wxPyEndAllowThreads(__tstate
);
26587 if (PyErr_Occurred()) SWIG_fail
;
26589 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26596 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26597 PyObject
*resultobj
;
26598 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26599 PyObject
*arg2
= (PyObject
*) 0 ;
26600 PyObject
*arg3
= (PyObject
*) 0 ;
26601 PyObject
* obj0
= 0 ;
26602 PyObject
* obj1
= 0 ;
26603 PyObject
* obj2
= 0 ;
26604 char *kwnames
[] = {
26605 (char *) "self",(char *) "self",(char *) "_class", NULL
26608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26620 Py_INCREF(Py_None
); resultobj
= Py_None
;
26627 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26628 PyObject
*resultobj
;
26629 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26634 PyObject
* obj0
= 0 ;
26635 PyObject
* obj1
= 0 ;
26636 PyObject
* obj2
= 0 ;
26637 PyObject
* obj3
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26645 arg2
= (int) SWIG_AsInt(obj1
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26647 arg3
= (int) SWIG_AsInt(obj2
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26649 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26653 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26655 wxPyEndAllowThreads(__tstate
);
26656 if (PyErr_Occurred()) SWIG_fail
;
26658 resultobj
= SWIG_FromInt((int)result
);
26665 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26666 PyObject
*resultobj
;
26667 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26672 PyObject
* obj0
= 0 ;
26673 PyObject
* obj1
= 0 ;
26674 PyObject
* obj2
= 0 ;
26675 PyObject
* obj3
= 0 ;
26676 char *kwnames
[] = {
26677 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26683 arg2
= (int) SWIG_AsInt(obj1
);
26684 if (PyErr_Occurred()) SWIG_fail
;
26685 arg3
= (int) SWIG_AsInt(obj2
);
26686 if (PyErr_Occurred()) SWIG_fail
;
26687 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26688 if (PyErr_Occurred()) SWIG_fail
;
26690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26691 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26693 wxPyEndAllowThreads(__tstate
);
26694 if (PyErr_Occurred()) SWIG_fail
;
26696 resultobj
= SWIG_FromInt((int)result
);
26703 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26706 PyObject
* obj0
= 0 ;
26707 char *kwnames
[] = {
26708 (char *) "self", NULL
26711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26716 (arg1
)->base_OnLeave();
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 Py_INCREF(Py_None
); resultobj
= Py_None
;
26728 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26729 PyObject
*resultobj
;
26730 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26734 PyObject
* obj0
= 0 ;
26735 PyObject
* obj1
= 0 ;
26736 PyObject
* obj2
= 0 ;
26737 char *kwnames
[] = {
26738 (char *) "self",(char *) "x",(char *) "y", NULL
26741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26744 arg2
= (int) SWIG_AsInt(obj1
);
26745 if (PyErr_Occurred()) SWIG_fail
;
26746 arg3
= (int) SWIG_AsInt(obj2
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26764 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
;
26766 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26771 PyObject
* obj0
= 0 ;
26772 PyObject
* obj1
= 0 ;
26773 PyObject
* obj2
= 0 ;
26774 PyObject
* obj3
= 0 ;
26775 char *kwnames
[] = {
26776 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26782 arg2
= (int) SWIG_AsInt(obj1
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26784 arg3
= (int) SWIG_AsInt(obj2
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26786 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26790 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26792 wxPyEndAllowThreads(__tstate
);
26793 if (PyErr_Occurred()) SWIG_fail
;
26795 resultobj
= SWIG_FromInt((int)result
);
26802 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26805 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26807 return Py_BuildValue((char *)"");
26809 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26810 PyObject
*resultobj
;
26811 wxClipboard
*result
;
26812 char *kwnames
[] = {
26816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 result
= (wxClipboard
*)new wxClipboard();
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26831 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26832 PyObject
*resultobj
;
26833 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26834 PyObject
* obj0
= 0 ;
26835 char *kwnames
[] = {
26836 (char *) "self", NULL
26839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26849 Py_INCREF(Py_None
); resultobj
= Py_None
;
26856 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26857 PyObject
*resultobj
;
26858 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26860 PyObject
* obj0
= 0 ;
26861 char *kwnames
[] = {
26862 (char *) "self", NULL
26865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 result
= (bool)(arg1
)->Open();
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26884 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26885 PyObject
*resultobj
;
26886 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26887 PyObject
* obj0
= 0 ;
26888 char *kwnames
[] = {
26889 (char *) "self", NULL
26892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 wxPyEndAllowThreads(__tstate
);
26900 if (PyErr_Occurred()) SWIG_fail
;
26902 Py_INCREF(Py_None
); resultobj
= Py_None
;
26909 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26910 PyObject
*resultobj
;
26911 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26913 PyObject
* obj0
= 0 ;
26914 char *kwnames
[] = {
26915 (char *) "self", NULL
26918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26923 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26925 wxPyEndAllowThreads(__tstate
);
26926 if (PyErr_Occurred()) SWIG_fail
;
26929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26937 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26938 PyObject
*resultobj
;
26939 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26940 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 char *kwnames
[] = {
26945 (char *) "self",(char *) "data", NULL
26948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26952 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26955 result
= (bool)(arg1
)->AddData(arg2
);
26957 wxPyEndAllowThreads(__tstate
);
26958 if (PyErr_Occurred()) SWIG_fail
;
26961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26969 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26970 PyObject
*resultobj
;
26971 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26972 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 char *kwnames
[] = {
26977 (char *) "self",(char *) "data", NULL
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26984 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26987 result
= (bool)(arg1
)->SetData(arg2
);
26989 wxPyEndAllowThreads(__tstate
);
26990 if (PyErr_Occurred()) SWIG_fail
;
26993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27001 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27002 PyObject
*resultobj
;
27003 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27004 wxDataFormat
*arg2
= 0 ;
27006 PyObject
* obj0
= 0 ;
27007 PyObject
* obj1
= 0 ;
27008 char *kwnames
[] = {
27009 (char *) "self",(char *) "format", NULL
27012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27016 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27018 if (arg2
== NULL
) {
27019 PyErr_SetString(PyExc_TypeError
,"null reference");
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27038 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
;
27040 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27041 wxDataObject
*arg2
= 0 ;
27043 PyObject
* obj0
= 0 ;
27044 PyObject
* obj1
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self",(char *) "data", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27053 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27055 if (arg2
== NULL
) {
27056 PyErr_SetString(PyExc_TypeError
,"null reference");
27060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27061 result
= (bool)(arg1
)->GetData(*arg2
);
27063 wxPyEndAllowThreads(__tstate
);
27064 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27075 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
;
27077 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27078 PyObject
* obj0
= 0 ;
27079 char *kwnames
[] = {
27080 (char *) "self", NULL
27083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27090 wxPyEndAllowThreads(__tstate
);
27091 if (PyErr_Occurred()) SWIG_fail
;
27093 Py_INCREF(Py_None
); resultobj
= Py_None
;
27100 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27101 PyObject
*resultobj
;
27102 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27104 PyObject
* obj0
= 0 ;
27105 char *kwnames
[] = {
27106 (char *) "self", NULL
27109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27114 result
= (bool)(arg1
)->Flush();
27116 wxPyEndAllowThreads(__tstate
);
27117 if (PyErr_Occurred()) SWIG_fail
;
27120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27128 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27129 PyObject
*resultobj
;
27130 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27131 bool arg2
= (bool) True
;
27132 PyObject
* obj0
= 0 ;
27133 PyObject
* obj1
= 0 ;
27134 char *kwnames
[] = {
27135 (char *) "self",(char *) "primary", NULL
27138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27142 arg2
= (bool) SWIG_AsBool(obj1
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27147 (arg1
)->UsePrimarySelection(arg2
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27152 Py_INCREF(Py_None
); resultobj
= Py_None
;
27159 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27162 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27164 return Py_BuildValue((char *)"");
27166 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27167 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27172 static PyObject
*_wrap_TheClipboard_get() {
27175 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27180 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27183 wxClipboardLocker
*result
;
27184 PyObject
* obj0
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "clipboard", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27198 wxPyEndAllowThreads(__tstate
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27208 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27211 PyObject
* obj0
= 0 ;
27212 char *kwnames
[] = {
27213 (char *) "self", NULL
27216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27223 wxPyEndAllowThreads(__tstate
);
27224 if (PyErr_Occurred()) SWIG_fail
;
27226 Py_INCREF(Py_None
); resultobj
= Py_None
;
27233 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27237 PyObject
* obj0
= 0 ;
27238 char *kwnames
[] = {
27239 (char *) "self", NULL
27242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27261 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27264 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27266 return Py_BuildValue((char *)"");
27268 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27269 PyObject
*resultobj
;
27270 int arg1
= (int) 0 ;
27271 int arg2
= (int) 0 ;
27272 int arg3
= (int) 0 ;
27273 int arg4
= (int) 0 ;
27274 wxVideoMode
*result
;
27275 PyObject
* obj0
= 0 ;
27276 PyObject
* obj1
= 0 ;
27277 PyObject
* obj2
= 0 ;
27278 PyObject
* obj3
= 0 ;
27279 char *kwnames
[] = {
27280 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27285 arg1
= (int) SWIG_AsInt(obj0
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27289 arg2
= (int) SWIG_AsInt(obj1
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27293 arg3
= (int) SWIG_AsInt(obj2
);
27294 if (PyErr_Occurred()) SWIG_fail
;
27297 arg4
= (int) SWIG_AsInt(obj3
);
27298 if (PyErr_Occurred()) SWIG_fail
;
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27314 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
;
27316 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27317 PyObject
* obj0
= 0 ;
27318 char *kwnames
[] = {
27319 (char *) "self", NULL
27322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 wxPyEndAllowThreads(__tstate
);
27330 if (PyErr_Occurred()) SWIG_fail
;
27332 Py_INCREF(Py_None
); resultobj
= Py_None
;
27339 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27340 PyObject
*resultobj
;
27341 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27342 wxVideoMode
*arg2
= 0 ;
27344 PyObject
* obj0
= 0 ;
27345 PyObject
* obj1
= 0 ;
27346 char *kwnames
[] = {
27347 (char *) "self",(char *) "other", NULL
27350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27354 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27356 if (arg2
== NULL
) {
27357 PyErr_SetString(PyExc_TypeError
,"null reference");
27361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27362 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27376 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27377 PyObject
*resultobj
;
27378 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27380 PyObject
* obj0
= 0 ;
27381 char *kwnames
[] = {
27382 (char *) "self", NULL
27385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27390 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27392 wxPyEndAllowThreads(__tstate
);
27393 if (PyErr_Occurred()) SWIG_fail
;
27395 resultobj
= SWIG_FromInt((int)result
);
27402 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27403 PyObject
*resultobj
;
27404 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27406 PyObject
* obj0
= 0 ;
27407 char *kwnames
[] = {
27408 (char *) "self", NULL
27411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 resultobj
= SWIG_FromInt((int)result
);
27428 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27432 PyObject
* obj0
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 resultobj
= SWIG_FromInt((int)result
);
27454 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27455 PyObject
*resultobj
;
27456 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27458 PyObject
* obj0
= 0 ;
27459 char *kwnames
[] = {
27460 (char *) "self", NULL
27463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27482 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27485 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27487 PyObject
* obj0
= 0 ;
27488 PyObject
* obj1
= 0 ;
27489 char *kwnames
[] = {
27490 (char *) "self",(char *) "other", NULL
27493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27514 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27515 PyObject
*resultobj
;
27516 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27517 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27519 PyObject
* obj0
= 0 ;
27520 PyObject
* obj1
= 0 ;
27521 char *kwnames
[] = {
27522 (char *) "self",(char *) "other", NULL
27525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27546 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27547 PyObject
*resultobj
;
27548 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27550 PyObject
* obj0
= 0 ;
27551 PyObject
* obj1
= 0 ;
27552 char *kwnames
[] = {
27553 (char *) "self",(char *) "w", NULL
27556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27559 arg2
= (int) SWIG_AsInt(obj1
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27561 if (arg1
) (arg1
)->w
= arg2
;
27563 Py_INCREF(Py_None
); resultobj
= Py_None
;
27570 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27571 PyObject
*resultobj
;
27572 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27574 PyObject
* obj0
= 0 ;
27575 char *kwnames
[] = {
27576 (char *) "self", NULL
27579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27582 result
= (int) ((arg1
)->w
);
27584 resultobj
= SWIG_FromInt((int)result
);
27591 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27592 PyObject
*resultobj
;
27593 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27595 PyObject
* obj0
= 0 ;
27596 PyObject
* obj1
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self",(char *) "h", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27604 arg2
= (int) SWIG_AsInt(obj1
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27606 if (arg1
) (arg1
)->h
= arg2
;
27608 Py_INCREF(Py_None
); resultobj
= Py_None
;
27615 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27616 PyObject
*resultobj
;
27617 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27619 PyObject
* obj0
= 0 ;
27620 char *kwnames
[] = {
27621 (char *) "self", NULL
27624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27627 result
= (int) ((arg1
)->h
);
27629 resultobj
= SWIG_FromInt((int)result
);
27636 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
;
27638 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27640 PyObject
* obj0
= 0 ;
27641 PyObject
* obj1
= 0 ;
27642 char *kwnames
[] = {
27643 (char *) "self",(char *) "bpp", NULL
27646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27649 arg2
= (int) SWIG_AsInt(obj1
);
27650 if (PyErr_Occurred()) SWIG_fail
;
27651 if (arg1
) (arg1
)->bpp
= arg2
;
27653 Py_INCREF(Py_None
); resultobj
= Py_None
;
27660 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27661 PyObject
*resultobj
;
27662 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27664 PyObject
* obj0
= 0 ;
27665 char *kwnames
[] = {
27666 (char *) "self", NULL
27669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27672 result
= (int) ((arg1
)->bpp
);
27674 resultobj
= SWIG_FromInt((int)result
);
27681 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
;
27683 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27685 PyObject
* obj0
= 0 ;
27686 PyObject
* obj1
= 0 ;
27687 char *kwnames
[] = {
27688 (char *) "self",(char *) "refresh", NULL
27691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27694 arg2
= (int) SWIG_AsInt(obj1
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27696 if (arg1
) (arg1
)->refresh
= arg2
;
27698 Py_INCREF(Py_None
); resultobj
= Py_None
;
27705 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27709 PyObject
* obj0
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27717 result
= (int) ((arg1
)->refresh
);
27719 resultobj
= SWIG_FromInt((int)result
);
27726 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27729 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27731 return Py_BuildValue((char *)"");
27733 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27734 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27739 static PyObject
*_wrap_DefaultVideoMode_get() {
27742 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27747 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27748 PyObject
*resultobj
;
27749 size_t arg1
= (size_t) 0 ;
27751 PyObject
* obj0
= 0 ;
27752 char *kwnames
[] = {
27753 (char *) "index", NULL
27756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27758 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27759 if (PyErr_Occurred()) SWIG_fail
;
27762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27763 result
= (wxDisplay
*)new wxDisplay(arg1
);
27765 wxPyEndAllowThreads(__tstate
);
27766 if (PyErr_Occurred()) SWIG_fail
;
27768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27775 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27778 PyObject
* obj0
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 wxPyEndAllowThreads(__tstate
);
27791 if (PyErr_Occurred()) SWIG_fail
;
27793 Py_INCREF(Py_None
); resultobj
= Py_None
;
27800 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
;
27803 char *kwnames
[] = {
27807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 result
= (size_t)wxDisplay::GetCount();
27812 wxPyEndAllowThreads(__tstate
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27815 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27822 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27823 PyObject
*resultobj
;
27824 wxPoint
*arg1
= 0 ;
27827 PyObject
* obj0
= 0 ;
27828 char *kwnames
[] = {
27829 (char *) "pt", NULL
27832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27835 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 resultobj
= SWIG_FromInt((int)result
);
27851 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
;
27853 wxWindow
*arg1
= (wxWindow
*) 0 ;
27855 PyObject
* obj0
= 0 ;
27856 char *kwnames
[] = {
27857 (char *) "window", NULL
27860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27865 result
= (int)Display_GetFromWindow(arg1
);
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= SWIG_FromInt((int)result
);
27877 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27878 PyObject
*resultobj
;
27879 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27881 PyObject
* obj0
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27905 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27906 PyObject
*resultobj
;
27907 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27909 PyObject
* obj0
= 0 ;
27910 char *kwnames
[] = {
27911 (char *) "self", NULL
27914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27925 wxRect
* resultptr
;
27926 resultptr
= new wxRect((wxRect
&) result
);
27927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27935 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
;
27937 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27939 PyObject
* obj0
= 0 ;
27940 char *kwnames
[] = {
27941 (char *) "self", NULL
27944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27949 result
= ((wxDisplay
const *)arg1
)->GetName();
27951 wxPyEndAllowThreads(__tstate
);
27952 if (PyErr_Occurred()) SWIG_fail
;
27956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27967 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27968 PyObject
*resultobj
;
27969 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27971 PyObject
* obj0
= 0 ;
27972 char *kwnames
[] = {
27973 (char *) "self", NULL
27976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27981 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27983 wxPyEndAllowThreads(__tstate
);
27984 if (PyErr_Occurred()) SWIG_fail
;
27987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27995 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
;
27997 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27998 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27999 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 char *kwnames
[] = {
28004 (char *) "self",(char *) "mode", NULL
28007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28014 if (arg2
== NULL
) {
28015 PyErr_SetString(PyExc_TypeError
,"null reference");
28020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28021 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28023 wxPyEndAllowThreads(__tstate
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28026 resultobj
= result
;
28033 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
;
28035 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28036 wxVideoMode result
;
28037 PyObject
* obj0
= 0 ;
28038 char *kwnames
[] = {
28039 (char *) "self", NULL
28042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28047 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28049 wxPyEndAllowThreads(__tstate
);
28050 if (PyErr_Occurred()) SWIG_fail
;
28053 wxVideoMode
* resultptr
;
28054 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28063 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
;
28065 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28066 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28067 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28069 PyObject
* obj0
= 0 ;
28070 PyObject
* obj1
= 0 ;
28071 char *kwnames
[] = {
28072 (char *) "self",(char *) "mode", NULL
28075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28079 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28080 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28082 if (arg2
== NULL
) {
28083 PyErr_SetString(PyExc_TypeError
,"null reference");
28088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28089 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28091 wxPyEndAllowThreads(__tstate
);
28092 if (PyErr_Occurred()) SWIG_fail
;
28095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28103 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28106 PyObject
* obj0
= 0 ;
28107 char *kwnames
[] = {
28108 (char *) "self", NULL
28111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28116 (arg1
)->ResetMode();
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28121 Py_INCREF(Py_None
); resultobj
= Py_None
;
28128 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28131 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28133 return Py_BuildValue((char *)"");
28135 static PyMethodDef SwigMethods
[] = {
28136 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28143 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28150 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28210 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28218 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28234 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28239 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28242 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28245 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28251 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28265 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28271 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28277 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28280 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28294 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28297 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28298 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28301 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28328 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28330 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28332 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28334 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28341 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28347 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28360 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28365 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28368 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28385 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28393 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28439 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28467 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28477 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28493 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28509 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28523 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28532 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28575 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28578 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28581 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28585 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28677 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28678 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28679 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28680 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28681 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28682 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28683 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28684 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28685 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28686 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28697 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28742 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28776 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28784 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28785 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28790 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28799 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28806 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28809 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28812 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28817 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28820 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28824 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28827 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28831 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28836 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28840 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28843 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28844 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28854 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28865 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28873 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28881 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28894 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28898 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28916 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28934 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28936 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28937 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28939 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28940 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28942 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28943 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28945 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28946 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28948 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28949 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28951 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28952 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28954 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28955 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28957 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28958 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28960 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28961 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28963 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28964 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28966 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28967 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28969 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28970 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28972 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28973 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28975 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28976 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28978 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28979 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28981 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28982 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28984 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28985 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28987 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28988 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28990 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28991 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28993 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28994 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28996 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28997 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28999 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29000 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29002 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29003 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29005 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29006 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29008 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29009 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29011 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29012 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29014 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29015 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29017 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29018 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29020 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29021 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29023 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29024 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29026 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29027 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29029 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29030 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29032 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29033 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29035 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29036 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29038 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29039 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29041 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29042 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29044 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29045 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29047 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29048 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29050 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29051 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29053 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29054 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29056 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29057 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29059 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29060 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29062 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29063 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29065 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29066 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29068 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29069 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29071 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29072 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29074 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29075 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29077 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29078 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29080 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29081 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29083 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29084 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29086 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29087 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29089 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29090 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29092 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29093 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29095 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29096 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29098 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29099 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29101 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29102 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29104 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29105 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29107 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29108 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29110 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29111 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29113 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29114 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29116 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29117 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29119 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29120 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29122 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29123 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29125 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29126 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29128 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29129 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29131 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29132 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29134 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29135 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29137 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29138 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29140 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29141 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29143 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29144 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29146 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29147 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29149 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29150 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29152 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29153 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29155 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29156 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29158 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29159 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29161 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29162 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29164 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29165 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29167 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29168 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29170 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29171 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29173 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29174 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29176 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29177 return (void *)((wxObject
*) ((wxSizer
*) x
));
29179 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29180 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29182 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29183 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29185 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29186 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29188 static void *_p_wxEventTo_p_wxObject(void *x
) {
29189 return (void *)((wxObject
*) ((wxEvent
*) x
));
29191 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29192 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29194 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29195 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29197 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29198 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29200 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29201 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29203 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29204 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29206 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29207 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29209 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29210 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29212 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29213 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29215 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29216 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29218 static void *_p_wxControlTo_p_wxObject(void *x
) {
29219 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29221 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29222 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29224 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29225 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29227 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29228 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29230 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29231 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29233 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29234 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29236 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29237 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29239 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29240 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29242 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29243 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29245 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29246 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29248 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29249 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29251 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29252 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29254 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29257 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29258 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29260 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29261 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29263 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29264 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29266 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29267 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29269 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29270 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29272 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29273 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29275 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29276 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29278 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29279 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29281 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29282 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29284 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29285 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29287 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29288 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29290 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29291 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29293 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29294 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29296 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29297 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29299 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29300 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29302 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29303 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29305 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29306 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29308 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29309 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29311 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29312 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29314 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29315 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29317 static void *_p_wxImageTo_p_wxObject(void *x
) {
29318 return (void *)((wxObject
*) ((wxImage
*) x
));
29320 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29321 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29323 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29324 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29326 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29327 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29329 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29330 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29332 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29333 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29335 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29336 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29338 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29339 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29341 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29342 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29344 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29345 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29347 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29348 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29350 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29351 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29353 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29354 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29356 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29357 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29359 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29360 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29362 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29363 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29365 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29366 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29368 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29369 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29371 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29372 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29374 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29375 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29377 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29378 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29380 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29381 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29383 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29384 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29386 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29387 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29389 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29390 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29392 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29393 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29395 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29396 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29398 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29399 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29401 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29402 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29404 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29405 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29407 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29408 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29410 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29411 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29413 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29414 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29416 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29417 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29419 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29420 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29422 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29423 return (void *)((wxWindow
*) ((wxControl
*) x
));
29425 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29426 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29428 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29429 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29431 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29432 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29434 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29435 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 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}};
29448 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}};
29449 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}};
29450 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}};
29451 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}};
29452 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}};
29453 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}};
29454 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}};
29455 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}};
29456 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}};
29457 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}};
29458 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}};
29459 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}};
29460 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}};
29461 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}};
29462 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}};
29463 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}};
29464 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}};
29465 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}};
29466 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}};
29467 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}};
29468 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}};
29469 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}};
29470 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}};
29471 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}};
29472 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}};
29473 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}};
29474 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}};
29475 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}};
29476 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}};
29477 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}};
29478 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}};
29479 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}};
29480 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}};
29481 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}};
29482 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}};
29483 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}};
29484 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}};
29485 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}};
29486 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}};
29487 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}};
29488 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}};
29489 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}};
29490 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}};
29491 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}};
29492 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}};
29493 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}};
29494 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}};
29495 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}};
29496 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}};
29497 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}};
29498 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}};
29499 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}};
29500 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}};
29501 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}};
29502 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}};
29503 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}};
29504 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}};
29505 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}};
29506 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}};
29507 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}};
29508 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}};
29509 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}};
29510 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}};
29511 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}};
29512 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}};
29513 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}};
29514 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}};
29515 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}};
29516 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}};
29517 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}};
29518 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}};
29519 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}};
29520 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}};
29521 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}};
29522 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}};
29524 static swig_type_info
*swig_types_initial
[] = {
29525 _swigt__p_wxLogChain
,
29526 _swigt__p_wxMutexGuiLocker
,
29527 _swigt__p_wxMetafile
,
29528 _swigt__p_wxFileHistory
,
29530 _swigt__p_wxDateTime__TimeZone
,
29533 _swigt__p_wxConfigBase
,
29534 _swigt__p_wxDisplay
,
29535 _swigt__p_wxFileType
,
29536 _swigt__p_wxLogGui
,
29538 _swigt__p_wxDataFormat
,
29539 _swigt__p_wxTimerEvent
,
29543 _swigt__p_wxClipboard
,
29544 _swigt__p_wxStopWatch
,
29546 _swigt__p_wxClipboardLocker
,
29548 _swigt__p_wxLogStderr
,
29549 _swigt__p_wxLogTextCtrl
,
29550 _swigt__p_wxTextCtrl
,
29551 _swigt__p_wxBusyCursor
,
29552 _swigt__p_wxPyBitmapDataObject
,
29553 _swigt__p_wxPyTextDataObject
,
29554 _swigt__p_wxBitmapDataObject
,
29555 _swigt__p_wxTextDataObject
,
29556 _swigt__p_wxDataObject
,
29557 _swigt__p_wxFileDataObject
,
29558 _swigt__p_wxCustomDataObject
,
29559 _swigt__p_wxURLDataObject
,
29560 _swigt__p_wxMetafileDataObject
,
29562 _swigt__p_wxTimerRunner
,
29563 _swigt__p_wxLogWindow
,
29564 _swigt__p_wxTimeSpan
,
29565 _swigt__p_wxArrayString
,
29566 _swigt__p_wxWindowDisabler
,
29567 _swigt__p_wxToolTip
,
29568 _swigt__p_wxDataObjectComposite
,
29569 _swigt__p_wxFileConfig
,
29570 _swigt__p_wxSystemSettings
,
29571 _swigt__p_wxVideoMode
,
29572 _swigt__p_wxPyDataObjectSimple
,
29573 _swigt__p_wxDataObjectSimple
,
29574 _swigt__p_wxEvtHandler
,
29577 _swigt__p_wxSingleInstanceChecker
,
29578 _swigt__p_wxFileTypeInfo
,
29581 _swigt__p_wxMimeTypesManager
,
29582 _swigt__p_wxPyArtProvider
,
29583 _swigt__p_wxPyTipProvider
,
29584 _swigt__p_wxTipProvider
,
29585 _swigt__p_wxJoystick
,
29586 _swigt__p_wxSystemOptions
,
29588 _swigt__p_wxJoystickEvent
,
29589 _swigt__p_wxCursor
,
29590 _swigt__p_wxObject
,
29591 _swigt__p_wxOutputStream
,
29592 _swigt__p_wxDateTime
,
29593 _swigt__p_wxPyDropSource
,
29594 _swigt__p_wxWindow
,
29595 _swigt__p_wxString
,
29596 _swigt__p_wxPyProcess
,
29597 _swigt__p_wxBitmap
,
29598 _swigt__p_wxConfig
,
29600 _swigt__p_wxBusyInfo
,
29601 _swigt__p_wxPyDropTarget
,
29602 _swigt__p_wxPyTextDropTarget
,
29603 _swigt__p_wxPyFileDropTarget
,
29604 _swigt__p_wxProcessEvent
,
29606 _swigt__p_wxLogNull
,
29607 _swigt__p_wxColour
,
29608 _swigt__p_wxConfigPathChanger
,
29609 _swigt__p_wxPyTimer
,
29610 _swigt__p_wxDateSpan
,
29615 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29617 static swig_const_info swig_const_table
[] = {
29618 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29619 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29620 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29621 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29622 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29632 SWIGEXPORT(void) SWIG_init(void) {
29633 static PyObject
*SWIG_globals
= 0;
29634 static int typeinit
= 0;
29637 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29638 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29639 d
= PyModule_GetDict(m
);
29642 for (i
= 0; swig_types_initial
[i
]; i
++) {
29643 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29647 SWIG_InstallConstants(d
,swig_const_table
);
29649 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29650 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29651 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29652 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29653 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29654 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29655 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29656 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29657 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29658 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29659 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29660 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29661 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29662 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29663 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29664 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29665 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29666 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29667 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29668 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29669 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29670 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29671 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29672 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29673 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29674 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29675 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29676 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29677 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29678 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29679 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29680 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29681 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29682 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29683 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29684 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29685 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29686 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29687 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29688 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29689 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29690 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29691 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29692 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29693 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29694 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29695 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29696 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29697 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29698 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29699 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29700 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29701 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29702 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29703 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29704 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29705 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29706 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29707 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29708 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29709 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29710 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29711 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29712 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29713 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29714 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29715 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29716 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29717 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29718 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29719 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29720 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29721 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29722 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29723 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29724 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29725 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29726 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29727 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29728 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29729 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29730 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29731 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29732 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29733 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29734 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29735 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29736 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29737 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29738 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29739 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29740 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29741 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29742 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29743 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29744 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29745 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29746 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29747 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29748 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29750 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29752 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29753 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29754 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29755 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29756 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29757 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29758 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29759 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29760 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29761 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29762 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29763 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29764 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29765 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29766 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29767 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29768 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29769 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29770 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29771 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29772 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29773 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29774 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29775 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29776 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29777 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29778 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29779 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29780 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29781 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29782 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29783 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29784 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29785 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29786 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29787 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29788 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29789 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29790 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29791 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29792 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29793 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29794 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29795 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29796 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29797 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29798 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29799 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29800 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29801 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29803 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29805 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29806 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29807 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29808 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29809 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29810 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29811 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29812 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29813 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29814 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29815 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29816 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29817 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29818 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29819 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29820 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29821 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29822 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29823 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29824 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29825 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29826 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29827 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29828 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29829 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29830 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29831 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29832 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29833 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29834 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29835 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29836 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29837 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29838 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29839 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29840 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29841 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29842 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29843 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29844 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29845 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29846 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29847 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29848 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29849 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29850 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29851 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29852 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29853 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29854 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29855 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29856 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29857 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29858 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29859 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29860 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29861 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29862 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29864 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29866 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29867 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29868 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29869 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29870 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29871 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29872 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29873 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29874 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29875 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29876 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29877 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29878 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29879 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29880 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29881 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29882 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29883 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29884 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29885 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29886 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29887 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29888 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29889 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29890 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29891 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29892 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29893 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29894 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29895 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29896 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29897 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29898 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29899 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29900 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29901 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29902 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29903 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29904 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29905 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29906 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29907 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29908 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29909 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29910 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29911 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29912 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29913 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29914 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29915 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29916 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29917 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29918 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29919 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29920 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29921 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29922 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29923 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29924 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29925 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29926 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29927 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29928 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29929 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29930 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29931 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29932 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29933 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29934 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29935 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29936 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29937 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29938 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29939 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29940 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29941 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29942 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29943 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29944 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29945 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29946 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29947 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29948 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29949 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29950 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29951 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29952 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29953 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29954 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29955 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29956 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29957 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29958 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29959 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29960 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29961 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29962 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29963 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29964 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29965 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29966 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29967 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29968 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29969 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29970 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29971 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29972 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29973 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29974 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29975 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29976 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29977 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29978 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29979 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29980 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29981 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29982 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29983 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29984 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29985 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29986 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29987 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29988 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29989 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29990 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29991 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29992 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29993 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29994 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29995 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29996 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29997 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29998 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29999 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30000 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30001 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30002 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30003 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30004 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30005 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30006 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30007 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30008 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30009 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30010 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30011 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30012 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30013 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30014 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30015 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30016 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30017 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30018 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30019 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30020 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30021 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30022 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30023 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30024 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30025 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30026 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30027 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30028 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30029 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30030 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30031 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30032 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30033 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30034 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30035 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30036 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30037 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30038 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30039 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30040 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30041 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30042 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30043 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30044 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30045 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30046 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30047 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30048 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30049 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30050 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30051 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30052 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30053 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30054 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30055 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30056 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30057 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30058 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30059 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30060 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30061 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30062 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30063 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30064 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30065 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30067 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30068 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30069 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30070 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30072 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
30073 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);