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"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 if (PyNumber_Check(obj
))
389 return PyInt_AsLong(obj
);
391 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
392 obj
->ob_type
->tp_name
);
393 PyErr_SetObject(PyExc_TypeError
, errmsg
);
400 #if INT_MAX != LONG_MAX
401 SWIGSTATICINLINE(int)
402 SWIG_AsInt(PyObject
*obj
)
404 return swig_numeric_cast(int,
405 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
406 "int", INT_MIN
, INT_MAX
));
409 #define SWIG_AsInt SWIG_AsLong
413 SWIGSTATICINLINE(int)
414 SWIG_CheckInt(PyObject
* obj
)
417 if (PyErr_Occurred()) {
426 #include <wx/stockitem.h>
428 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
429 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
430 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
432 SWIGSTATICINLINE(int)
433 SWIG_CheckLong(PyObject
* obj
)
436 if (PyErr_Occurred()) {
445 SWIGSTATICINLINE(bool)
446 SWIG_AsBool(PyObject
*obj
)
448 return PyObject_IsTrue(obj
) ? true : false;
452 SWIGSTATICINLINE(int)
453 SWIG_CheckBool(PyObject
* obj
)
456 if (PyErr_Occurred()) {
465 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
471 } else if (target
== Py_None
) {
475 if (!PyTuple_Check(target
)) {
477 target
= PyTuple_New(1);
478 PyTuple_SetItem(target
, 0, o2
);
481 PyTuple_SetItem(o3
, 0, o
);
484 target
= PySequence_Concat(o2
, o3
);
492 SWIGSTATICINLINE(unsigned long)
493 SWIG_AsUnsignedLong(PyObject
* obj
)
495 if (PyLong_Check(obj
)) {
496 return PyLong_AsUnsignedLong(obj
);
498 long i
= SWIG_AsLong(obj
);
499 if ( !PyErr_Occurred() && (i
< 0)) {
500 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
507 SWIGSTATICINLINE(int)
508 SWIG_CheckUnsignedLong(PyObject
* obj
)
510 SWIG_AsUnsignedLong(obj
);
511 if (PyErr_Occurred()) {
520 SWIGSTATICINLINE(PyObject
* )
521 SWIG_FromUnsignedLong(unsigned long value
)
523 return (value
> LONG_MAX
) ?
524 PyLong_FromUnsignedLong(value
)
525 : PyInt_FromLong(swig_numeric_cast(long,value
));
529 bool wxThread_IsMain() {
530 #ifdef WXP_WITH_THREAD
531 return wxThread::IsMain();
538 int wxCaret_GetBlinkTime() {
539 return wxCaret::GetBlinkTime();
542 void wxCaret_SetBlinkTime(int milliseconds
) {
543 wxCaret::SetBlinkTime(milliseconds
);
547 #include <wx/snglinst.h>
551 #include <wx/msw/private.h>
552 #include <wx/dynload.h>
557 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
564 // This one only partially works. Appears to be an undocumented
565 // "standard" convention that not all widgets adhear to. For
566 // example, for some widgets backgrounds or non-client areas may
568 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
572 // This one works much better, except for on XP. On Win2k nearly
573 // all widgets and their children are captured correctly[**]. On
574 // XP with Themes activated most native widgets draw only
575 // partially, if at all. Without themes it works just like on
578 // ** For example the radio buttons in a wxRadioBox are not its
579 // children by default, but you can capture it via the panel
580 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
581 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
582 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
583 PRF_ERASEBKGND
| PRF_OWNED
);
587 // This one is only defined in the latest SDK and is only
588 // available on XP. MSDN says it is similar to sending WM_PRINT
589 // so I expect that it will work similar to the above. Since it
590 // is avaialble only on XP, it can't be compiled like this and
591 // will have to be loaded dynamically.
592 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
597 // Use PrintWindow if available, or fallback to WM_PRINT
598 // otherwise. Unfortunately using PrintWindow is even worse than
599 // WM_PRINT. For most native widgets nothing is drawn to the dc
600 // at all, with or without Themes.
601 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
602 static bool s_triedToLoad
= False
;
603 static PrintWindow_t pfnPrintWindow
= NULL
;
604 if ( !s_triedToLoad
)
607 s_triedToLoad
= True
;
608 wxDynamicLibrary
dllUser32(_T("user32.dll"));
609 if ( dllUser32
.IsLoaded() )
611 wxLogNull nolog
; // Don't report errors here
612 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
617 printf("Using PrintWindow\n");
618 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
622 printf("Using WM_PRINT\n");
623 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
624 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
632 #include <wx/tipdlg.h>
635 class wxPyTipProvider
: public wxTipProvider
{
637 wxPyTipProvider(size_t currentTip
)
638 : wxTipProvider(currentTip
) {}
640 DEC_PYCALLBACK_STRING__pure(GetTip
);
641 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
645 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
646 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
649 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
651 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
653 void wxPyTimer::Notify() {
655 bool blocked
= wxPyBeginBlockThreads();
656 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
657 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
658 wxPyEndBlockThreads(blocked
);
662 void wxPyTimer::base_Notify() {
668 SWIGSTATICINLINE(PyObject
*)
669 SWIG_FromCharPtr(const char* cptr
)
671 size_t size
= cptr
? strlen(cptr
) : 0;
673 if (size
> INT_MAX
) {
674 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
675 SWIG_TypeQuery("char *"), 0);
677 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
686 SWIGSTATICINLINE(unsigned long)
687 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
688 unsigned long max_value
)
690 if (!PyErr_Occurred()) {
691 if (value
> max_value
) {
693 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
694 value
, type
, max_value
);
695 PyErr_SetObject(PyExc_OverflowError
, err
);
703 #if UINT_MAX != ULONG_MAX
704 SWIGSTATICINLINE(unsigned int)
705 SWIG_AsUnsignedInt(PyObject
*obj
)
707 return swig_numeric_cast(unsigned int,
708 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
709 "unsigned int", UINT_MAX
));
712 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
716 SWIGSTATICINLINE(int)
717 SWIG_CheckUnsignedInt(PyObject
* obj
)
719 SWIG_AsUnsignedInt(obj
);
720 if (PyErr_Occurred()) {
728 wxString
Log_TimeStamp(){
730 wxLog::TimeStamp(&msg
);
733 void wxLog_Destroy(wxLog
*self
){ delete self
; }
735 // A wxLog class that can be derived from in wxPython
736 class wxPyLog
: public wxLog
{
738 wxPyLog() : wxLog() {}
740 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
742 bool blocked
= wxPyBeginBlockThreads();
743 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
744 PyObject
* s
= wx2PyString(szString
);
745 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
748 wxPyEndBlockThreads(blocked
);
750 wxLog::DoLog(level
, szString
, t
);
753 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
755 bool blocked
= wxPyBeginBlockThreads();
756 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
757 PyObject
* s
= wx2PyString(szString
);
758 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
761 wxPyEndBlockThreads(blocked
);
763 wxLog::DoLogString(szString
, t
);
772 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
775 #include <wx/joystick.h>
778 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
779 // A C++ stub class for wxJoystick for platforms that don't have it.
780 class wxJoystick
: public wxObject
{
782 wxJoystick(int joystick
= wxJOYSTICK1
) {
783 bool blocked
= wxPyBeginBlockThreads();
784 PyErr_SetString(PyExc_NotImplementedError
,
785 "wxJoystick is not available on this platform.");
786 wxPyEndBlockThreads(blocked
);
788 wxPoint
GetPosition() { return wxPoint(-1,-1); }
789 int GetZPosition() { return -1; }
790 int GetButtonState() { return -1; }
791 int GetPOVPosition() { return -1; }
792 int GetPOVCTSPosition() { return -1; }
793 int GetRudderPosition() { return -1; }
794 int GetUPosition() { return -1; }
795 int GetVPosition() { return -1; }
796 int GetMovementThreshold() { return -1; }
797 void SetMovementThreshold(int threshold
) {}
799 bool IsOk(void) { return False
; }
800 int GetNumberJoysticks() { return -1; }
801 int GetManufacturerId() { return -1; }
802 int GetProductId() { return -1; }
803 wxString
GetProductName() { return wxEmptyString
; }
804 int GetXMin() { return -1; }
805 int GetYMin() { return -1; }
806 int GetZMin() { return -1; }
807 int GetXMax() { return -1; }
808 int GetYMax() { return -1; }
809 int GetZMax() { return -1; }
810 int GetNumberButtons() { return -1; }
811 int GetNumberAxes() { return -1; }
812 int GetMaxButtons() { return -1; }
813 int GetMaxAxes() { return -1; }
814 int GetPollingMin() { return -1; }
815 int GetPollingMax() { return -1; }
816 int GetRudderMin() { return -1; }
817 int GetRudderMax() { return -1; }
818 int GetUMin() { return -1; }
819 int GetUMax() { return -1; }
820 int GetVMin() { return -1; }
821 int GetVMax() { return -1; }
823 bool HasRudder() { return False
; }
824 bool HasZ() { return False
; }
825 bool HasU() { return False
; }
826 bool HasV() { return False
; }
827 bool HasPOV() { return False
; }
828 bool HasPOV4Dir() { return False
; }
829 bool HasPOVCTS() { return False
; }
831 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
832 bool ReleaseCapture() { return False
; }
837 #include <wx/sound.h>
841 // A C++ stub class for wxWave for platforms that don't have it.
842 class wxSound
: public wxObject
846 bool blocked
= wxPyBeginBlockThreads();
847 PyErr_SetString(PyExc_NotImplementedError
,
848 "wxSound is not available on this platform.");
849 wxPyEndBlockThreads(blocked
);
851 wxSound(const wxString
&/*, bool*/) {
852 bool blocked
= wxPyBeginBlockThreads();
853 PyErr_SetString(PyExc_NotImplementedError
,
854 "wxSound is not available on this platform.");
855 wxPyEndBlockThreads(blocked
);
857 wxSound(int, const wxByte
*) {
858 bool blocked
= wxPyBeginBlockThreads();
859 PyErr_SetString(PyExc_NotImplementedError
,
860 "wxSound is not available on this platform.");
861 wxPyEndBlockThreads(blocked
);
866 bool Create(const wxString
&/*, bool*/) { return false; }
867 bool Create(int, const wxByte
*) { return false; };
868 bool IsOk() { return false; };
869 bool Play(unsigned) const { return false; }
870 static bool Play(const wxString
&, unsigned) { return false; }
871 static void Stop() {}
876 wxSound
*new_wxSound(wxString
const &fileName
){
877 if (fileName
.Length() == 0)
880 return new wxSound(fileName
);
882 wxSound
*new_wxSound(PyObject
*data
){
883 unsigned char* buffer
; int size
;
884 wxSound
*sound
= NULL
;
886 bool blocked
= wxPyBeginBlockThreads();
887 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
889 sound
= new wxSound(size
, buffer
);
891 wxPyEndBlockThreads(blocked
);
894 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
896 unsigned char* buffer
;
900 bool blocked
= wxPyBeginBlockThreads();
901 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
903 rv
= self
->Create(size
, buffer
);
905 wxPyEndBlockThreads(blocked
);
908 bool blocked
= wxPyBeginBlockThreads();
909 PyErr_SetString(PyExc_NotImplementedError
,
910 "Create from data is not available on this platform.");
911 wxPyEndBlockThreads(blocked
);
915 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
917 #include <wx/mimetype.h>
919 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
921 if (self
->GetMimeType(&str
))
922 return wx2PyString(str
);
926 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
928 if (self
->GetMimeTypes(arr
))
929 return wxArrayString2PyList_helper(arr
);
933 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
935 if (self
->GetExtensions(arr
))
936 return wxArrayString2PyList_helper(arr
);
940 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
942 if (self
->GetIcon(&loc
))
943 return new wxIcon(loc
);
947 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
949 if (self
->GetIcon(&loc
)) {
950 wxString iconFile
= loc
.GetFileName();
955 // Make a tuple and put the values in it
956 bool blocked
= wxPyBeginBlockThreads();
957 PyObject
* tuple
= PyTuple_New(3);
958 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
959 wxT("wxIcon"), True
));
960 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
961 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
962 wxPyEndBlockThreads(blocked
);
968 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
970 if (self
->GetDescription(&str
))
971 return wx2PyString(str
);
975 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
977 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
978 return wx2PyString(str
);
982 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
984 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
985 return wx2PyString(str
);
989 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
991 wxArrayString commands
;
992 if (self
->GetAllCommands(&verbs
, &commands
,
993 wxFileType::MessageParameters(filename
, mimetype
))) {
994 bool blocked
= wxPyBeginBlockThreads();
995 PyObject
* tuple
= PyTuple_New(2);
996 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
997 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
998 wxPyEndBlockThreads(blocked
);
1004 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1005 return wxFileType::ExpandCommand(command
,
1006 wxFileType::MessageParameters(filename
, mimetype
));
1008 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1010 self
->EnumAllFileTypes(arr
);
1011 return wxArrayString2PyList_helper(arr
);
1014 #include <wx/artprov.h>
1016 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1017 static const wxString
wxPyART_MENU(wxART_MENU
);
1018 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1019 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1020 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1021 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1022 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1023 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1024 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1025 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1026 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1027 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1028 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1029 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1030 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1031 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1032 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1033 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1034 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1035 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1036 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1037 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1038 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1039 static const wxString
wxPyART_HELP(wxART_HELP
);
1040 static const wxString
wxPyART_TIP(wxART_TIP
);
1041 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1042 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1043 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1044 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1045 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1046 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1047 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1048 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1049 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1050 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1051 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1052 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1053 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1054 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1055 // Python aware wxArtProvider
1056 class wxPyArtProvider
: public wxArtProvider
{
1059 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1060 const wxArtClient
& client
,
1061 const wxSize
& size
) {
1062 wxBitmap rval
= wxNullBitmap
;
1063 bool blocked
= wxPyBeginBlockThreads();
1064 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1065 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1069 s1
= wx2PyString(id
);
1070 s2
= wx2PyString(client
);
1071 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1076 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1081 wxPyEndBlockThreads(blocked
);
1088 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1092 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1093 PyObject
* ret
= PyTuple_New(3);
1095 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1096 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1097 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1102 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1107 cont
= self
->GetFirstGroup(value
, index
);
1108 return __EnumerationHelper(cont
, value
, index
);
1110 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1114 cont
= self
->GetNextGroup(value
, index
);
1115 return __EnumerationHelper(cont
, value
, index
);
1117 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1122 cont
= self
->GetFirstEntry(value
, index
);
1123 return __EnumerationHelper(cont
, value
, index
);
1125 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1129 cont
= self
->GetNextEntry(value
, index
);
1130 return __EnumerationHelper(cont
, value
, index
);
1132 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1134 self
->Read(key
, &rv
, defaultVal
);
1138 SWIGSTATICINLINE(double)
1139 SWIG_AsDouble(PyObject
*obj
)
1141 if (PyNumber_Check(obj
))
1142 return PyFloat_AsDouble(obj
);
1144 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1145 obj
->ob_type
->tp_name
);
1146 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1153 SWIGSTATICINLINE(int)
1154 SWIG_CheckDouble(PyObject
* obj
)
1157 if (PyErr_Occurred()) {
1165 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1167 self
->Read(key
, &rv
, defaultVal
);
1170 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1172 self
->Read(key
, &rv
, defaultVal
);
1176 #include <wx/datetime.h>
1179 static const wxString
wxPyDateFormatStr(wxT("%c"));
1180 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1182 #define LOCAL_TZ wxDateTime::Local
1185 #if UINT_MAX < LONG_MAX
1186 #define SWIG_FromUnsignedInt SWIG_FromLong
1188 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1191 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1192 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1193 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1194 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1195 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1196 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1197 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1198 return (*self
< *other
);
1200 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1201 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1202 return (*self
<= *other
);
1204 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1205 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1206 return (*self
> *other
);
1208 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1209 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1210 return (*self
>= *other
);
1212 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1213 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1214 return (*self
== *other
);
1216 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1217 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1218 return (*self
!= *other
);
1220 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1222 const wxChar
* _date
= date
;
1223 rv
= self
->ParseRfc822Date(_date
);
1224 if (rv
== NULL
) return -1;
1227 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1229 const wxChar
* _date
= date
;
1230 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1231 if (rv
== NULL
) return -1;
1234 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1236 const wxChar
* _datetime
= datetime
;
1237 rv
= self
->ParseDateTime(_datetime
);
1238 if (rv
== NULL
) return -1;
1239 return rv
- _datetime
;
1241 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1243 const wxChar
* _date
= date
;
1244 rv
= self
->ParseDate(_date
);
1245 if (rv
== NULL
) return -1;
1248 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1250 const wxChar
* _time
= time
;
1251 rv
= self
->ParseTime(_time
);
1252 if (rv
== NULL
) return -1;
1255 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1256 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1257 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1258 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1259 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1260 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1261 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1262 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1263 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1264 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1265 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1266 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1267 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1268 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1269 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1270 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1272 #include <wx/dataobj.h>
1274 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1275 size_t count
= self
->GetFormatCount(dir
);
1276 wxDataFormat
* formats
= new wxDataFormat
[count
];
1277 self
->GetAllFormats(formats
, dir
);
1279 bool blocked
= wxPyBeginBlockThreads();
1280 PyObject
* list
= PyList_New(count
);
1281 for (size_t i
=0; i
<count
; i
++) {
1282 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1283 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1284 PyList_Append(list
, obj
);
1287 wxPyEndBlockThreads(blocked
);
1291 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1292 PyObject
* rval
= NULL
;
1293 size_t size
= self
->GetDataSize(format
);
1294 bool blocked
= wxPyBeginBlockThreads();
1296 char* buf
= new char[size
];
1297 if (self
->GetDataHere(format
, buf
))
1298 rval
= PyString_FromStringAndSize(buf
, size
);
1305 wxPyEndBlockThreads(blocked
);
1308 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1310 bool blocked
= wxPyBeginBlockThreads();
1311 if (PyString_Check(data
)) {
1312 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1315 // raise a TypeError if not a string
1316 PyErr_SetString(PyExc_TypeError
, "String expected.");
1319 wxPyEndBlockThreads(blocked
);
1322 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1323 PyObject
* rval
= NULL
;
1324 size_t size
= self
->GetDataSize();
1325 bool blocked
= wxPyBeginBlockThreads();
1327 char* buf
= new char[size
];
1328 if (self
->GetDataHere(buf
))
1329 rval
= PyString_FromStringAndSize(buf
, size
);
1336 wxPyEndBlockThreads(blocked
);
1339 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1341 bool blocked
= wxPyBeginBlockThreads();
1342 if (PyString_Check(data
)) {
1343 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1346 // raise a TypeError if not a string
1347 PyErr_SetString(PyExc_TypeError
, "String expected.");
1350 wxPyEndBlockThreads(blocked
);
1353 // Create a new class for wxPython to use
1354 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1356 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1357 : wxDataObjectSimple(format
) {}
1359 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1360 bool GetDataHere(void *buf
) const;
1361 bool SetData(size_t len
, const void *buf
) const;
1365 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1367 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1368 // We need to get the data for this object and write it to buf. I think
1369 // the best way to do this for wxPython is to have the Python method
1370 // return either a string or None and then act appropriately with the
1374 bool blocked
= wxPyBeginBlockThreads();
1375 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1377 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1379 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1381 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1385 wxPyEndBlockThreads(blocked
);
1389 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1390 // For this one we simply need to make a string from buf and len
1391 // and send it to the Python method.
1393 bool blocked
= wxPyBeginBlockThreads();
1394 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1395 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1396 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1399 wxPyEndBlockThreads(blocked
);
1403 // Create a new class for wxPython to use
1404 class wxPyTextDataObject
: public wxTextDataObject
{
1406 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1407 : wxTextDataObject(text
) {}
1409 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1410 DEC_PYCALLBACK_STRING__const(GetText
);
1411 DEC_PYCALLBACK__STRING(SetText
);
1415 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1416 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1417 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1420 // Create a new class for wxPython to use
1421 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1423 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1424 : wxBitmapDataObject(bitmap
) {}
1426 wxBitmap
GetBitmap() const;
1427 void SetBitmap(const wxBitmap
& bitmap
);
1431 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1432 wxBitmap
* rval
= &wxNullBitmap
;
1433 bool blocked
= wxPyBeginBlockThreads();
1434 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1437 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1439 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1444 wxPyEndBlockThreads(blocked
);
1448 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1449 bool blocked
= wxPyBeginBlockThreads();
1450 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1451 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1452 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1455 wxPyEndBlockThreads(blocked
);
1458 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1460 bool blocked
= wxPyBeginBlockThreads();
1461 if (PyString_Check(data
)) {
1462 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1465 // raise a TypeError if not a string
1466 PyErr_SetString(PyExc_TypeError
, "String expected.");
1469 wxPyEndBlockThreads(blocked
);
1472 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1474 bool blocked
= wxPyBeginBlockThreads();
1475 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1476 wxPyEndBlockThreads(blocked
);
1480 #include <wx/metafile.h>
1483 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1486 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1487 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1488 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1489 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1490 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1493 class wxPyTextDropTarget
: public wxTextDropTarget
{
1495 wxPyTextDropTarget() {}
1497 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1499 DEC_PYCALLBACK__(OnLeave
);
1500 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1501 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1502 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1503 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1508 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1509 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1510 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1511 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1512 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1513 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1517 class wxPyFileDropTarget
: public wxFileDropTarget
{
1519 wxPyFileDropTarget() {}
1521 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1523 DEC_PYCALLBACK__(OnLeave
);
1524 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1525 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1526 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1527 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1532 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1533 const wxArrayString
& filenames
) {
1535 bool blocked
= wxPyBeginBlockThreads();
1536 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1537 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1538 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1541 wxPyEndBlockThreads(blocked
);
1547 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1548 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1549 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1550 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1551 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1556 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1558 #include <wx/display.h>
1560 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1561 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1563 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1565 #include <wx/dynarray.h>
1566 #include <wx/vidmode.h>
1568 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1569 #include "wx/arrimpl.cpp"
1570 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1571 const wxVideoMode wxDefaultVideoMode
;
1576 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1579 static size_t GetCount()
1580 { wxPyRaiseNotImplemented(); return 0; }
1582 static int GetFromPoint(const wxPoint
& pt
)
1583 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1584 static int GetFromWindow(wxWindow
*window
)
1585 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1587 virtual bool IsOk() const { return false; }
1588 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1589 virtual wxString
GetName() const { return wxEmptyString
; }
1590 bool IsPrimary() const { return false; }
1592 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1593 { wxArrayVideoModes a
; return a
; }
1595 virtual wxVideoMode
GetCurrentMode() const
1596 { return wxDefaultVideoMode
; }
1598 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1605 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1606 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1607 PyObject
* pyList
= NULL
;
1608 wxArrayVideoModes arr
= self
->GetModes(mode
);
1609 bool blocked
= wxPyBeginBlockThreads();
1610 pyList
= PyList_New(0);
1611 for (int i
=0; i
< arr
.GetCount(); i
++) {
1612 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1613 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1614 PyList_Append(pyList
, pyObj
);
1617 wxPyEndBlockThreads(blocked
);
1623 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1624 PyObject
*resultobj
;
1627 PyObject
* obj0
= 0 ;
1629 (char *) "index", NULL
1632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1633 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1634 if (PyErr_Occurred()) SWIG_fail
;
1636 if (!wxPyCheckForApp()) SWIG_fail
;
1637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1638 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1640 wxPyEndAllowThreads(__tstate
);
1641 if (PyErr_Occurred()) SWIG_fail
;
1644 wxColour
* resultptr
;
1645 resultptr
= new wxColour((wxColour
&) result
);
1646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1654 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1655 PyObject
*resultobj
;
1658 PyObject
* obj0
= 0 ;
1660 (char *) "index", NULL
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1664 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 if (!wxPyCheckForApp()) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1676 resultptr
= new wxFont((wxFont
&) result
);
1677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1685 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1686 PyObject
*resultobj
;
1689 PyObject
* obj0
= 0 ;
1691 (char *) "index", NULL
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1695 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1698 if (!wxPyCheckForApp()) SWIG_fail
;
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1705 resultobj
= SWIG_FromInt((int)result
);
1712 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1716 PyObject
* obj0
= 0 ;
1718 (char *) "index", NULL
1721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1722 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1723 if (PyErr_Occurred()) SWIG_fail
;
1725 if (!wxPyCheckForApp()) SWIG_fail
;
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) SWIG_fail
;
1733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1741 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1742 PyObject
*resultobj
;
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1750 if (!wxPyCheckForApp()) SWIG_fail
;
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 result
= (int)wxSystemSettings::GetScreenType();
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 resultobj
= SWIG_FromInt((int)result
);
1764 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1767 PyObject
* obj0
= 0 ;
1769 (char *) "screen", NULL
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1773 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1774 if (PyErr_Occurred()) SWIG_fail
;
1776 if (!wxPyCheckForApp()) SWIG_fail
;
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1783 Py_INCREF(Py_None
); resultobj
= Py_None
;
1790 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1793 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1795 return Py_BuildValue((char *)"");
1797 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1798 PyObject
*resultobj
;
1799 wxSystemOptions
*result
;
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1807 result
= (wxSystemOptions
*)new wxSystemOptions();
1809 wxPyEndAllowThreads(__tstate
);
1810 if (PyErr_Occurred()) SWIG_fail
;
1812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1819 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1820 PyObject
*resultobj
;
1821 wxString
*arg1
= 0 ;
1822 wxString
*arg2
= 0 ;
1823 bool temp1
= False
;
1824 bool temp2
= False
;
1825 PyObject
* obj0
= 0 ;
1826 PyObject
* obj1
= 0 ;
1828 (char *) "name",(char *) "value", NULL
1831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1833 arg1
= wxString_in_helper(obj0
);
1834 if (arg1
== NULL
) SWIG_fail
;
1838 arg2
= wxString_in_helper(obj1
);
1839 if (arg2
== NULL
) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1849 Py_INCREF(Py_None
); resultobj
= Py_None
;
1872 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxString
*arg1
= 0 ;
1876 bool temp1
= False
;
1877 PyObject
* obj0
= 0 ;
1878 PyObject
* obj1
= 0 ;
1880 (char *) "name",(char *) "value", NULL
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1885 arg1
= wxString_in_helper(obj0
);
1886 if (arg1
== NULL
) SWIG_fail
;
1889 arg2
= (int) SWIG_AsInt(obj1
);
1890 if (PyErr_Occurred()) SWIG_fail
;
1892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1893 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1895 wxPyEndAllowThreads(__tstate
);
1896 if (PyErr_Occurred()) SWIG_fail
;
1898 Py_INCREF(Py_None
); resultobj
= Py_None
;
1913 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1914 PyObject
*resultobj
;
1915 wxString
*arg1
= 0 ;
1917 bool temp1
= False
;
1918 PyObject
* obj0
= 0 ;
1920 (char *) "name", NULL
1923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1925 arg1
= wxString_in_helper(obj0
);
1926 if (arg1
== NULL
) SWIG_fail
;
1930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1931 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1933 wxPyEndAllowThreads(__tstate
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1957 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxString
*arg1
= 0 ;
1961 bool temp1
= False
;
1962 PyObject
* obj0
= 0 ;
1964 (char *) "name", NULL
1967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1969 arg1
= wxString_in_helper(obj0
);
1970 if (arg1
== NULL
) SWIG_fail
;
1974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1975 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1977 wxPyEndAllowThreads(__tstate
);
1978 if (PyErr_Occurred()) SWIG_fail
;
1980 resultobj
= SWIG_FromInt((int)result
);
1995 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1996 PyObject
*resultobj
;
1997 wxString
*arg1
= 0 ;
1999 bool temp1
= False
;
2000 PyObject
* obj0
= 0 ;
2002 (char *) "name", NULL
2005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2007 arg1
= wxString_in_helper(obj0
);
2008 if (arg1
== NULL
) SWIG_fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2035 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
2037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2038 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2040 return Py_BuildValue((char *)"");
2042 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
2043 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2048 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2053 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2055 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2062 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2063 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2068 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2073 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2075 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2082 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2083 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2088 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2093 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2095 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2102 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2103 PyObject
*resultobj
;
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 result
= (long)wxNewId();
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2117 resultobj
= SWIG_FromLong((long)result
);
2124 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
*resultobj
;
2127 PyObject
* obj0
= 0 ;
2132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2133 arg1
= (long) SWIG_AsLong(obj0
);
2134 if (PyErr_Occurred()) SWIG_fail
;
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2142 Py_INCREF(Py_None
); resultobj
= Py_None
;
2149 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
*resultobj
;
2156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 result
= (long)wxGetCurrentId();
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2164 resultobj
= SWIG_FromLong((long)result
);
2171 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
*resultobj
;
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2179 if (!wxPyCheckForApp()) SWIG_fail
;
2180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2183 wxPyEndAllowThreads(__tstate
);
2184 if (PyErr_Occurred()) SWIG_fail
;
2186 Py_INCREF(Py_None
); resultobj
= Py_None
;
2193 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2194 PyObject
*resultobj
;
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2201 if (!wxPyCheckForApp()) SWIG_fail
;
2202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2205 wxPyEndAllowThreads(__tstate
);
2206 if (PyErr_Occurred()) SWIG_fail
;
2208 Py_INCREF(Py_None
); resultobj
= Py_None
;
2215 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2216 PyObject
*resultobj
;
2217 bool arg1
= (bool) True
;
2219 PyObject
* obj0
= 0 ;
2221 (char *) "resetTimer", NULL
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2226 arg1
= (bool) SWIG_AsBool(obj0
);
2227 if (PyErr_Occurred()) SWIG_fail
;
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 result
= (long)wxGetElapsedTime(arg1
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2236 resultobj
= SWIG_FromLong((long)result
);
2243 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
*resultobj
;
2245 int *arg1
= (int *) 0 ;
2246 int *arg2
= (int *) 0 ;
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2257 if (!wxPyCheckForApp()) SWIG_fail
;
2258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2259 wxGetMousePosition(arg1
,arg2
);
2261 wxPyEndAllowThreads(__tstate
);
2262 if (PyErr_Occurred()) SWIG_fail
;
2264 Py_INCREF(Py_None
); resultobj
= Py_None
;
2266 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2267 resultobj
= t_output_helper(resultobj
,o
);
2270 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2271 resultobj
= t_output_helper(resultobj
,o
);
2279 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2280 PyObject
*resultobj
;
2286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2289 result
= (bool)wxIsBusy();
2291 wxPyEndAllowThreads(__tstate
);
2292 if (PyErr_Occurred()) SWIG_fail
;
2295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2303 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
*resultobj
;
2310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2315 wxPyEndAllowThreads(__tstate
);
2316 if (PyErr_Occurred()) SWIG_fail
;
2320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2331 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2332 PyObject
*resultobj
;
2333 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2334 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2336 bool temp1
= False
;
2337 PyObject
* obj0
= 0 ;
2339 (char *) "command", NULL
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2345 arg1
= wxString_in_helper(obj0
);
2346 if (arg1
== NULL
) SWIG_fail
;
2351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2352 result
= (bool)wxShell((wxString
const &)*arg1
);
2354 wxPyEndAllowThreads(__tstate
);
2355 if (PyErr_Occurred()) SWIG_fail
;
2358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2374 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2375 PyObject
*resultobj
;
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2385 wxPyEndAllowThreads(__tstate
);
2386 if (PyErr_Occurred()) SWIG_fail
;
2388 Py_INCREF(Py_None
); resultobj
= Py_None
;
2395 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2396 PyObject
*resultobj
;
2397 int *arg1
= (int *) 0 ;
2398 int *arg2
= (int *) 0 ;
2408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2411 result
= (int)wxGetOsVersion(arg1
,arg2
);
2413 wxPyEndAllowThreads(__tstate
);
2414 if (PyErr_Occurred()) SWIG_fail
;
2416 resultobj
= SWIG_FromInt((int)result
);
2418 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2419 resultobj
= t_output_helper(resultobj
,o
);
2422 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2423 resultobj
= t_output_helper(resultobj
,o
);
2431 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
*resultobj
;
2438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2441 result
= wxGetOsDescription();
2443 wxPyEndAllowThreads(__tstate
);
2444 if (PyErr_Occurred()) SWIG_fail
;
2448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2459 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
*resultobj
;
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 result
= (long)wxGetFreeMemory();
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2474 resultobj
= SWIG_FromLong((long)result
);
2481 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
*resultobj
;
2485 PyObject
* obj0
= 0 ;
2487 (char *) "wFlags", NULL
2490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2491 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2492 if (PyErr_Occurred()) SWIG_fail
;
2494 if (!wxPyCheckForApp()) SWIG_fail
;
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2496 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2510 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2511 PyObject
*resultobj
;
2513 PyObject
* obj0
= 0 ;
2515 (char *) "secs", NULL
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2519 arg1
= (int) SWIG_AsInt(obj0
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2525 wxPyEndAllowThreads(__tstate
);
2526 if (PyErr_Occurred()) SWIG_fail
;
2528 Py_INCREF(Py_None
); resultobj
= Py_None
;
2535 static PyObject
*_wrap_MilliSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2536 PyObject
*resultobj
;
2537 unsigned long arg1
;
2538 PyObject
* obj0
= 0 ;
2540 (char *) "milliseconds", NULL
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2544 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2553 Py_INCREF(Py_None
); resultobj
= Py_None
;
2560 static PyObject
*_wrap_MicroSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
*resultobj
;
2562 unsigned long arg1
;
2563 PyObject
* obj0
= 0 ;
2565 (char *) "microseconds", NULL
2568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2569 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2575 wxPyEndAllowThreads(__tstate
);
2576 if (PyErr_Occurred()) SWIG_fail
;
2578 Py_INCREF(Py_None
); resultobj
= Py_None
;
2585 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2586 PyObject
*resultobj
;
2588 PyObject
* obj0
= 0 ;
2590 (char *) "enable", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2594 arg1
= (bool) SWIG_AsBool(obj0
);
2595 if (PyErr_Occurred()) SWIG_fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 wxEnableTopLevelWindows(arg1
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 Py_INCREF(Py_None
); resultobj
= Py_None
;
2610 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2612 wxString
*arg1
= 0 ;
2614 bool temp1
= False
;
2615 PyObject
* obj0
= 0 ;
2620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2622 arg1
= wxString_in_helper(obj0
);
2623 if (arg1
== NULL
) SWIG_fail
;
2627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2628 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2630 wxPyEndAllowThreads(__tstate
);
2631 if (PyErr_Occurred()) SWIG_fail
;
2635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2654 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2655 PyObject
*resultobj
;
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2664 result
= wxGetEmailAddress();
2666 wxPyEndAllowThreads(__tstate
);
2667 if (PyErr_Occurred()) SWIG_fail
;
2671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2682 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
*resultobj
;
2689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2692 result
= wxGetHostName();
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2699 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2701 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2710 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
*resultobj
;
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2720 result
= wxGetFullHostName();
2722 wxPyEndAllowThreads(__tstate
);
2723 if (PyErr_Occurred()) SWIG_fail
;
2727 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2729 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2738 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 result
= wxGetUserId();
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2766 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2776 result
= wxGetUserName();
2778 wxPyEndAllowThreads(__tstate
);
2779 if (PyErr_Occurred()) SWIG_fail
;
2783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2794 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2795 PyObject
*resultobj
;
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2804 result
= wxGetHomeDir();
2806 wxPyEndAllowThreads(__tstate
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2811 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2813 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2822 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
*resultobj
;
2824 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2825 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2827 bool temp1
= False
;
2828 PyObject
* obj0
= 0 ;
2830 (char *) "user", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2836 arg1
= wxString_in_helper(obj0
);
2837 if (arg1
== NULL
) SWIG_fail
;
2842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2843 result
= wxGetUserHome((wxString
const &)*arg1
);
2845 wxPyEndAllowThreads(__tstate
);
2846 if (PyErr_Occurred()) SWIG_fail
;
2850 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2852 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2869 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2870 PyObject
*resultobj
;
2871 unsigned long result
;
2876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2879 result
= (unsigned long)wxGetProcessId();
2881 wxPyEndAllowThreads(__tstate
);
2882 if (PyErr_Occurred()) SWIG_fail
;
2884 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2891 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2892 PyObject
*resultobj
;
2897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 wxPyEndAllowThreads(__tstate
);
2903 if (PyErr_Occurred()) SWIG_fail
;
2905 Py_INCREF(Py_None
); resultobj
= Py_None
;
2912 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2913 PyObject
*resultobj
;
2914 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2915 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2916 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2917 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2918 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2919 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2920 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2921 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2922 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2923 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2924 int arg6
= (int) 0 ;
2925 wxWindow
*arg7
= (wxWindow
*) NULL
;
2926 int arg8
= (int) -1 ;
2927 int arg9
= (int) -1 ;
2929 bool temp1
= False
;
2930 bool temp2
= False
;
2931 bool temp3
= False
;
2932 bool temp4
= False
;
2933 bool temp5
= False
;
2934 PyObject
* obj0
= 0 ;
2935 PyObject
* obj1
= 0 ;
2936 PyObject
* obj2
= 0 ;
2937 PyObject
* obj3
= 0 ;
2938 PyObject
* obj4
= 0 ;
2939 PyObject
* obj5
= 0 ;
2940 PyObject
* obj6
= 0 ;
2941 PyObject
* obj7
= 0 ;
2942 PyObject
* obj8
= 0 ;
2944 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2950 arg1
= wxString_in_helper(obj0
);
2951 if (arg1
== NULL
) SWIG_fail
;
2957 arg2
= wxString_in_helper(obj1
);
2958 if (arg2
== NULL
) SWIG_fail
;
2964 arg3
= wxString_in_helper(obj2
);
2965 if (arg3
== NULL
) SWIG_fail
;
2971 arg4
= wxString_in_helper(obj3
);
2972 if (arg4
== NULL
) SWIG_fail
;
2978 arg5
= wxString_in_helper(obj4
);
2979 if (arg5
== NULL
) SWIG_fail
;
2984 arg6
= (int) SWIG_AsInt(obj5
);
2985 if (PyErr_Occurred()) SWIG_fail
;
2988 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2992 arg8
= (int) SWIG_AsInt(obj7
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2996 arg9
= (int) SWIG_AsInt(obj8
);
2997 if (PyErr_Occurred()) SWIG_fail
;
3000 if (!wxPyCheckForApp()) SWIG_fail
;
3001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3002 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
3004 wxPyEndAllowThreads(__tstate
);
3005 if (PyErr_Occurred()) SWIG_fail
;
3009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3060 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3061 PyObject
*resultobj
;
3062 wxString
*arg1
= 0 ;
3063 wxString
*arg2
= 0 ;
3064 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3065 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3066 wxWindow
*arg4
= (wxWindow
*) NULL
;
3068 bool temp1
= False
;
3069 bool temp2
= False
;
3070 bool temp3
= False
;
3071 PyObject
* obj0
= 0 ;
3072 PyObject
* obj1
= 0 ;
3073 PyObject
* obj2
= 0 ;
3074 PyObject
* obj3
= 0 ;
3076 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3081 arg1
= wxString_in_helper(obj0
);
3082 if (arg1
== NULL
) SWIG_fail
;
3086 arg2
= wxString_in_helper(obj1
);
3087 if (arg2
== NULL
) SWIG_fail
;
3092 arg3
= wxString_in_helper(obj2
);
3093 if (arg3
== NULL
) SWIG_fail
;
3098 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3102 if (!wxPyCheckForApp()) SWIG_fail
;
3103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3104 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3106 wxPyEndAllowThreads(__tstate
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3146 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3147 PyObject
*resultobj
;
3148 wxString
*arg1
= 0 ;
3149 wxString
*arg2
= 0 ;
3150 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3151 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3152 wxWindow
*arg4
= (wxWindow
*) NULL
;
3154 bool temp1
= False
;
3155 bool temp2
= False
;
3156 bool temp3
= False
;
3157 PyObject
* obj0
= 0 ;
3158 PyObject
* obj1
= 0 ;
3159 PyObject
* obj2
= 0 ;
3160 PyObject
* obj3
= 0 ;
3162 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3167 arg1
= wxString_in_helper(obj0
);
3168 if (arg1
== NULL
) SWIG_fail
;
3172 arg2
= wxString_in_helper(obj1
);
3173 if (arg2
== NULL
) SWIG_fail
;
3178 arg3
= wxString_in_helper(obj2
);
3179 if (arg3
== NULL
) SWIG_fail
;
3184 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3188 if (!wxPyCheckForApp()) SWIG_fail
;
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) SWIG_fail
;
3197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3232 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3233 PyObject
*resultobj
;
3234 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3235 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3236 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3237 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3238 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3239 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3240 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3241 wxWindow
*arg5
= (wxWindow
*) NULL
;
3243 bool temp1
= False
;
3244 bool temp2
= False
;
3246 PyObject
* obj0
= 0 ;
3247 PyObject
* obj1
= 0 ;
3248 PyObject
* obj2
= 0 ;
3249 PyObject
* obj3
= 0 ;
3250 PyObject
* obj4
= 0 ;
3252 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3258 arg1
= wxString_in_helper(obj0
);
3259 if (arg1
== NULL
) SWIG_fail
;
3265 arg2
= wxString_in_helper(obj1
);
3266 if (arg2
== NULL
) SWIG_fail
;
3271 arg3
= (long) SWIG_AsLong(obj2
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3277 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3281 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3285 if (!wxPyCheckForApp()) SWIG_fail
;
3286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3287 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3289 wxPyEndAllowThreads(__tstate
);
3290 if (PyErr_Occurred()) SWIG_fail
;
3294 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3296 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3321 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3322 PyObject
*resultobj
;
3323 wxString
*arg1
= 0 ;
3324 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3325 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3326 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3327 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3328 wxWindow
*arg4
= (wxWindow
*) NULL
;
3329 int arg5
= (int) -1 ;
3330 int arg6
= (int) -1 ;
3331 bool arg7
= (bool) True
;
3333 bool temp1
= False
;
3334 bool temp2
= False
;
3335 bool temp3
= False
;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3338 PyObject
* obj2
= 0 ;
3339 PyObject
* obj3
= 0 ;
3340 PyObject
* obj4
= 0 ;
3341 PyObject
* obj5
= 0 ;
3342 PyObject
* obj6
= 0 ;
3344 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3349 arg1
= wxString_in_helper(obj0
);
3350 if (arg1
== NULL
) SWIG_fail
;
3355 arg2
= wxString_in_helper(obj1
);
3356 if (arg2
== NULL
) SWIG_fail
;
3362 arg3
= wxString_in_helper(obj2
);
3363 if (arg3
== NULL
) SWIG_fail
;
3368 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3372 arg5
= (int) SWIG_AsInt(obj4
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3376 arg6
= (int) SWIG_AsInt(obj5
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3380 arg7
= (bool) SWIG_AsBool(obj6
);
3381 if (PyErr_Occurred()) SWIG_fail
;
3384 if (!wxPyCheckForApp()) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3428 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3429 PyObject
*resultobj
;
3430 wxString
*arg1
= 0 ;
3431 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3432 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3433 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3434 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3435 wxWindow
*arg4
= (wxWindow
*) NULL
;
3437 bool temp1
= False
;
3438 bool temp2
= False
;
3439 bool temp3
= False
;
3440 PyObject
* obj0
= 0 ;
3441 PyObject
* obj1
= 0 ;
3442 PyObject
* obj2
= 0 ;
3443 PyObject
* obj3
= 0 ;
3445 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3450 arg1
= wxString_in_helper(obj0
);
3451 if (arg1
== NULL
) SWIG_fail
;
3456 arg2
= wxString_in_helper(obj1
);
3457 if (arg2
== NULL
) SWIG_fail
;
3463 arg3
= wxString_in_helper(obj2
);
3464 if (arg3
== NULL
) SWIG_fail
;
3469 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3473 if (!wxPyCheckForApp()) SWIG_fail
;
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3475 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3477 wxPyEndAllowThreads(__tstate
);
3478 if (PyErr_Occurred()) SWIG_fail
;
3482 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3484 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3517 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3518 PyObject
*resultobj
;
3519 wxString
*arg1
= 0 ;
3520 wxString
*arg2
= 0 ;
3522 wxString
*arg4
= (wxString
*) 0 ;
3523 wxWindow
*arg5
= (wxWindow
*) NULL
;
3524 int arg6
= (int) -1 ;
3525 int arg7
= (int) -1 ;
3526 bool arg8
= (bool) True
;
3527 int arg9
= (int) 150 ;
3528 int arg10
= (int) 200 ;
3530 bool temp1
= False
;
3531 bool temp2
= False
;
3532 PyObject
* obj0
= 0 ;
3533 PyObject
* obj1
= 0 ;
3534 PyObject
* obj2
= 0 ;
3535 PyObject
* obj3
= 0 ;
3536 PyObject
* obj4
= 0 ;
3537 PyObject
* obj5
= 0 ;
3538 PyObject
* obj6
= 0 ;
3539 PyObject
* obj7
= 0 ;
3540 PyObject
* obj8
= 0 ;
3542 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3547 arg1
= wxString_in_helper(obj0
);
3548 if (arg1
== NULL
) SWIG_fail
;
3552 arg2
= wxString_in_helper(obj1
);
3553 if (arg2
== NULL
) SWIG_fail
;
3557 arg3
= PyList_Size(obj2
);
3558 arg4
= wxString_LIST_helper(obj2
);
3559 if (arg4
== NULL
) SWIG_fail
;
3562 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3566 arg6
= (int) SWIG_AsInt(obj4
);
3567 if (PyErr_Occurred()) SWIG_fail
;
3570 arg7
= (int) SWIG_AsInt(obj5
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3574 arg8
= (bool) SWIG_AsBool(obj6
);
3575 if (PyErr_Occurred()) SWIG_fail
;
3578 arg9
= (int) SWIG_AsInt(obj7
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3582 arg10
= (int) SWIG_AsInt(obj8
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3586 if (!wxPyCheckForApp()) SWIG_fail
;
3587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3588 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3590 wxPyEndAllowThreads(__tstate
);
3591 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3597 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3609 if (arg4
) delete [] arg4
;
3622 if (arg4
) delete [] arg4
;
3628 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxString
*arg1
= 0 ;
3631 wxString
*arg2
= 0 ;
3633 wxString
*arg4
= (wxString
*) 0 ;
3634 wxWindow
*arg5
= (wxWindow
*) NULL
;
3635 int arg6
= (int) -1 ;
3636 int arg7
= (int) -1 ;
3637 bool arg8
= (bool) True
;
3638 int arg9
= (int) 150 ;
3639 int arg10
= (int) 200 ;
3641 bool temp1
= False
;
3642 bool temp2
= False
;
3643 PyObject
* obj0
= 0 ;
3644 PyObject
* obj1
= 0 ;
3645 PyObject
* obj2
= 0 ;
3646 PyObject
* obj3
= 0 ;
3647 PyObject
* obj4
= 0 ;
3648 PyObject
* obj5
= 0 ;
3649 PyObject
* obj6
= 0 ;
3650 PyObject
* obj7
= 0 ;
3651 PyObject
* obj8
= 0 ;
3653 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3658 arg1
= wxString_in_helper(obj0
);
3659 if (arg1
== NULL
) SWIG_fail
;
3663 arg2
= wxString_in_helper(obj1
);
3664 if (arg2
== NULL
) SWIG_fail
;
3668 arg3
= PyList_Size(obj2
);
3669 arg4
= wxString_LIST_helper(obj2
);
3670 if (arg4
== NULL
) SWIG_fail
;
3673 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3677 arg6
= (int) SWIG_AsInt(obj4
);
3678 if (PyErr_Occurred()) SWIG_fail
;
3681 arg7
= (int) SWIG_AsInt(obj5
);
3682 if (PyErr_Occurred()) SWIG_fail
;
3685 arg8
= (bool) SWIG_AsBool(obj6
);
3686 if (PyErr_Occurred()) SWIG_fail
;
3689 arg9
= (int) SWIG_AsInt(obj7
);
3690 if (PyErr_Occurred()) SWIG_fail
;
3693 arg10
= (int) SWIG_AsInt(obj8
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3697 if (!wxPyCheckForApp()) SWIG_fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 resultobj
= SWIG_FromInt((int)result
);
3714 if (arg4
) delete [] arg4
;
3727 if (arg4
) delete [] arg4
;
3733 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3734 PyObject
*resultobj
;
3735 wxString
*arg1
= 0 ;
3736 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3737 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3738 int arg3
= (int) wxOK
|wxCENTRE
;
3739 wxWindow
*arg4
= (wxWindow
*) NULL
;
3740 int arg5
= (int) -1 ;
3741 int arg6
= (int) -1 ;
3743 bool temp1
= False
;
3744 bool temp2
= False
;
3745 PyObject
* obj0
= 0 ;
3746 PyObject
* obj1
= 0 ;
3747 PyObject
* obj2
= 0 ;
3748 PyObject
* obj3
= 0 ;
3749 PyObject
* obj4
= 0 ;
3750 PyObject
* obj5
= 0 ;
3752 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3757 arg1
= wxString_in_helper(obj0
);
3758 if (arg1
== NULL
) SWIG_fail
;
3763 arg2
= wxString_in_helper(obj1
);
3764 if (arg2
== NULL
) SWIG_fail
;
3769 arg3
= (int) SWIG_AsInt(obj2
);
3770 if (PyErr_Occurred()) SWIG_fail
;
3773 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3777 arg5
= (int) SWIG_AsInt(obj4
);
3778 if (PyErr_Occurred()) SWIG_fail
;
3781 arg6
= (int) SWIG_AsInt(obj5
);
3782 if (PyErr_Occurred()) SWIG_fail
;
3785 if (!wxPyCheckForApp()) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3792 resultobj
= SWIG_FromInt((int)result
);
3815 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 wxString
*arg1
= 0 ;
3818 wxString
*arg2
= 0 ;
3819 wxString
*arg3
= 0 ;
3821 long arg5
= (long) 0 ;
3822 long arg6
= (long) 100 ;
3823 wxWindow
*arg7
= (wxWindow
*) NULL
;
3824 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3825 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3827 bool temp1
= False
;
3828 bool temp2
= False
;
3829 bool temp3
= False
;
3831 PyObject
* obj0
= 0 ;
3832 PyObject
* obj1
= 0 ;
3833 PyObject
* obj2
= 0 ;
3834 PyObject
* obj3
= 0 ;
3835 PyObject
* obj4
= 0 ;
3836 PyObject
* obj5
= 0 ;
3837 PyObject
* obj6
= 0 ;
3838 PyObject
* obj7
= 0 ;
3840 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3845 arg1
= wxString_in_helper(obj0
);
3846 if (arg1
== NULL
) SWIG_fail
;
3850 arg2
= wxString_in_helper(obj1
);
3851 if (arg2
== NULL
) SWIG_fail
;
3855 arg3
= wxString_in_helper(obj2
);
3856 if (arg3
== NULL
) SWIG_fail
;
3859 arg4
= (long) SWIG_AsLong(obj3
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 arg5
= (long) SWIG_AsLong(obj4
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3866 arg6
= (long) SWIG_AsLong(obj5
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3870 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3880 if (!wxPyCheckForApp()) SWIG_fail
;
3881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3882 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3884 wxPyEndAllowThreads(__tstate
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 resultobj
= SWIG_FromLong((long)result
);
3918 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3919 PyObject
*resultobj
;
3925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3927 if (!wxPyCheckForApp()) SWIG_fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 result
= (bool)wxColourDisplay();
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3943 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3952 if (!wxPyCheckForApp()) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 result
= (int)wxDisplayDepth();
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 resultobj
= SWIG_FromInt((int)result
);
3966 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3967 PyObject
*resultobj
;
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3975 if (!wxPyCheckForApp()) SWIG_fail
;
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 result
= (int)wxGetDisplayDepth();
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= SWIG_FromInt((int)result
);
3989 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
*resultobj
;
3991 int *arg1
= (int *) 0 ;
3992 int *arg2
= (int *) 0 ;
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
4003 if (!wxPyCheckForApp()) SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 wxDisplaySize(arg1
,arg2
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 Py_INCREF(Py_None
); resultobj
= Py_None
;
4012 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4013 resultobj
= t_output_helper(resultobj
,o
);
4016 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4017 resultobj
= t_output_helper(resultobj
,o
);
4025 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4034 if (!wxPyCheckForApp()) SWIG_fail
;
4035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4036 result
= wxGetDisplaySize();
4038 wxPyEndAllowThreads(__tstate
);
4039 if (PyErr_Occurred()) SWIG_fail
;
4043 resultptr
= new wxSize((wxSize
&) result
);
4044 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4052 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4053 PyObject
*resultobj
;
4054 int *arg1
= (int *) 0 ;
4055 int *arg2
= (int *) 0 ;
4064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4066 if (!wxPyCheckForApp()) SWIG_fail
;
4067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4068 wxDisplaySizeMM(arg1
,arg2
);
4070 wxPyEndAllowThreads(__tstate
);
4071 if (PyErr_Occurred()) SWIG_fail
;
4073 Py_INCREF(Py_None
); resultobj
= Py_None
;
4075 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4076 resultobj
= t_output_helper(resultobj
,o
);
4079 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4080 resultobj
= t_output_helper(resultobj
,o
);
4088 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4097 if (!wxPyCheckForApp()) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 result
= wxGetDisplaySizeMM();
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4106 resultptr
= new wxSize((wxSize
&) result
);
4107 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4115 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4116 PyObject
*resultobj
;
4117 int *arg1
= (int *) 0 ;
4118 int *arg2
= (int *) 0 ;
4119 int *arg3
= (int *) 0 ;
4120 int *arg4
= (int *) 0 ;
4133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4135 if (!wxPyCheckForApp()) SWIG_fail
;
4136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4137 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4139 wxPyEndAllowThreads(__tstate
);
4140 if (PyErr_Occurred()) SWIG_fail
;
4142 Py_INCREF(Py_None
); resultobj
= Py_None
;
4144 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4145 resultobj
= t_output_helper(resultobj
,o
);
4148 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4149 resultobj
= t_output_helper(resultobj
,o
);
4152 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4153 resultobj
= t_output_helper(resultobj
,o
);
4156 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4157 resultobj
= t_output_helper(resultobj
,o
);
4165 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4166 PyObject
*resultobj
;
4172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4174 if (!wxPyCheckForApp()) SWIG_fail
;
4175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4176 result
= wxGetClientDisplayRect();
4178 wxPyEndAllowThreads(__tstate
);
4179 if (PyErr_Occurred()) SWIG_fail
;
4183 resultptr
= new wxRect((wxRect
&) result
);
4184 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4192 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4193 PyObject
*resultobj
;
4194 wxCursor
*arg1
= 0 ;
4195 PyObject
* obj0
= 0 ;
4197 (char *) "cursor", NULL
4200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4202 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4205 PyErr_SetString(PyExc_TypeError
,"null reference");
4209 if (!wxPyCheckForApp()) SWIG_fail
;
4210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 wxPyEndAllowThreads(__tstate
);
4214 if (PyErr_Occurred()) SWIG_fail
;
4216 Py_INCREF(Py_None
); resultobj
= Py_None
;
4223 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4224 PyObject
*resultobj
;
4225 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4226 PyObject
* obj0
= 0 ;
4228 (char *) "cursor", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4237 if (!wxPyCheckForApp()) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 wxBeginBusyCursor(arg1
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 Py_INCREF(Py_None
); resultobj
= Py_None
;
4251 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4260 if (!wxPyCheckForApp()) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= (wxWindow
*)wxGetActiveWindow();
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4268 resultobj
= wxPyMake_wxObject(result
, 0);
4276 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4277 PyObject
*resultobj
;
4281 PyObject
* obj0
= 0 ;
4286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4289 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4292 if (!wxPyCheckForApp()) SWIG_fail
;
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) SWIG_fail
;
4300 resultobj
= wxPyMake_wxObject(result
, 0);
4308 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4313 PyObject
* obj0
= 0 ;
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4321 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4324 if (!wxPyCheckForApp()) SWIG_fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= wxPyMake_wxObject(result
, 0);
4340 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxWindow
*arg1
= (wxWindow
*) 0 ;
4344 PyObject
* obj0
= 0 ;
4346 (char *) "win", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4353 if (!wxPyCheckForApp()) SWIG_fail
;
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4361 resultobj
= wxPyMake_wxObject(result
, 0);
4369 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4370 PyObject
*resultobj
;
4373 PyObject
* obj0
= 0 ;
4375 (char *) "key", NULL
4378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4379 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4380 if (PyErr_Occurred()) SWIG_fail
;
4382 if (!wxPyCheckForApp()) SWIG_fail
;
4383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4384 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4386 wxPyEndAllowThreads(__tstate
);
4387 if (PyErr_Occurred()) SWIG_fail
;
4390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4398 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
;
4404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4406 if (!wxPyCheckForApp()) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 wxWakeUpMainThread();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4413 Py_INCREF(Py_None
); resultobj
= Py_None
;
4420 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4421 PyObject
*resultobj
;
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4428 if (!wxPyCheckForApp()) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4435 Py_INCREF(Py_None
); resultobj
= Py_None
;
4442 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
;
4448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4450 if (!wxPyCheckForApp()) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 Py_INCREF(Py_None
); resultobj
= Py_None
;
4464 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxMutexGuiLocker
*result
;
4471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4473 if (!wxPyCheckForApp()) SWIG_fail
;
4474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4475 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4477 wxPyEndAllowThreads(__tstate
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4480 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4487 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4492 (char *) "self", NULL
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 Py_INCREF(Py_None
); resultobj
= Py_None
;
4512 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4515 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4517 return Py_BuildValue((char *)"");
4519 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 result
= (bool)wxThread_IsMain();
4531 wxPyEndAllowThreads(__tstate
);
4532 if (PyErr_Occurred()) SWIG_fail
;
4535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4543 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
*resultobj
;
4545 wxString
*arg1
= 0 ;
4547 bool temp1
= False
;
4548 PyObject
* obj0
= 0 ;
4550 (char *) "tip", NULL
4553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4555 arg1
= wxString_in_helper(obj0
);
4556 if (arg1
== NULL
) SWIG_fail
;
4560 if (!wxPyCheckForApp()) SWIG_fail
;
4561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4562 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4564 wxPyEndAllowThreads(__tstate
);
4565 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= wxPyMake_wxObject(result
, 1);
4584 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4585 PyObject
*resultobj
;
4586 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4587 wxString
*arg2
= 0 ;
4588 bool temp2
= False
;
4589 PyObject
* obj0
= 0 ;
4590 PyObject
* obj1
= 0 ;
4592 (char *) "self",(char *) "tip", NULL
4595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4599 arg2
= wxString_in_helper(obj1
);
4600 if (arg2
== NULL
) SWIG_fail
;
4604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4605 (arg1
)->SetTip((wxString
const &)*arg2
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 Py_INCREF(Py_None
); resultobj
= Py_None
;
4625 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4626 PyObject
*resultobj
;
4627 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4629 PyObject
* obj0
= 0 ;
4631 (char *) "self", NULL
4634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4639 result
= (arg1
)->GetTip();
4641 wxPyEndAllowThreads(__tstate
);
4642 if (PyErr_Occurred()) SWIG_fail
;
4646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4657 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
;
4659 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4661 PyObject
* obj0
= 0 ;
4663 (char *) "self", NULL
4666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4671 result
= (wxWindow
*)(arg1
)->GetWindow();
4673 wxPyEndAllowThreads(__tstate
);
4674 if (PyErr_Occurred()) SWIG_fail
;
4677 resultobj
= wxPyMake_wxObject(result
, 0);
4685 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
;
4688 PyObject
* obj0
= 0 ;
4690 (char *) "flag", NULL
4693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4694 arg1
= (bool) SWIG_AsBool(obj0
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 wxToolTip::Enable(arg1
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 Py_INCREF(Py_None
); resultobj
= Py_None
;
4710 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4713 PyObject
* obj0
= 0 ;
4715 (char *) "milliseconds", NULL
4718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4719 arg1
= (long) SWIG_AsLong(obj0
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 wxToolTip::SetDelay(arg1
);
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 Py_INCREF(Py_None
); resultobj
= Py_None
;
4735 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4737 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4738 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4740 return Py_BuildValue((char *)"");
4742 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4743 PyObject
*resultobj
;
4744 wxWindow
*arg1
= (wxWindow
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4749 PyObject
* obj1
= 0 ;
4751 (char *) "window",(char *) "size", NULL
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4759 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4762 if (!wxPyCheckForApp()) SWIG_fail
;
4763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4764 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4766 wxPyEndAllowThreads(__tstate
);
4767 if (PyErr_Occurred()) SWIG_fail
;
4769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4776 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4777 PyObject
*resultobj
;
4778 wxCaret
*arg1
= (wxCaret
*) 0 ;
4779 PyObject
* obj0
= 0 ;
4781 (char *) "self", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 Py_INCREF(Py_None
); resultobj
= Py_None
;
4801 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4802 PyObject
*resultobj
;
4803 wxCaret
*arg1
= (wxCaret
*) 0 ;
4805 PyObject
* obj0
= 0 ;
4807 (char *) "self", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 result
= (bool)(arg1
)->IsOk();
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4829 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4830 PyObject
*resultobj
;
4831 wxCaret
*arg1
= (wxCaret
*) 0 ;
4833 PyObject
* obj0
= 0 ;
4835 (char *) "self", NULL
4838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4843 result
= (bool)(arg1
)->IsVisible();
4845 wxPyEndAllowThreads(__tstate
);
4846 if (PyErr_Occurred()) SWIG_fail
;
4849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4857 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4859 wxCaret
*arg1
= (wxCaret
*) 0 ;
4861 PyObject
* obj0
= 0 ;
4863 (char *) "self", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4871 result
= (arg1
)->GetPosition();
4873 wxPyEndAllowThreads(__tstate
);
4874 if (PyErr_Occurred()) SWIG_fail
;
4877 wxPoint
* resultptr
;
4878 resultptr
= new wxPoint((wxPoint
&) result
);
4879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4887 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxCaret
*arg1
= (wxCaret
*) 0 ;
4890 int *arg2
= (int *) 0 ;
4891 int *arg3
= (int *) 0 ;
4894 PyObject
* obj0
= 0 ;
4896 (char *) "self", NULL
4901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 (arg1
)->GetPosition(arg2
,arg3
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4911 Py_INCREF(Py_None
); resultobj
= Py_None
;
4913 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4914 resultobj
= t_output_helper(resultobj
,o
);
4917 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4918 resultobj
= t_output_helper(resultobj
,o
);
4926 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxCaret
*arg1
= (wxCaret
*) 0 ;
4930 PyObject
* obj0
= 0 ;
4932 (char *) "self", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4940 result
= (arg1
)->GetSize();
4942 wxPyEndAllowThreads(__tstate
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4947 resultptr
= new wxSize((wxSize
&) result
);
4948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4956 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxCaret
*arg1
= (wxCaret
*) 0 ;
4959 int *arg2
= (int *) 0 ;
4960 int *arg3
= (int *) 0 ;
4963 PyObject
* obj0
= 0 ;
4965 (char *) "self", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 (arg1
)->GetSize(arg2
,arg3
);
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 Py_INCREF(Py_None
); resultobj
= Py_None
;
4982 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4983 resultobj
= t_output_helper(resultobj
,o
);
4986 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4987 resultobj
= t_output_helper(resultobj
,o
);
4995 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxCaret
*arg1
= (wxCaret
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5001 (char *) "self", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5009 result
= (wxWindow
*)(arg1
)->GetWindow();
5011 wxPyEndAllowThreads(__tstate
);
5012 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= wxPyMake_wxObject(result
, 0);
5023 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxCaret
*arg1
= (wxCaret
*) 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5030 PyObject
* obj2
= 0 ;
5032 (char *) "self",(char *) "x",(char *) "y", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5038 arg2
= (int) SWIG_AsInt(obj1
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5040 arg3
= (int) SWIG_AsInt(obj2
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 (arg1
)->Move(arg2
,arg3
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 Py_INCREF(Py_None
); resultobj
= Py_None
;
5056 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxCaret
*arg1
= (wxCaret
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5064 (char *) "self",(char *) "pt", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 (arg1
)->Move((wxPoint
const &)*arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 Py_INCREF(Py_None
); resultobj
= Py_None
;
5088 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxCaret
*arg1
= (wxCaret
*) 0 ;
5093 PyObject
* obj0
= 0 ;
5094 PyObject
* obj1
= 0 ;
5095 PyObject
* obj2
= 0 ;
5097 (char *) "self",(char *) "width",(char *) "height", NULL
5100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5103 arg2
= (int) SWIG_AsInt(obj1
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5105 arg3
= (int) SWIG_AsInt(obj2
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 (arg1
)->SetSize(arg2
,arg3
);
5111 wxPyEndAllowThreads(__tstate
);
5112 if (PyErr_Occurred()) SWIG_fail
;
5114 Py_INCREF(Py_None
); resultobj
= Py_None
;
5121 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
;
5123 wxCaret
*arg1
= (wxCaret
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5129 (char *) "self",(char *) "size", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5137 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5141 (arg1
)->SetSize((wxSize
const &)*arg2
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 Py_INCREF(Py_None
); resultobj
= Py_None
;
5153 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxCaret
*arg1
= (wxCaret
*) 0 ;
5156 int arg2
= (int) True
;
5157 PyObject
* obj0
= 0 ;
5158 PyObject
* obj1
= 0 ;
5160 (char *) "self",(char *) "show", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 arg2
= (int) SWIG_AsInt(obj1
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 Py_INCREF(Py_None
); resultobj
= Py_None
;
5184 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
;
5186 wxCaret
*arg1
= (wxCaret
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5189 (char *) "self", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 Py_INCREF(Py_None
); resultobj
= Py_None
;
5209 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5212 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5214 return Py_BuildValue((char *)"");
5216 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 result
= (int)wxCaret_GetBlinkTime();
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 resultobj
= SWIG_FromInt((int)result
);
5238 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5241 PyObject
* obj0
= 0 ;
5243 (char *) "milliseconds", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5247 arg1
= (int) SWIG_AsInt(obj0
);
5248 if (PyErr_Occurred()) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5251 wxCaret_SetBlinkTime(arg1
);
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 Py_INCREF(Py_None
); resultobj
= Py_None
;
5263 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5266 wxBusyCursor
*result
;
5267 PyObject
* obj0
= 0 ;
5269 (char *) "cursor", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5278 if (!wxPyCheckForApp()) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5280 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5282 wxPyEndAllowThreads(__tstate
);
5283 if (PyErr_Occurred()) SWIG_fail
;
5285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5292 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5293 PyObject
*resultobj
;
5294 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5295 PyObject
* obj0
= 0 ;
5297 (char *) "self", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 wxPyEndAllowThreads(__tstate
);
5308 if (PyErr_Occurred()) SWIG_fail
;
5310 Py_INCREF(Py_None
); resultobj
= Py_None
;
5317 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5319 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5320 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5322 return Py_BuildValue((char *)"");
5324 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5325 PyObject
*resultobj
;
5326 wxWindow
*arg1
= (wxWindow
*) NULL
;
5327 wxWindowDisabler
*result
;
5328 PyObject
* obj0
= 0 ;
5330 (char *) "winToSkip", NULL
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5339 if (!wxPyCheckForApp()) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5341 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5353 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 Py_INCREF(Py_None
); resultobj
= Py_None
;
5378 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5381 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5383 return Py_BuildValue((char *)"");
5385 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxString
*arg1
= 0 ;
5389 bool temp1
= False
;
5390 PyObject
* obj0
= 0 ;
5392 (char *) "message", NULL
5395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5397 arg1
= wxString_in_helper(obj0
);
5398 if (arg1
== NULL
) SWIG_fail
;
5402 if (!wxPyCheckForApp()) SWIG_fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5424 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
;
5426 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5427 PyObject
* obj0
= 0 ;
5429 (char *) "self", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5439 wxPyEndAllowThreads(__tstate
);
5440 if (PyErr_Occurred()) SWIG_fail
;
5442 Py_INCREF(Py_None
); resultobj
= Py_None
;
5449 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5452 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5454 return Py_BuildValue((char *)"");
5456 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
;
5458 wxStopWatch
*result
;
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5466 result
= (wxStopWatch
*)new wxStopWatch();
5468 wxPyEndAllowThreads(__tstate
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5478 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5479 PyObject
*resultobj
;
5480 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5481 long arg2
= (long) 0 ;
5482 PyObject
* obj0
= 0 ;
5483 PyObject
* obj1
= 0 ;
5485 (char *) "self",(char *) "t0", NULL
5488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5492 arg2
= (long) SWIG_AsLong(obj1
);
5493 if (PyErr_Occurred()) SWIG_fail
;
5496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5497 (arg1
)->Start(arg2
);
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5502 Py_INCREF(Py_None
); resultobj
= Py_None
;
5509 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5510 PyObject
*resultobj
;
5511 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5512 PyObject
* obj0
= 0 ;
5514 (char *) "self", NULL
5517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 Py_INCREF(Py_None
); resultobj
= Py_None
;
5534 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5537 PyObject
* obj0
= 0 ;
5539 (char *) "self", NULL
5542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 wxPyEndAllowThreads(__tstate
);
5550 if (PyErr_Occurred()) SWIG_fail
;
5552 Py_INCREF(Py_None
); resultobj
= Py_None
;
5559 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5560 PyObject
*resultobj
;
5561 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5563 PyObject
* obj0
= 0 ;
5565 (char *) "self", NULL
5568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5573 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 resultobj
= SWIG_FromLong((long)result
);
5585 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5588 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5590 return Py_BuildValue((char *)"");
5592 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5593 PyObject
*resultobj
;
5594 int arg1
= (int) 9 ;
5595 int arg2
= (int) wxID_FILE1
;
5596 wxFileHistory
*result
;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5600 (char *) "maxFiles",(char *) "idBase", NULL
5603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5605 arg1
= (int) SWIG_AsInt(obj0
);
5606 if (PyErr_Occurred()) SWIG_fail
;
5609 arg2
= (int) SWIG_AsInt(obj1
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5614 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5616 wxPyEndAllowThreads(__tstate
);
5617 if (PyErr_Occurred()) SWIG_fail
;
5619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5626 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5629 PyObject
* obj0
= 0 ;
5631 (char *) "self", NULL
5634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5644 Py_INCREF(Py_None
); resultobj
= Py_None
;
5651 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5654 wxString
*arg2
= 0 ;
5655 bool temp2
= False
;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5659 (char *) "self",(char *) "file", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 arg2
= wxString_in_helper(obj1
);
5667 if (arg2
== NULL
) SWIG_fail
;
5671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5672 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5674 wxPyEndAllowThreads(__tstate
);
5675 if (PyErr_Occurred()) SWIG_fail
;
5677 Py_INCREF(Py_None
); resultobj
= Py_None
;
5692 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5693 PyObject
*resultobj
;
5694 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5696 PyObject
* obj0
= 0 ;
5697 PyObject
* obj1
= 0 ;
5699 (char *) "self",(char *) "i", NULL
5702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5705 arg2
= (int) SWIG_AsInt(obj1
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 (arg1
)->RemoveFileFromHistory(arg2
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5714 Py_INCREF(Py_None
); resultobj
= Py_None
;
5721 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5725 PyObject
* obj0
= 0 ;
5727 (char *) "self", NULL
5730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5740 resultobj
= SWIG_FromInt((int)result
);
5747 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5750 wxMenu
*arg2
= (wxMenu
*) 0 ;
5751 PyObject
* obj0
= 0 ;
5752 PyObject
* obj1
= 0 ;
5754 (char *) "self",(char *) "menu", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 (arg1
)->UseMenu(arg2
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 Py_INCREF(Py_None
); resultobj
= Py_None
;
5776 static PyObject
*_wrap_FileHistory_RemoveMenu(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_RemoveMenu",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
)->RemoveMenu(arg2
);
5795 wxPyEndAllowThreads(__tstate
);
5796 if (PyErr_Occurred()) SWIG_fail
;
5798 Py_INCREF(Py_None
); resultobj
= Py_None
;
5805 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5808 wxConfigBase
*arg2
= 0 ;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5812 (char *) "self",(char *) "config", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5822 PyErr_SetString(PyExc_TypeError
,"null reference");
5826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5827 (arg1
)->Load(*arg2
);
5829 wxPyEndAllowThreads(__tstate
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 Py_INCREF(Py_None
); resultobj
= Py_None
;
5839 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5842 wxConfigBase
*arg2
= 0 ;
5843 PyObject
* obj0
= 0 ;
5844 PyObject
* obj1
= 0 ;
5846 (char *) "self",(char *) "config", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5856 PyErr_SetString(PyExc_TypeError
,"null reference");
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 (arg1
)->Save(*arg2
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5866 Py_INCREF(Py_None
); resultobj
= Py_None
;
5873 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5876 PyObject
* obj0
= 0 ;
5878 (char *) "self", NULL
5881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5886 (arg1
)->AddFilesToMenu();
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 Py_INCREF(Py_None
); resultobj
= Py_None
;
5898 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5899 PyObject
*resultobj
;
5900 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5901 wxMenu
*arg2
= (wxMenu
*) 0 ;
5902 PyObject
* obj0
= 0 ;
5903 PyObject
* obj1
= 0 ;
5905 (char *) "self",(char *) "menu", NULL
5908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 (arg1
)->AddFilesToMenu(arg2
);
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 Py_INCREF(Py_None
); resultobj
= Py_None
;
5927 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5932 PyObject
* obj0
= 0 ;
5933 PyObject
* obj1
= 0 ;
5935 (char *) "self",(char *) "i", NULL
5938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5941 arg2
= (int) SWIG_AsInt(obj1
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5945 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5947 wxPyEndAllowThreads(__tstate
);
5948 if (PyErr_Occurred()) SWIG_fail
;
5952 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5954 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5963 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5964 PyObject
*resultobj
;
5965 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5967 PyObject
* obj0
= 0 ;
5969 (char *) "self", NULL
5972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5977 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5979 wxPyEndAllowThreads(__tstate
);
5980 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= SWIG_FromInt((int)result
);
5989 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5992 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5994 return Py_BuildValue((char *)"");
5996 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5997 PyObject
*resultobj
;
5998 wxString
*arg1
= 0 ;
5999 wxString
const &arg2_defvalue
= wxPyEmptyString
;
6000 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
6001 wxSingleInstanceChecker
*result
;
6002 bool temp1
= False
;
6003 bool temp2
= False
;
6004 PyObject
* obj0
= 0 ;
6005 PyObject
* obj1
= 0 ;
6007 (char *) "name",(char *) "path", NULL
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6012 arg1
= wxString_in_helper(obj0
);
6013 if (arg1
== NULL
) SWIG_fail
;
6018 arg2
= wxString_in_helper(obj1
);
6019 if (arg2
== NULL
) SWIG_fail
;
6024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6027 wxPyEndAllowThreads(__tstate
);
6028 if (PyErr_Occurred()) SWIG_fail
;
6030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6053 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6054 PyObject
*resultobj
;
6055 wxSingleInstanceChecker
*result
;
6060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6063 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6065 wxPyEndAllowThreads(__tstate
);
6066 if (PyErr_Occurred()) SWIG_fail
;
6068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6075 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6078 PyObject
* obj0
= 0 ;
6080 (char *) "self", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 Py_INCREF(Py_None
); resultobj
= Py_None
;
6100 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6103 wxString
*arg2
= 0 ;
6104 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6105 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6107 bool temp2
= False
;
6108 bool temp3
= False
;
6109 PyObject
* obj0
= 0 ;
6110 PyObject
* obj1
= 0 ;
6111 PyObject
* obj2
= 0 ;
6113 (char *) "self",(char *) "name",(char *) "path", NULL
6116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6120 arg2
= wxString_in_helper(obj1
);
6121 if (arg2
== NULL
) SWIG_fail
;
6126 arg3
= wxString_in_helper(obj2
);
6127 if (arg3
== NULL
) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6163 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6164 PyObject
*resultobj
;
6165 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6167 PyObject
* obj0
= 0 ;
6169 (char *) "self", NULL
6172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6191 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6194 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6196 return Py_BuildValue((char *)"");
6198 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
;
6200 wxWindow
*arg1
= (wxWindow
*) 0 ;
6203 PyObject
* obj0
= 0 ;
6204 PyObject
* obj1
= 0 ;
6205 PyObject
* obj2
= 0 ;
6207 (char *) "window",(char *) "dc",(char *) "method", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6214 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6217 PyErr_SetString(PyExc_TypeError
,"null reference");
6220 arg3
= (int) SWIG_AsInt(obj2
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6224 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6226 wxPyEndAllowThreads(__tstate
);
6227 if (PyErr_Occurred()) SWIG_fail
;
6229 Py_INCREF(Py_None
); resultobj
= Py_None
;
6236 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6241 (char *) "self", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6251 wxPyEndAllowThreads(__tstate
);
6252 if (PyErr_Occurred()) SWIG_fail
;
6254 Py_INCREF(Py_None
); resultobj
= Py_None
;
6261 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6262 PyObject
*resultobj
;
6263 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6265 PyObject
* obj0
= 0 ;
6267 (char *) "self", NULL
6270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= (arg1
)->GetTip();
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6293 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6299 (char *) "self", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (size_t)(arg1
)->GetCurrentTip();
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6312 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6319 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6320 PyObject
*resultobj
;
6321 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6322 wxString
*arg2
= 0 ;
6324 bool temp2
= False
;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6328 (char *) "self",(char *) "tip", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6335 arg2
= wxString_in_helper(obj1
);
6336 if (arg2
== NULL
) SWIG_fail
;
6340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6341 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6343 wxPyEndAllowThreads(__tstate
);
6344 if (PyErr_Occurred()) SWIG_fail
;
6348 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6350 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6367 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6370 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6372 return Py_BuildValue((char *)"");
6374 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6377 wxPyTipProvider
*result
;
6378 PyObject
* obj0
= 0 ;
6380 (char *) "currentTip", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6384 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6385 if (PyErr_Occurred()) SWIG_fail
;
6387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6388 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6390 wxPyEndAllowThreads(__tstate
);
6391 if (PyErr_Occurred()) SWIG_fail
;
6393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6400 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
;
6402 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6403 PyObject
*arg2
= (PyObject
*) 0 ;
6404 PyObject
*arg3
= (PyObject
*) 0 ;
6405 PyObject
* obj0
= 0 ;
6406 PyObject
* obj1
= 0 ;
6407 PyObject
* obj2
= 0 ;
6409 (char *) "self",(char *) "self",(char *) "_class", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6421 wxPyEndAllowThreads(__tstate
);
6422 if (PyErr_Occurred()) SWIG_fail
;
6424 Py_INCREF(Py_None
); resultobj
= Py_None
;
6431 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6433 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6434 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6436 return Py_BuildValue((char *)"");
6438 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxWindow
*arg1
= (wxWindow
*) 0 ;
6441 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6442 bool arg3
= (bool) True
;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6446 PyObject
* obj2
= 0 ;
6448 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6457 arg3
= (bool) SWIG_AsBool(obj2
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6461 if (!wxPyCheckForApp()) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6477 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
;
6479 wxString
*arg1
= 0 ;
6481 wxTipProvider
*result
;
6482 bool temp1
= False
;
6483 PyObject
* obj0
= 0 ;
6484 PyObject
* obj1
= 0 ;
6486 (char *) "filename",(char *) "currentTip", NULL
6489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6491 arg1
= wxString_in_helper(obj0
);
6492 if (arg1
== NULL
) SWIG_fail
;
6495 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6496 if (PyErr_Occurred()) SWIG_fail
;
6498 if (!wxPyCheckForApp()) SWIG_fail
;
6499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6500 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6502 wxPyEndAllowThreads(__tstate
);
6503 if (PyErr_Occurred()) SWIG_fail
;
6505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6520 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6521 PyObject
*resultobj
;
6522 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6523 int arg2
= (int) -1 ;
6525 PyObject
* obj0
= 0 ;
6526 PyObject
* obj1
= 0 ;
6528 (char *) "owner",(char *) "id", NULL
6531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6537 arg2
= (int) SWIG_AsInt(obj1
);
6538 if (PyErr_Occurred()) SWIG_fail
;
6541 if (!wxPyCheckForApp()) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6543 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6555 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6558 PyObject
* obj0
= 0 ;
6560 (char *) "self", NULL
6563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6570 wxPyEndAllowThreads(__tstate
);
6571 if (PyErr_Occurred()) SWIG_fail
;
6573 Py_INCREF(Py_None
); resultobj
= Py_None
;
6580 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6581 PyObject
*resultobj
;
6582 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6583 PyObject
*arg2
= (PyObject
*) 0 ;
6584 PyObject
*arg3
= (PyObject
*) 0 ;
6585 int arg4
= (int) 1 ;
6586 PyObject
* obj0
= 0 ;
6587 PyObject
* obj1
= 0 ;
6588 PyObject
* obj2
= 0 ;
6589 PyObject
* obj3
= 0 ;
6591 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6600 arg4
= (int) SWIG_AsInt(obj3
);
6601 if (PyErr_Occurred()) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6610 Py_INCREF(Py_None
); resultobj
= Py_None
;
6617 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6618 PyObject
*resultobj
;
6619 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6620 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6621 int arg3
= (int) -1 ;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6624 PyObject
* obj2
= 0 ;
6626 (char *) "self",(char *) "owner",(char *) "id", NULL
6629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6635 arg3
= (int) SWIG_AsInt(obj2
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 (arg1
)->SetOwner(arg2
,arg3
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 Py_INCREF(Py_None
); resultobj
= Py_None
;
6652 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6653 PyObject
*resultobj
;
6654 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6655 wxEvtHandler
*result
;
6656 PyObject
* obj0
= 0 ;
6658 (char *) "self", NULL
6661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= wxPyMake_wxObject(result
, 0);
6680 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6681 PyObject
*resultobj
;
6682 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6683 int arg2
= (int) -1 ;
6684 bool arg3
= (bool) False
;
6686 PyObject
* obj0
= 0 ;
6687 PyObject
* obj1
= 0 ;
6688 PyObject
* obj2
= 0 ;
6690 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6697 arg2
= (int) SWIG_AsInt(obj1
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6701 arg3
= (bool) SWIG_AsBool(obj2
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6706 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6708 wxPyEndAllowThreads(__tstate
);
6709 if (PyErr_Occurred()) SWIG_fail
;
6712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6720 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6721 PyObject
*resultobj
;
6722 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6723 PyObject
* obj0
= 0 ;
6725 (char *) "self", NULL
6728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6738 Py_INCREF(Py_None
); resultobj
= Py_None
;
6745 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6746 PyObject
*resultobj
;
6747 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6751 (char *) "self", NULL
6754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6773 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6774 PyObject
*resultobj
;
6775 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6777 PyObject
* obj0
= 0 ;
6779 (char *) "self", NULL
6782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6792 resultobj
= SWIG_FromInt((int)result
);
6799 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6800 PyObject
*resultobj
;
6801 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6803 PyObject
* obj0
= 0 ;
6805 (char *) "self", NULL
6808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6813 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6815 wxPyEndAllowThreads(__tstate
);
6816 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6827 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6828 PyObject
*resultobj
;
6829 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6831 PyObject
* obj0
= 0 ;
6833 (char *) "self", NULL
6836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6843 wxPyEndAllowThreads(__tstate
);
6844 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= SWIG_FromInt((int)result
);
6853 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6855 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6856 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6858 return Py_BuildValue((char *)"");
6860 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6861 PyObject
*resultobj
;
6862 int arg1
= (int) 0 ;
6863 int arg2
= (int) 0 ;
6864 wxTimerEvent
*result
;
6865 PyObject
* obj0
= 0 ;
6866 PyObject
* obj1
= 0 ;
6868 (char *) "timerid",(char *) "interval", NULL
6871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6873 arg1
= (int) SWIG_AsInt(obj0
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6877 arg2
= (int) SWIG_AsInt(obj1
);
6878 if (PyErr_Occurred()) SWIG_fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6894 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6898 PyObject
* obj0
= 0 ;
6900 (char *) "self", NULL
6903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= SWIG_FromInt((int)result
);
6920 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6923 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6925 return Py_BuildValue((char *)"");
6927 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6928 PyObject
*resultobj
;
6930 wxTimerRunner
*result
;
6931 PyObject
* obj0
= 0 ;
6933 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6938 PyErr_SetString(PyExc_TypeError
,"null reference");
6942 if (!wxPyCheckForApp()) SWIG_fail
;
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6956 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6957 PyObject
*resultobj
;
6960 bool arg3
= (bool) False
;
6961 wxTimerRunner
*result
;
6962 PyObject
* obj0
= 0 ;
6963 PyObject
* obj1
= 0 ;
6964 PyObject
* obj2
= 0 ;
6966 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6971 PyErr_SetString(PyExc_TypeError
,"null reference");
6974 arg2
= (int) SWIG_AsInt(obj1
);
6975 if (PyErr_Occurred()) SWIG_fail
;
6977 arg3
= (bool) SWIG_AsBool(obj2
);
6978 if (PyErr_Occurred()) SWIG_fail
;
6981 if (!wxPyCheckForApp()) SWIG_fail
;
6982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6983 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6995 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
7000 argc
= PyObject_Length(args
);
7001 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
7002 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7008 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7016 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7019 if ((argc
>= 2) && (argc
<= 3)) {
7023 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7031 _v
= SWIG_CheckInt(argv
[1]);
7034 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7036 _v
= SWIG_CheckBool(argv
[2]);
7038 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7044 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7049 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
;
7051 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7052 PyObject
* obj0
= 0 ;
7054 (char *) "self", NULL
7057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7064 wxPyEndAllowThreads(__tstate
);
7065 if (PyErr_Occurred()) SWIG_fail
;
7067 Py_INCREF(Py_None
); resultobj
= Py_None
;
7074 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7075 PyObject
*resultobj
;
7076 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7078 bool arg3
= (bool) False
;
7079 PyObject
* obj0
= 0 ;
7080 PyObject
* obj1
= 0 ;
7081 PyObject
* obj2
= 0 ;
7083 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7089 arg2
= (int) SWIG_AsInt(obj1
);
7090 if (PyErr_Occurred()) SWIG_fail
;
7092 arg3
= (bool) SWIG_AsBool(obj2
);
7093 if (PyErr_Occurred()) SWIG_fail
;
7096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7097 (arg1
)->Start(arg2
,arg3
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7102 Py_INCREF(Py_None
); resultobj
= Py_None
;
7109 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7112 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7114 return Py_BuildValue((char *)"");
7116 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7126 result
= (wxLog
*)new wxLog();
7128 wxPyEndAllowThreads(__tstate
);
7129 if (PyErr_Occurred()) SWIG_fail
;
7131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7138 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7139 PyObject
*resultobj
;
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7148 result
= (bool)wxLog::IsEnabled();
7150 wxPyEndAllowThreads(__tstate
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7162 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7163 PyObject
*resultobj
;
7164 bool arg1
= (bool) True
;
7166 PyObject
* obj0
= 0 ;
7168 (char *) "doIt", NULL
7171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7173 arg1
= (bool) SWIG_AsBool(obj0
);
7174 if (PyErr_Occurred()) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 result
= (bool)wxLog::EnableLogging(arg1
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7192 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7193 PyObject
*resultobj
;
7195 wxChar
*arg2
= (wxChar
*) 0 ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7199 PyObject
* obj2
= 0 ;
7201 (char *) "level",(char *) "szString",(char *) "t", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7205 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7209 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7210 if (PyErr_Occurred()) SWIG_fail
;
7212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7213 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7218 Py_INCREF(Py_None
); resultobj
= Py_None
;
7225 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxLog
*arg1
= (wxLog
*) 0 ;
7228 PyObject
* obj0
= 0 ;
7230 (char *) "self", NULL
7233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7240 wxPyEndAllowThreads(__tstate
);
7241 if (PyErr_Occurred()) SWIG_fail
;
7243 Py_INCREF(Py_None
); resultobj
= Py_None
;
7250 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7251 PyObject
*resultobj
;
7256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7259 wxLog::FlushActive();
7261 wxPyEndAllowThreads(__tstate
);
7262 if (PyErr_Occurred()) SWIG_fail
;
7264 Py_INCREF(Py_None
); resultobj
= Py_None
;
7271 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (wxLog
*)wxLog::GetActiveTarget();
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7293 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxLog
*arg1
= (wxLog
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7299 (char *) "pLogger", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7319 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7330 wxPyEndAllowThreads(__tstate
);
7331 if (PyErr_Occurred()) SWIG_fail
;
7333 Py_INCREF(Py_None
); resultobj
= Py_None
;
7340 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7341 PyObject
*resultobj
;
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 wxPyEndAllowThreads(__tstate
);
7352 if (PyErr_Occurred()) SWIG_fail
;
7354 Py_INCREF(Py_None
); resultobj
= Py_None
;
7361 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7362 PyObject
*resultobj
;
7363 bool arg1
= (bool) True
;
7364 PyObject
* obj0
= 0 ;
7366 (char *) "bVerbose", NULL
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7371 arg1
= (bool) SWIG_AsBool(obj0
);
7372 if (PyErr_Occurred()) SWIG_fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 wxLog::SetVerbose(arg1
);
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 Py_INCREF(Py_None
); resultobj
= Py_None
;
7388 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7391 PyObject
* obj0
= 0 ;
7393 (char *) "logLevel", NULL
7396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7397 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7398 if (PyErr_Occurred()) SWIG_fail
;
7400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7401 wxLog::SetLogLevel(arg1
);
7403 wxPyEndAllowThreads(__tstate
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7406 Py_INCREF(Py_None
); resultobj
= Py_None
;
7413 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7422 wxLog::DontCreateOnDemand();
7424 wxPyEndAllowThreads(__tstate
);
7425 if (PyErr_Occurred()) SWIG_fail
;
7427 Py_INCREF(Py_None
); resultobj
= Py_None
;
7434 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7435 PyObject
*resultobj
;
7437 PyObject
* obj0
= 0 ;
7439 (char *) "ulMask", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7443 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 wxLog::SetTraceMask(arg1
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7452 Py_INCREF(Py_None
); resultobj
= Py_None
;
7459 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxString
*arg1
= 0 ;
7462 bool temp1
= False
;
7463 PyObject
* obj0
= 0 ;
7465 (char *) "str", NULL
7468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7470 arg1
= wxString_in_helper(obj0
);
7471 if (arg1
== NULL
) SWIG_fail
;
7475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7476 wxLog::AddTraceMask((wxString
const &)*arg1
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 Py_INCREF(Py_None
); resultobj
= Py_None
;
7496 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7497 PyObject
*resultobj
;
7498 wxString
*arg1
= 0 ;
7499 bool temp1
= False
;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "str", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7507 arg1
= wxString_in_helper(obj0
);
7508 if (arg1
== NULL
) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 Py_INCREF(Py_None
); resultobj
= Py_None
;
7533 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 wxLog::ClearTraceMasks();
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7547 Py_INCREF(Py_None
); resultobj
= Py_None
;
7554 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7555 PyObject
*resultobj
;
7556 wxArrayString
*result
;
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7566 result
= (wxArrayString
*) &_result_ref
;
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= wxArrayString2PyList_helper(*result
);
7581 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7582 PyObject
*resultobj
;
7583 wxChar
*arg1
= (wxChar
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7594 wxLog::SetTimestamp((wxChar
const *)arg1
);
7596 wxPyEndAllowThreads(__tstate
);
7597 if (PyErr_Occurred()) SWIG_fail
;
7599 Py_INCREF(Py_None
); resultobj
= Py_None
;
7606 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7607 PyObject
*resultobj
;
7613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= (bool)wxLog::GetVerbose();
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7630 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (wxTraceMask
)wxLog::GetTraceMask();
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7652 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
;
7654 wxChar
*arg1
= (wxChar
*) 0 ;
7656 PyObject
* obj0
= 0 ;
7658 (char *) "mask", NULL
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7666 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7668 wxPyEndAllowThreads(__tstate
);
7669 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7680 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7681 PyObject
*resultobj
;
7687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7690 result
= (wxLogLevel
)wxLog::GetLogLevel();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7702 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
;
7709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7712 result
= (wxChar
*)wxLog::GetTimestamp();
7714 wxPyEndAllowThreads(__tstate
);
7715 if (PyErr_Occurred()) SWIG_fail
;
7717 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7724 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7725 PyObject
*resultobj
;
7731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7734 result
= Log_TimeStamp();
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7752 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxLog
*arg1
= (wxLog
*) 0 ;
7755 PyObject
* obj0
= 0 ;
7757 (char *) "self", NULL
7760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 wxLog_Destroy(arg1
);
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 Py_INCREF(Py_None
); resultobj
= Py_None
;
7777 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7780 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7782 return Py_BuildValue((char *)"");
7784 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7786 wxLogStderr
*result
;
7791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 result
= (wxLogStderr
*)new wxLogStderr();
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7806 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7809 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7811 return Py_BuildValue((char *)"");
7813 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7814 PyObject
*resultobj
;
7815 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7816 wxLogTextCtrl
*result
;
7817 PyObject
* obj0
= 0 ;
7819 (char *) "pTextCtrl", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7827 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7829 wxPyEndAllowThreads(__tstate
);
7830 if (PyErr_Occurred()) SWIG_fail
;
7832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7839 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7842 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7844 return Py_BuildValue((char *)"");
7846 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7847 PyObject
*resultobj
;
7853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7856 result
= (wxLogGui
*)new wxLogGui();
7858 wxPyEndAllowThreads(__tstate
);
7859 if (PyErr_Occurred()) SWIG_fail
;
7861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7868 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7871 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7873 return Py_BuildValue((char *)"");
7875 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxFrame
*arg1
= (wxFrame
*) 0 ;
7878 wxString
*arg2
= 0 ;
7879 bool arg3
= (bool) True
;
7880 bool arg4
= (bool) True
;
7881 wxLogWindow
*result
;
7882 bool temp2
= False
;
7883 PyObject
* obj0
= 0 ;
7884 PyObject
* obj1
= 0 ;
7885 PyObject
* obj2
= 0 ;
7886 PyObject
* obj3
= 0 ;
7888 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7895 arg2
= wxString_in_helper(obj1
);
7896 if (arg2
== NULL
) SWIG_fail
;
7900 arg3
= (bool) SWIG_AsBool(obj2
);
7901 if (PyErr_Occurred()) SWIG_fail
;
7904 arg4
= (bool) SWIG_AsBool(obj3
);
7905 if (PyErr_Occurred()) SWIG_fail
;
7908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7909 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7911 wxPyEndAllowThreads(__tstate
);
7912 if (PyErr_Occurred()) SWIG_fail
;
7914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7929 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7932 bool arg2
= (bool) True
;
7933 PyObject
* obj0
= 0 ;
7934 PyObject
* obj1
= 0 ;
7936 (char *) "self",(char *) "bShow", NULL
7939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7943 arg2
= (bool) SWIG_AsBool(obj1
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 Py_INCREF(Py_None
); resultobj
= Py_None
;
7960 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7961 PyObject
*resultobj
;
7962 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7964 PyObject
* obj0
= 0 ;
7966 (char *) "self", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7974 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7976 wxPyEndAllowThreads(__tstate
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= wxPyMake_wxObject(result
, 0);
7988 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7989 PyObject
*resultobj
;
7990 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7992 PyObject
* obj0
= 0 ;
7994 (char *) "self", NULL
7997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8002 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8014 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8018 PyObject
* obj0
= 0 ;
8020 (char *) "self", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8042 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8046 PyObject
* obj0
= 0 ;
8047 PyObject
* obj1
= 0 ;
8049 (char *) "self",(char *) "bDoPass", NULL
8052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8055 arg2
= (bool) SWIG_AsBool(obj1
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8059 (arg1
)->PassMessages(arg2
);
8061 wxPyEndAllowThreads(__tstate
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8064 Py_INCREF(Py_None
); resultobj
= Py_None
;
8071 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8074 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8076 return Py_BuildValue((char *)"");
8078 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8079 PyObject
*resultobj
;
8080 wxLog
*arg1
= (wxLog
*) 0 ;
8082 PyObject
* obj0
= 0 ;
8084 (char *) "logger", NULL
8087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8092 result
= (wxLogChain
*)new wxLogChain(arg1
);
8094 wxPyEndAllowThreads(__tstate
);
8095 if (PyErr_Occurred()) SWIG_fail
;
8097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8104 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8107 wxLog
*arg2
= (wxLog
*) 0 ;
8108 PyObject
* obj0
= 0 ;
8109 PyObject
* obj1
= 0 ;
8111 (char *) "self",(char *) "logger", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 (arg1
)->SetLog(arg2
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 Py_INCREF(Py_None
); resultobj
= Py_None
;
8133 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8137 PyObject
* obj0
= 0 ;
8138 PyObject
* obj1
= 0 ;
8140 (char *) "self",(char *) "bDoPass", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8146 arg2
= (bool) SWIG_AsBool(obj1
);
8147 if (PyErr_Occurred()) SWIG_fail
;
8149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8150 (arg1
)->PassMessages(arg2
);
8152 wxPyEndAllowThreads(__tstate
);
8153 if (PyErr_Occurred()) SWIG_fail
;
8155 Py_INCREF(Py_None
); resultobj
= Py_None
;
8162 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8166 PyObject
* obj0
= 0 ;
8168 (char *) "self", NULL
8171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 result
= (bool)(arg1
)->IsPassingMessages();
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8190 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8196 (char *) "self", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 result
= (wxLog
*)(arg1
)->GetOldLog();
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8216 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8218 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8219 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8221 return Py_BuildValue((char *)"");
8223 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8224 PyObject
*resultobj
;
8225 unsigned long result
;
8230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (unsigned long)wxSysErrorCode();
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8245 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 unsigned long arg1
= (unsigned long) 0 ;
8249 PyObject
* obj0
= 0 ;
8251 (char *) "nErrCode", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8256 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8257 if (PyErr_Occurred()) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= wxSysErrorMsg(arg1
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8279 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8280 PyObject
*resultobj
;
8281 wxString
*arg1
= 0 ;
8282 bool temp1
= False
;
8283 PyObject
* obj0
= 0 ;
8285 (char *) "msg", NULL
8288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8290 arg1
= wxString_in_helper(obj0
);
8291 if (arg1
== NULL
) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 wxLogFatalError((wxString
const &)*arg1
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8317 PyObject
*resultobj
;
8318 wxString
*arg1
= 0 ;
8319 bool temp1
= False
;
8320 PyObject
* obj0
= 0 ;
8322 (char *) "msg", NULL
8325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8327 arg1
= wxString_in_helper(obj0
);
8328 if (arg1
== NULL
) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 wxLogError((wxString
const &)*arg1
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 Py_INCREF(Py_None
); resultobj
= Py_None
;
8353 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxString
*arg1
= 0 ;
8356 bool temp1
= False
;
8357 PyObject
* obj0
= 0 ;
8359 (char *) "msg", NULL
8362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8364 arg1
= wxString_in_helper(obj0
);
8365 if (arg1
== NULL
) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 wxLogWarning((wxString
const &)*arg1
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 Py_INCREF(Py_None
); resultobj
= Py_None
;
8390 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxString
*arg1
= 0 ;
8393 bool temp1
= False
;
8394 PyObject
* obj0
= 0 ;
8396 (char *) "msg", NULL
8399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8401 arg1
= wxString_in_helper(obj0
);
8402 if (arg1
== NULL
) SWIG_fail
;
8406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8407 wxLogMessage((wxString
const &)*arg1
);
8409 wxPyEndAllowThreads(__tstate
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8412 Py_INCREF(Py_None
); resultobj
= Py_None
;
8427 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8428 PyObject
*resultobj
;
8429 wxString
*arg1
= 0 ;
8430 bool temp1
= False
;
8431 PyObject
* obj0
= 0 ;
8433 (char *) "msg", NULL
8436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8438 arg1
= wxString_in_helper(obj0
);
8439 if (arg1
== NULL
) SWIG_fail
;
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 wxLogInfo((wxString
const &)*arg1
);
8446 wxPyEndAllowThreads(__tstate
);
8447 if (PyErr_Occurred()) SWIG_fail
;
8449 Py_INCREF(Py_None
); resultobj
= Py_None
;
8464 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxString
*arg1
= 0 ;
8467 bool temp1
= False
;
8468 PyObject
* obj0
= 0 ;
8470 (char *) "msg", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8475 arg1
= wxString_in_helper(obj0
);
8476 if (arg1
== NULL
) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 wxLogDebug((wxString
const &)*arg1
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 Py_INCREF(Py_None
); resultobj
= Py_None
;
8501 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxString
*arg1
= 0 ;
8504 bool temp1
= False
;
8505 PyObject
* obj0
= 0 ;
8507 (char *) "msg", NULL
8510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8512 arg1
= wxString_in_helper(obj0
);
8513 if (arg1
== NULL
) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 wxLogVerbose((wxString
const &)*arg1
);
8520 wxPyEndAllowThreads(__tstate
);
8521 if (PyErr_Occurred()) SWIG_fail
;
8523 Py_INCREF(Py_None
); resultobj
= Py_None
;
8538 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxString
*arg1
= 0 ;
8541 bool temp1
= False
;
8542 PyObject
* obj0
= 0 ;
8544 (char *) "msg", NULL
8547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8549 arg1
= wxString_in_helper(obj0
);
8550 if (arg1
== NULL
) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 wxLogStatus((wxString
const &)*arg1
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 Py_INCREF(Py_None
); resultobj
= Py_None
;
8575 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxFrame
*arg1
= (wxFrame
*) 0 ;
8578 wxString
*arg2
= 0 ;
8579 bool temp2
= False
;
8580 PyObject
* obj0
= 0 ;
8581 PyObject
* obj1
= 0 ;
8583 (char *) "pFrame",(char *) "msg", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8590 arg2
= wxString_in_helper(obj1
);
8591 if (arg2
== NULL
) SWIG_fail
;
8595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8596 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8598 wxPyEndAllowThreads(__tstate
);
8599 if (PyErr_Occurred()) SWIG_fail
;
8601 Py_INCREF(Py_None
); resultobj
= Py_None
;
8616 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8617 PyObject
*resultobj
;
8618 wxString
*arg1
= 0 ;
8619 bool temp1
= False
;
8620 PyObject
* obj0
= 0 ;
8622 (char *) "msg", NULL
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8627 arg1
= wxString_in_helper(obj0
);
8628 if (arg1
== NULL
) SWIG_fail
;
8632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8633 wxLogSysError((wxString
const &)*arg1
);
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 Py_INCREF(Py_None
); resultobj
= Py_None
;
8653 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8654 PyObject
*resultobj
;
8655 unsigned long arg1
;
8656 wxString
*arg2
= 0 ;
8657 bool temp2
= False
;
8658 PyObject
* obj0
= 0 ;
8659 PyObject
* obj1
= 0 ;
8661 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8662 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8663 if (PyErr_Occurred()) SWIG_fail
;
8665 arg2
= wxString_in_helper(obj1
);
8666 if (arg2
== NULL
) SWIG_fail
;
8670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8671 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8673 wxPyEndAllowThreads(__tstate
);
8674 if (PyErr_Occurred()) SWIG_fail
;
8676 Py_INCREF(Py_None
); resultobj
= Py_None
;
8691 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8692 PyObject
*resultobj
;
8693 wxString
*arg1
= 0 ;
8694 wxString
*arg2
= 0 ;
8695 bool temp1
= False
;
8696 bool temp2
= False
;
8697 PyObject
* obj0
= 0 ;
8698 PyObject
* obj1
= 0 ;
8700 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8702 arg1
= wxString_in_helper(obj0
);
8703 if (arg1
== NULL
) SWIG_fail
;
8707 arg2
= wxString_in_helper(obj1
);
8708 if (arg2
== NULL
) SWIG_fail
;
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 Py_INCREF(Py_None
); resultobj
= Py_None
;
8741 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8746 argc
= PyObject_Length(args
);
8747 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8748 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8753 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8757 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8760 return _wrap_LogTrace__SWIG_1(self
,args
);
8766 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8769 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8772 return _wrap_LogTrace__SWIG_0(self
,args
);
8777 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8782 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 unsigned long arg1
;
8785 wxString
*arg2
= 0 ;
8786 bool temp2
= False
;
8787 PyObject
* obj0
= 0 ;
8788 PyObject
* obj1
= 0 ;
8790 (char *) "level",(char *) "msg", NULL
8793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8794 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 arg2
= wxString_in_helper(obj1
);
8798 if (arg2
== NULL
) SWIG_fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8808 Py_INCREF(Py_None
); resultobj
= Py_None
;
8823 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxString
*arg1
= 0 ;
8826 wxString
*arg2
= 0 ;
8827 bool temp1
= False
;
8828 bool temp2
= False
;
8829 PyObject
* obj0
= 0 ;
8830 PyObject
* obj1
= 0 ;
8832 (char *) "title",(char *) "text", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8837 arg1
= wxString_in_helper(obj0
);
8838 if (arg1
== NULL
) SWIG_fail
;
8842 arg2
= wxString_in_helper(obj1
);
8843 if (arg2
== NULL
) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 Py_INCREF(Py_None
); resultobj
= Py_None
;
8876 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8886 result
= (wxLogNull
*)new wxLogNull();
8888 wxPyEndAllowThreads(__tstate
);
8889 if (PyErr_Occurred()) SWIG_fail
;
8891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8898 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8899 PyObject
*resultobj
;
8900 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8901 PyObject
* obj0
= 0 ;
8903 (char *) "self", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8926 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8928 return Py_BuildValue((char *)"");
8930 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8940 result
= (wxPyLog
*)new wxPyLog();
8942 wxPyEndAllowThreads(__tstate
);
8943 if (PyErr_Occurred()) SWIG_fail
;
8945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8952 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8955 PyObject
*arg2
= (PyObject
*) 0 ;
8956 PyObject
*arg3
= (PyObject
*) 0 ;
8957 PyObject
* obj0
= 0 ;
8958 PyObject
* obj1
= 0 ;
8959 PyObject
* obj2
= 0 ;
8961 (char *) "self",(char *) "self",(char *) "_class", NULL
8964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 Py_INCREF(Py_None
); resultobj
= Py_None
;
8983 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8985 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8986 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8988 return Py_BuildValue((char *)"");
8990 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8991 PyObject
*resultobj
;
8993 int arg2
= (int) wxSIGTERM
;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8998 (char *) "pid",(char *) "sig", NULL
9001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
9002 arg1
= (int) SWIG_AsInt(obj0
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9012 wxPyEndAllowThreads(__tstate
);
9013 if (PyErr_Occurred()) SWIG_fail
;
9015 resultobj
= SWIG_FromInt((int)result
);
9022 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9023 PyObject
*resultobj
;
9026 PyObject
* obj0
= 0 ;
9028 (char *) "pid", NULL
9031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9032 arg1
= (int) SWIG_AsInt(obj0
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9036 result
= (bool)wxPyProcess::Exists(arg1
);
9038 wxPyEndAllowThreads(__tstate
);
9039 if (PyErr_Occurred()) SWIG_fail
;
9042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9050 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9051 PyObject
*resultobj
;
9052 wxString
*arg1
= 0 ;
9053 int arg2
= (int) wxEXEC_ASYNC
;
9054 wxPyProcess
*result
;
9055 bool temp1
= False
;
9056 PyObject
* obj0
= 0 ;
9057 PyObject
* obj1
= 0 ;
9059 (char *) "cmd",(char *) "flags", NULL
9062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9064 arg1
= wxString_in_helper(obj0
);
9065 if (arg1
== NULL
) SWIG_fail
;
9069 arg2
= (int) SWIG_AsInt(obj1
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9074 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9076 wxPyEndAllowThreads(__tstate
);
9077 if (PyErr_Occurred()) SWIG_fail
;
9079 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9094 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9097 int arg2
= (int) -1 ;
9098 wxPyProcess
*result
;
9099 PyObject
* obj0
= 0 ;
9100 PyObject
* obj1
= 0 ;
9102 (char *) "parent",(char *) "id", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9111 arg2
= (int) SWIG_AsInt(obj1
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9128 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9131 PyObject
*arg2
= (PyObject
*) 0 ;
9132 PyObject
*arg3
= (PyObject
*) 0 ;
9133 PyObject
* obj0
= 0 ;
9134 PyObject
* obj1
= 0 ;
9135 PyObject
* obj2
= 0 ;
9137 (char *) "self",(char *) "self",(char *) "_class", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9147 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9149 wxPyEndAllowThreads(__tstate
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9152 Py_INCREF(Py_None
); resultobj
= Py_None
;
9159 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9160 PyObject
*resultobj
;
9161 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9165 PyObject
* obj1
= 0 ;
9166 PyObject
* obj2
= 0 ;
9168 (char *) "self",(char *) "pid",(char *) "status", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9174 arg2
= (int) SWIG_AsInt(obj1
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9176 arg3
= (int) SWIG_AsInt(obj2
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9180 (arg1
)->base_OnTerminate(arg2
,arg3
);
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 Py_INCREF(Py_None
); resultobj
= Py_None
;
9192 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
;
9194 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9195 PyObject
* obj0
= 0 ;
9197 (char *) "self", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9207 wxPyEndAllowThreads(__tstate
);
9208 if (PyErr_Occurred()) SWIG_fail
;
9210 Py_INCREF(Py_None
); resultobj
= Py_None
;
9217 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
;
9219 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9221 PyObject
* obj0
= 0 ;
9223 (char *) "self", NULL
9226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9231 result
= (bool)(arg1
)->IsRedirected();
9233 wxPyEndAllowThreads(__tstate
);
9234 if (PyErr_Occurred()) SWIG_fail
;
9237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9245 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9247 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9248 PyObject
* obj0
= 0 ;
9250 (char *) "self", NULL
9253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9260 wxPyEndAllowThreads(__tstate
);
9261 if (PyErr_Occurred()) SWIG_fail
;
9263 Py_INCREF(Py_None
); resultobj
= Py_None
;
9270 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9271 PyObject
*resultobj
;
9272 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9273 wxInputStream
*result
;
9274 PyObject
* obj0
= 0 ;
9276 (char *) "self", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9284 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9286 wxPyEndAllowThreads(__tstate
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9290 wxPyInputStream
* _ptr
= NULL
;
9293 _ptr
= new wxPyInputStream(result
);
9295 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9303 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9304 PyObject
*resultobj
;
9305 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9306 wxInputStream
*result
;
9307 PyObject
* obj0
= 0 ;
9309 (char *) "self", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9319 wxPyEndAllowThreads(__tstate
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9323 wxPyInputStream
* _ptr
= NULL
;
9326 _ptr
= new wxPyInputStream(result
);
9328 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9336 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9339 wxOutputStream
*result
;
9340 PyObject
* obj0
= 0 ;
9342 (char *) "self", NULL
9345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9362 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9365 PyObject
* obj0
= 0 ;
9367 (char *) "self", NULL
9370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 (arg1
)->CloseOutput();
9377 wxPyEndAllowThreads(__tstate
);
9378 if (PyErr_Occurred()) SWIG_fail
;
9380 Py_INCREF(Py_None
); resultobj
= Py_None
;
9387 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9388 PyObject
*resultobj
;
9389 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9391 PyObject
* obj0
= 0 ;
9393 (char *) "self", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9401 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9403 wxPyEndAllowThreads(__tstate
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9415 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9416 PyObject
*resultobj
;
9417 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9419 PyObject
* obj0
= 0 ;
9421 (char *) "self", NULL
9424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9429 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9431 wxPyEndAllowThreads(__tstate
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9443 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9444 PyObject
*resultobj
;
9445 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9447 PyObject
* obj0
= 0 ;
9449 (char *) "self", NULL
9452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9457 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9459 wxPyEndAllowThreads(__tstate
);
9460 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9471 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9474 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9476 return Py_BuildValue((char *)"");
9478 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9479 PyObject
*resultobj
;
9480 int arg1
= (int) 0 ;
9481 int arg2
= (int) 0 ;
9482 int arg3
= (int) 0 ;
9483 wxProcessEvent
*result
;
9484 PyObject
* obj0
= 0 ;
9485 PyObject
* obj1
= 0 ;
9486 PyObject
* obj2
= 0 ;
9488 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9493 arg1
= (int) SWIG_AsInt(obj0
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9497 arg2
= (int) SWIG_AsInt(obj1
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9501 arg3
= (int) SWIG_AsInt(obj2
);
9502 if (PyErr_Occurred()) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9518 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9519 PyObject
*resultobj
;
9520 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9522 PyObject
* obj0
= 0 ;
9524 (char *) "self", NULL
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 result
= (int)(arg1
)->GetPid();
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9537 resultobj
= SWIG_FromInt((int)result
);
9544 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9548 PyObject
* obj0
= 0 ;
9550 (char *) "self", NULL
9553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9558 result
= (int)(arg1
)->GetExitCode();
9560 wxPyEndAllowThreads(__tstate
);
9561 if (PyErr_Occurred()) SWIG_fail
;
9563 resultobj
= SWIG_FromInt((int)result
);
9570 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9571 PyObject
*resultobj
;
9572 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9574 PyObject
* obj0
= 0 ;
9575 PyObject
* obj1
= 0 ;
9577 (char *) "self",(char *) "m_pid", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9583 arg2
= (int) SWIG_AsInt(obj1
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9585 if (arg1
) (arg1
)->m_pid
= arg2
;
9587 Py_INCREF(Py_None
); resultobj
= Py_None
;
9594 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
;
9596 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9598 PyObject
* obj0
= 0 ;
9600 (char *) "self", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9606 result
= (int) ((arg1
)->m_pid
);
9608 resultobj
= SWIG_FromInt((int)result
);
9615 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9616 PyObject
*resultobj
;
9617 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9620 PyObject
* obj1
= 0 ;
9622 (char *) "self",(char *) "m_exitcode", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9628 arg2
= (int) SWIG_AsInt(obj1
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9630 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9632 Py_INCREF(Py_None
); resultobj
= Py_None
;
9639 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9640 PyObject
*resultobj
;
9641 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9643 PyObject
* obj0
= 0 ;
9645 (char *) "self", NULL
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9651 result
= (int) ((arg1
)->m_exitcode
);
9653 resultobj
= SWIG_FromInt((int)result
);
9660 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9663 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9665 return Py_BuildValue((char *)"");
9667 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9668 PyObject
*resultobj
;
9669 wxString
*arg1
= 0 ;
9670 int arg2
= (int) wxEXEC_ASYNC
;
9671 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9673 bool temp1
= False
;
9674 PyObject
* obj0
= 0 ;
9675 PyObject
* obj1
= 0 ;
9676 PyObject
* obj2
= 0 ;
9678 (char *) "command",(char *) "flags",(char *) "process", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9683 arg1
= wxString_in_helper(obj0
);
9684 if (arg1
== NULL
) SWIG_fail
;
9688 arg2
= (int) SWIG_AsInt(obj1
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9692 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9696 if (!wxPyCheckForApp()) SWIG_fail
;
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9703 resultobj
= SWIG_FromLong((long)result
);
9718 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 int arg1
= (int) wxJOYSTICK1
;
9722 PyObject
* obj0
= 0 ;
9724 (char *) "joystick", NULL
9727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9729 arg1
= (int) SWIG_AsInt(obj0
);
9730 if (PyErr_Occurred()) SWIG_fail
;
9733 if (!wxPyCheckForApp()) SWIG_fail
;
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 result
= (wxJoystick
*)new wxJoystick(arg1
);
9737 wxPyEndAllowThreads(__tstate
);
9738 if (PyErr_Occurred()) SWIG_fail
;
9740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9747 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9748 PyObject
*resultobj
;
9749 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9750 PyObject
* obj0
= 0 ;
9752 (char *) "self", NULL
9755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 Py_INCREF(Py_None
); resultobj
= Py_None
;
9772 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9778 (char *) "self", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (arg1
)->GetPosition();
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9792 wxPoint
* resultptr
;
9793 resultptr
= new wxPoint((wxPoint
&) result
);
9794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9802 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (int)(arg1
)->GetZPosition();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_FromInt((int)result
);
9828 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (int)(arg1
)->GetButtonState();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= SWIG_FromInt((int)result
);
9854 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9858 PyObject
* obj0
= 0 ;
9860 (char *) "self", NULL
9863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9868 result
= (int)(arg1
)->GetPOVPosition();
9870 wxPyEndAllowThreads(__tstate
);
9871 if (PyErr_Occurred()) SWIG_fail
;
9873 resultobj
= SWIG_FromInt((int)result
);
9880 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9881 PyObject
*resultobj
;
9882 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9884 PyObject
* obj0
= 0 ;
9886 (char *) "self", NULL
9889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9894 result
= (int)(arg1
)->GetPOVCTSPosition();
9896 wxPyEndAllowThreads(__tstate
);
9897 if (PyErr_Occurred()) SWIG_fail
;
9899 resultobj
= SWIG_FromInt((int)result
);
9906 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9907 PyObject
*resultobj
;
9908 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9910 PyObject
* obj0
= 0 ;
9912 (char *) "self", NULL
9915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9920 result
= (int)(arg1
)->GetRudderPosition();
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9925 resultobj
= SWIG_FromInt((int)result
);
9932 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
;
9934 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9936 PyObject
* obj0
= 0 ;
9938 (char *) "self", NULL
9941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9946 result
= (int)(arg1
)->GetUPosition();
9948 wxPyEndAllowThreads(__tstate
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9951 resultobj
= SWIG_FromInt((int)result
);
9958 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9959 PyObject
*resultobj
;
9960 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9962 PyObject
* obj0
= 0 ;
9964 (char *) "self", NULL
9967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9972 result
= (int)(arg1
)->GetVPosition();
9974 wxPyEndAllowThreads(__tstate
);
9975 if (PyErr_Occurred()) SWIG_fail
;
9977 resultobj
= SWIG_FromInt((int)result
);
9984 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9988 PyObject
* obj0
= 0 ;
9990 (char *) "self", NULL
9993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9998 result
= (int)(arg1
)->GetMovementThreshold();
10000 wxPyEndAllowThreads(__tstate
);
10001 if (PyErr_Occurred()) SWIG_fail
;
10003 resultobj
= SWIG_FromInt((int)result
);
10010 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10011 PyObject
*resultobj
;
10012 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10014 PyObject
* obj0
= 0 ;
10015 PyObject
* obj1
= 0 ;
10016 char *kwnames
[] = {
10017 (char *) "self",(char *) "threshold", NULL
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10023 arg2
= (int) SWIG_AsInt(obj1
);
10024 if (PyErr_Occurred()) SWIG_fail
;
10026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10027 (arg1
)->SetMovementThreshold(arg2
);
10029 wxPyEndAllowThreads(__tstate
);
10030 if (PyErr_Occurred()) SWIG_fail
;
10032 Py_INCREF(Py_None
); resultobj
= Py_None
;
10039 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10040 PyObject
*resultobj
;
10041 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10043 PyObject
* obj0
= 0 ;
10044 char *kwnames
[] = {
10045 (char *) "self", NULL
10048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10053 result
= (bool)(arg1
)->IsOk();
10055 wxPyEndAllowThreads(__tstate
);
10056 if (PyErr_Occurred()) SWIG_fail
;
10059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10067 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10068 PyObject
*resultobj
;
10069 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10071 PyObject
* obj0
= 0 ;
10072 char *kwnames
[] = {
10073 (char *) "self", NULL
10076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (int)(arg1
)->GetNumberJoysticks();
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= SWIG_FromInt((int)result
);
10093 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10094 PyObject
*resultobj
;
10095 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10097 PyObject
* obj0
= 0 ;
10098 char *kwnames
[] = {
10099 (char *) "self", NULL
10102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10107 result
= (int)(arg1
)->GetManufacturerId();
10109 wxPyEndAllowThreads(__tstate
);
10110 if (PyErr_Occurred()) SWIG_fail
;
10112 resultobj
= SWIG_FromInt((int)result
);
10119 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10120 PyObject
*resultobj
;
10121 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10123 PyObject
* obj0
= 0 ;
10124 char *kwnames
[] = {
10125 (char *) "self", NULL
10128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10133 result
= (int)(arg1
)->GetProductId();
10135 wxPyEndAllowThreads(__tstate
);
10136 if (PyErr_Occurred()) SWIG_fail
;
10138 resultobj
= SWIG_FromInt((int)result
);
10145 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10149 PyObject
* obj0
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (arg1
)->GetProductName();
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10177 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10178 PyObject
*resultobj
;
10179 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10181 PyObject
* obj0
= 0 ;
10182 char *kwnames
[] = {
10183 (char *) "self", NULL
10186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10191 result
= (int)(arg1
)->GetXMin();
10193 wxPyEndAllowThreads(__tstate
);
10194 if (PyErr_Occurred()) SWIG_fail
;
10196 resultobj
= SWIG_FromInt((int)result
);
10203 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10207 PyObject
* obj0
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (int)(arg1
)->GetYMin();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_FromInt((int)result
);
10229 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10230 PyObject
*resultobj
;
10231 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10233 PyObject
* obj0
= 0 ;
10234 char *kwnames
[] = {
10235 (char *) "self", NULL
10238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10243 result
= (int)(arg1
)->GetZMin();
10245 wxPyEndAllowThreads(__tstate
);
10246 if (PyErr_Occurred()) SWIG_fail
;
10248 resultobj
= SWIG_FromInt((int)result
);
10255 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10256 PyObject
*resultobj
;
10257 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10259 PyObject
* obj0
= 0 ;
10260 char *kwnames
[] = {
10261 (char *) "self", NULL
10264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10269 result
= (int)(arg1
)->GetXMax();
10271 wxPyEndAllowThreads(__tstate
);
10272 if (PyErr_Occurred()) SWIG_fail
;
10274 resultobj
= SWIG_FromInt((int)result
);
10281 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10282 PyObject
*resultobj
;
10283 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10285 PyObject
* obj0
= 0 ;
10286 char *kwnames
[] = {
10287 (char *) "self", NULL
10290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 result
= (int)(arg1
)->GetYMax();
10297 wxPyEndAllowThreads(__tstate
);
10298 if (PyErr_Occurred()) SWIG_fail
;
10300 resultobj
= SWIG_FromInt((int)result
);
10307 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10311 PyObject
* obj0
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10321 result
= (int)(arg1
)->GetZMax();
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_FromInt((int)result
);
10333 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10334 PyObject
*resultobj
;
10335 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10337 PyObject
* obj0
= 0 ;
10338 char *kwnames
[] = {
10339 (char *) "self", NULL
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10347 result
= (int)(arg1
)->GetNumberButtons();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_FromInt((int)result
);
10359 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
;
10361 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10363 PyObject
* obj0
= 0 ;
10364 char *kwnames
[] = {
10365 (char *) "self", NULL
10368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10373 result
= (int)(arg1
)->GetNumberAxes();
10375 wxPyEndAllowThreads(__tstate
);
10376 if (PyErr_Occurred()) SWIG_fail
;
10378 resultobj
= SWIG_FromInt((int)result
);
10385 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10386 PyObject
*resultobj
;
10387 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10389 PyObject
* obj0
= 0 ;
10390 char *kwnames
[] = {
10391 (char *) "self", NULL
10394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 result
= (int)(arg1
)->GetMaxButtons();
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 resultobj
= SWIG_FromInt((int)result
);
10411 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (int)(arg1
)->GetMaxAxes();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10430 resultobj
= SWIG_FromInt((int)result
);
10437 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10438 PyObject
*resultobj
;
10439 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10441 PyObject
* obj0
= 0 ;
10442 char *kwnames
[] = {
10443 (char *) "self", NULL
10446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10451 result
= (int)(arg1
)->GetPollingMin();
10453 wxPyEndAllowThreads(__tstate
);
10454 if (PyErr_Occurred()) SWIG_fail
;
10456 resultobj
= SWIG_FromInt((int)result
);
10463 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10464 PyObject
*resultobj
;
10465 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10467 PyObject
* obj0
= 0 ;
10468 char *kwnames
[] = {
10469 (char *) "self", NULL
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (int)(arg1
)->GetPollingMax();
10479 wxPyEndAllowThreads(__tstate
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= SWIG_FromInt((int)result
);
10489 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10490 PyObject
*resultobj
;
10491 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10493 PyObject
* obj0
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (int)(arg1
)->GetRudderMin();
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= SWIG_FromInt((int)result
);
10515 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 result
= (int)(arg1
)->GetRudderMax();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= SWIG_FromInt((int)result
);
10541 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10542 PyObject
*resultobj
;
10543 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10545 PyObject
* obj0
= 0 ;
10546 char *kwnames
[] = {
10547 (char *) "self", NULL
10550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10555 result
= (int)(arg1
)->GetUMin();
10557 wxPyEndAllowThreads(__tstate
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10560 resultobj
= SWIG_FromInt((int)result
);
10567 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10571 PyObject
* obj0
= 0 ;
10572 char *kwnames
[] = {
10573 (char *) "self", NULL
10576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (int)(arg1
)->GetUMax();
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= SWIG_FromInt((int)result
);
10593 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 char *kwnames
[] = {
10599 (char *) "self", NULL
10602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10607 result
= (int)(arg1
)->GetVMin();
10609 wxPyEndAllowThreads(__tstate
);
10610 if (PyErr_Occurred()) SWIG_fail
;
10612 resultobj
= SWIG_FromInt((int)result
);
10619 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (int)(arg1
)->GetVMax();
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= SWIG_FromInt((int)result
);
10645 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10649 PyObject
* obj0
= 0 ;
10650 char *kwnames
[] = {
10651 (char *) "self", NULL
10654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 result
= (bool)(arg1
)->HasRudder();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10673 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10677 PyObject
* obj0
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10687 result
= (bool)(arg1
)->HasZ();
10689 wxPyEndAllowThreads(__tstate
);
10690 if (PyErr_Occurred()) SWIG_fail
;
10693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10701 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10702 PyObject
*resultobj
;
10703 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10705 PyObject
* obj0
= 0 ;
10706 char *kwnames
[] = {
10707 (char *) "self", NULL
10710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10715 result
= (bool)(arg1
)->HasU();
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10729 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10733 PyObject
* obj0
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10743 result
= (bool)(arg1
)->HasV();
10745 wxPyEndAllowThreads(__tstate
);
10746 if (PyErr_Occurred()) SWIG_fail
;
10749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10757 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10761 PyObject
* obj0
= 0 ;
10762 char *kwnames
[] = {
10763 (char *) "self", NULL
10766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10771 result
= (bool)(arg1
)->HasPOV();
10773 wxPyEndAllowThreads(__tstate
);
10774 if (PyErr_Occurred()) SWIG_fail
;
10777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10785 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10786 PyObject
*resultobj
;
10787 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10789 PyObject
* obj0
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (bool)(arg1
)->HasPOV4Dir();
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10813 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10815 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10817 PyObject
* obj0
= 0 ;
10818 char *kwnames
[] = {
10819 (char *) "self", NULL
10822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= (bool)(arg1
)->HasPOVCTS();
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10841 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
;
10843 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10844 wxWindow
*arg2
= (wxWindow
*) 0 ;
10845 int arg3
= (int) 0 ;
10847 PyObject
* obj0
= 0 ;
10848 PyObject
* obj1
= 0 ;
10849 PyObject
* obj2
= 0 ;
10850 char *kwnames
[] = {
10851 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10857 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10860 arg3
= (int) SWIG_AsInt(obj2
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10879 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (bool)(arg1
)->ReleaseCapture();
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10907 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10910 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10912 return Py_BuildValue((char *)"");
10914 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10915 PyObject
*resultobj
;
10916 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10917 wxPoint
*arg2
= (wxPoint
*) 0 ;
10918 PyObject
* obj0
= 0 ;
10919 PyObject
* obj1
= 0 ;
10920 char *kwnames
[] = {
10921 (char *) "self",(char *) "m_pos", NULL
10924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10929 if (arg1
) (arg1
)->m_pos
= *arg2
;
10931 Py_INCREF(Py_None
); resultobj
= Py_None
;
10938 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10939 PyObject
*resultobj
;
10940 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10942 PyObject
* obj0
= 0 ;
10943 char *kwnames
[] = {
10944 (char *) "self", NULL
10947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10950 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10959 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10960 PyObject
*resultobj
;
10961 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 PyObject
* obj1
= 0 ;
10965 char *kwnames
[] = {
10966 (char *) "self",(char *) "m_zPosition", NULL
10969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10972 arg2
= (int) SWIG_AsInt(obj1
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10974 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10976 Py_INCREF(Py_None
); resultobj
= Py_None
;
10983 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10987 PyObject
* obj0
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "self", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10995 result
= (int) ((arg1
)->m_zPosition
);
10997 resultobj
= SWIG_FromInt((int)result
);
11004 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11005 PyObject
*resultobj
;
11006 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11008 PyObject
* obj0
= 0 ;
11009 PyObject
* obj1
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self",(char *) "m_buttonChange", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11017 arg2
= (int) SWIG_AsInt(obj1
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11019 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11021 Py_INCREF(Py_None
); resultobj
= Py_None
;
11028 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
;
11030 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11032 PyObject
* obj0
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11040 result
= (int) ((arg1
)->m_buttonChange
);
11042 resultobj
= SWIG_FromInt((int)result
);
11049 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
;
11051 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11053 PyObject
* obj0
= 0 ;
11054 PyObject
* obj1
= 0 ;
11055 char *kwnames
[] = {
11056 (char *) "self",(char *) "m_buttonState", NULL
11059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11062 arg2
= (int) SWIG_AsInt(obj1
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11064 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11066 Py_INCREF(Py_None
); resultobj
= Py_None
;
11073 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11077 PyObject
* obj0
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11085 result
= (int) ((arg1
)->m_buttonState
);
11087 resultobj
= SWIG_FromInt((int)result
);
11094 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11095 PyObject
*resultobj
;
11096 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11098 PyObject
* obj0
= 0 ;
11099 PyObject
* obj1
= 0 ;
11100 char *kwnames
[] = {
11101 (char *) "self",(char *) "m_joyStick", NULL
11104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11107 arg2
= (int) SWIG_AsInt(obj1
);
11108 if (PyErr_Occurred()) SWIG_fail
;
11109 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11111 Py_INCREF(Py_None
); resultobj
= Py_None
;
11118 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11119 PyObject
*resultobj
;
11120 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11122 PyObject
* obj0
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11130 result
= (int) ((arg1
)->m_joyStick
);
11132 resultobj
= SWIG_FromInt((int)result
);
11139 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11140 PyObject
*resultobj
;
11141 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11142 int arg2
= (int) 0 ;
11143 int arg3
= (int) wxJOYSTICK1
;
11144 int arg4
= (int) 0 ;
11145 wxJoystickEvent
*result
;
11146 PyObject
* obj0
= 0 ;
11147 PyObject
* obj1
= 0 ;
11148 PyObject
* obj2
= 0 ;
11149 PyObject
* obj3
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11156 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11160 arg2
= (int) SWIG_AsInt(obj1
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 arg3
= (int) SWIG_AsInt(obj2
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11168 arg4
= (int) SWIG_AsInt(obj3
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11185 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11186 PyObject
*resultobj
;
11187 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11189 PyObject
* obj0
= 0 ;
11190 char *kwnames
[] = {
11191 (char *) "self", NULL
11194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11205 wxPoint
* resultptr
;
11206 resultptr
= new wxPoint((wxPoint
&) result
);
11207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11215 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11229 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11231 wxPyEndAllowThreads(__tstate
);
11232 if (PyErr_Occurred()) SWIG_fail
;
11234 resultobj
= SWIG_FromInt((int)result
);
11241 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11245 PyObject
* obj0
= 0 ;
11246 char *kwnames
[] = {
11247 (char *) "self", NULL
11250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11255 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11257 wxPyEndAllowThreads(__tstate
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 resultobj
= SWIG_FromInt((int)result
);
11267 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11271 PyObject
* obj0
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "self", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11281 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11283 wxPyEndAllowThreads(__tstate
);
11284 if (PyErr_Occurred()) SWIG_fail
;
11286 resultobj
= SWIG_FromInt((int)result
);
11293 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11294 PyObject
*resultobj
;
11295 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 char *kwnames
[] = {
11299 (char *) "self", NULL
11302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_FromInt((int)result
);
11319 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11323 PyObject
* obj0
= 0 ;
11324 PyObject
* obj1
= 0 ;
11325 char *kwnames
[] = {
11326 (char *) "self",(char *) "stick", NULL
11329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11332 arg2
= (int) SWIG_AsInt(obj1
);
11333 if (PyErr_Occurred()) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 (arg1
)->SetJoystick(arg2
);
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 Py_INCREF(Py_None
); resultobj
= Py_None
;
11348 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 PyObject
* obj1
= 0 ;
11354 char *kwnames
[] = {
11355 (char *) "self",(char *) "state", NULL
11358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11361 arg2
= (int) SWIG_AsInt(obj1
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 (arg1
)->SetButtonState(arg2
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 Py_INCREF(Py_None
); resultobj
= Py_None
;
11377 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11381 PyObject
* obj0
= 0 ;
11382 PyObject
* obj1
= 0 ;
11383 char *kwnames
[] = {
11384 (char *) "self",(char *) "change", NULL
11387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11390 arg2
= (int) SWIG_AsInt(obj1
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 (arg1
)->SetButtonChange(arg2
);
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 Py_INCREF(Py_None
); resultobj
= Py_None
;
11406 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11409 wxPoint
*arg2
= 0 ;
11411 PyObject
* obj0
= 0 ;
11412 PyObject
* obj1
= 0 ;
11413 char *kwnames
[] = {
11414 (char *) "self",(char *) "pos", NULL
11417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11422 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11426 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11428 wxPyEndAllowThreads(__tstate
);
11429 if (PyErr_Occurred()) SWIG_fail
;
11431 Py_INCREF(Py_None
); resultobj
= Py_None
;
11438 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
*resultobj
;
11440 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11442 PyObject
* obj0
= 0 ;
11443 PyObject
* obj1
= 0 ;
11444 char *kwnames
[] = {
11445 (char *) "self",(char *) "zPos", NULL
11448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11451 arg2
= (int) SWIG_AsInt(obj1
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11455 (arg1
)->SetZPosition(arg2
);
11457 wxPyEndAllowThreads(__tstate
);
11458 if (PyErr_Occurred()) SWIG_fail
;
11460 Py_INCREF(Py_None
); resultobj
= Py_None
;
11467 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11468 PyObject
*resultobj
;
11469 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11471 PyObject
* obj0
= 0 ;
11472 char *kwnames
[] = {
11473 (char *) "self", NULL
11476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11495 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11499 PyObject
* obj0
= 0 ;
11500 char *kwnames
[] = {
11501 (char *) "self", NULL
11504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11523 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11524 PyObject
*resultobj
;
11525 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11527 PyObject
* obj0
= 0 ;
11528 char *kwnames
[] = {
11529 (char *) "self", NULL
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11537 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11539 wxPyEndAllowThreads(__tstate
);
11540 if (PyErr_Occurred()) SWIG_fail
;
11543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11551 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11554 int arg2
= (int) wxJOY_BUTTON_ANY
;
11556 PyObject
* obj0
= 0 ;
11557 PyObject
* obj1
= 0 ;
11558 char *kwnames
[] = {
11559 (char *) "self",(char *) "but", NULL
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11566 arg2
= (int) SWIG_AsInt(obj1
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11571 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11585 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11586 PyObject
*resultobj
;
11587 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11588 int arg2
= (int) wxJOY_BUTTON_ANY
;
11590 PyObject
* obj0
= 0 ;
11591 PyObject
* obj1
= 0 ;
11592 char *kwnames
[] = {
11593 (char *) "self",(char *) "but", NULL
11596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11600 arg2
= (int) SWIG_AsInt(obj1
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11619 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11620 PyObject
*resultobj
;
11621 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11622 int arg2
= (int) wxJOY_BUTTON_ANY
;
11624 PyObject
* obj0
= 0 ;
11625 PyObject
* obj1
= 0 ;
11626 char *kwnames
[] = {
11627 (char *) "self",(char *) "but", NULL
11630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11634 arg2
= (int) SWIG_AsInt(obj1
);
11635 if (PyErr_Occurred()) SWIG_fail
;
11638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11639 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11641 wxPyEndAllowThreads(__tstate
);
11642 if (PyErr_Occurred()) SWIG_fail
;
11645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11653 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11656 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11658 return Py_BuildValue((char *)"");
11660 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11663 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11665 bool temp1
= False
;
11666 PyObject
* obj0
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "fileName", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11674 arg1
= wxString_in_helper(obj0
);
11675 if (arg1
== NULL
) SWIG_fail
;
11680 if (!wxPyCheckForApp()) SWIG_fail
;
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11684 wxPyEndAllowThreads(__tstate
);
11685 if (PyErr_Occurred()) SWIG_fail
;
11687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11702 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
;
11704 PyObject
*arg1
= (PyObject
*) 0 ;
11706 PyObject
* obj0
= 0 ;
11707 char *kwnames
[] = {
11708 (char *) "data", NULL
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11714 if (!wxPyCheckForApp()) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (wxSound
*)new_wxSound(arg1
);
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11728 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxSound
*arg1
= (wxSound
*) 0 ;
11731 PyObject
* obj0
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "self", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 wxPyEndAllowThreads(__tstate
);
11744 if (PyErr_Occurred()) SWIG_fail
;
11746 Py_INCREF(Py_None
); resultobj
= Py_None
;
11753 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11754 PyObject
*resultobj
;
11755 wxSound
*arg1
= (wxSound
*) 0 ;
11756 wxString
*arg2
= 0 ;
11758 bool temp2
= False
;
11759 PyObject
* obj0
= 0 ;
11760 PyObject
* obj1
= 0 ;
11761 char *kwnames
[] = {
11762 (char *) "self",(char *) "fileName", NULL
11765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11769 arg2
= wxString_in_helper(obj1
);
11770 if (arg2
== NULL
) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11797 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11798 PyObject
*resultobj
;
11799 wxSound
*arg1
= (wxSound
*) 0 ;
11800 PyObject
*arg2
= (PyObject
*) 0 ;
11802 PyObject
* obj0
= 0 ;
11803 PyObject
* obj1
= 0 ;
11804 char *kwnames
[] = {
11805 (char *) "self",(char *) "data", NULL
11808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11814 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11816 wxPyEndAllowThreads(__tstate
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11828 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11829 PyObject
*resultobj
;
11830 wxSound
*arg1
= (wxSound
*) 0 ;
11832 PyObject
* obj0
= 0 ;
11833 char *kwnames
[] = {
11834 (char *) "self", NULL
11837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11842 result
= (bool)(arg1
)->IsOk();
11844 wxPyEndAllowThreads(__tstate
);
11845 if (PyErr_Occurred()) SWIG_fail
;
11848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11856 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxSound
*arg1
= (wxSound
*) 0 ;
11859 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11861 PyObject
* obj0
= 0 ;
11862 PyObject
* obj1
= 0 ;
11863 char *kwnames
[] = {
11864 (char *) "self",(char *) "flags", NULL
11867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11871 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11875 if (!wxPyCheckForApp()) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11879 wxPyEndAllowThreads(__tstate
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11891 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11892 PyObject
*resultobj
;
11893 wxString
*arg1
= 0 ;
11894 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11896 bool temp1
= False
;
11897 PyObject
* obj0
= 0 ;
11898 PyObject
* obj1
= 0 ;
11899 char *kwnames
[] = {
11900 (char *) "filename",(char *) "flags", NULL
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11905 arg1
= wxString_in_helper(obj0
);
11906 if (arg1
== NULL
) SWIG_fail
;
11910 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11914 if (!wxPyCheckForApp()) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11938 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 char *kwnames
[] = {
11944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11946 if (!wxPyCheckForApp()) SWIG_fail
;
11947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 Py_INCREF(Py_None
); resultobj
= Py_None
;
11960 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11963 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11965 return Py_BuildValue((char *)"");
11967 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11968 PyObject
*resultobj
;
11969 wxString
*arg1
= 0 ;
11970 wxString
*arg2
= 0 ;
11971 wxString
*arg3
= 0 ;
11972 wxString
*arg4
= 0 ;
11973 wxFileTypeInfo
*result
;
11974 bool temp1
= False
;
11975 bool temp2
= False
;
11976 bool temp3
= False
;
11977 bool temp4
= False
;
11978 PyObject
* obj0
= 0 ;
11979 PyObject
* obj1
= 0 ;
11980 PyObject
* obj2
= 0 ;
11981 PyObject
* obj3
= 0 ;
11982 char *kwnames
[] = {
11983 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11988 arg1
= wxString_in_helper(obj0
);
11989 if (arg1
== NULL
) SWIG_fail
;
11993 arg2
= wxString_in_helper(obj1
);
11994 if (arg2
== NULL
) SWIG_fail
;
11998 arg3
= wxString_in_helper(obj2
);
11999 if (arg3
== NULL
) SWIG_fail
;
12003 arg4
= wxString_in_helper(obj3
);
12004 if (arg4
== NULL
) SWIG_fail
;
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12011 wxPyEndAllowThreads(__tstate
);
12012 if (PyErr_Occurred()) SWIG_fail
;
12014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12053 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxArrayString
*arg1
= 0 ;
12056 wxFileTypeInfo
*result
;
12057 bool temp1
= False
;
12058 PyObject
* obj0
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "sArray", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12065 if (! PySequence_Check(obj0
)) {
12066 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12069 arg1
= new wxArrayString
;
12071 int i
, len
=PySequence_Length(obj0
);
12072 for (i
=0; i
<len
; i
++) {
12073 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12075 PyObject
* str
= PyObject_Unicode(item
);
12077 PyObject
* str
= PyObject_Str(item
);
12079 if (PyErr_Occurred()) SWIG_fail
;
12080 arg1
->Add(Py2wxString(str
));
12086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12087 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12089 wxPyEndAllowThreads(__tstate
);
12090 if (PyErr_Occurred()) SWIG_fail
;
12092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12094 if (temp1
) delete arg1
;
12099 if (temp1
) delete arg1
;
12105 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12106 PyObject
*resultobj
;
12107 wxFileTypeInfo
*result
;
12108 char *kwnames
[] = {
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12115 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12117 wxPyEndAllowThreads(__tstate
);
12118 if (PyErr_Occurred()) SWIG_fail
;
12120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12127 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12128 PyObject
*resultobj
;
12129 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12131 PyObject
* obj0
= 0 ;
12132 char *kwnames
[] = {
12133 (char *) "self", NULL
12136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12141 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12155 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
;
12157 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12158 wxString
*arg2
= 0 ;
12159 int arg3
= (int) 0 ;
12160 bool temp2
= False
;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 PyObject
* obj2
= 0 ;
12164 char *kwnames
[] = {
12165 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12172 arg2
= wxString_in_helper(obj1
);
12173 if (arg2
== NULL
) SWIG_fail
;
12177 arg3
= (int) SWIG_AsInt(obj2
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 Py_INCREF(Py_None
); resultobj
= Py_None
;
12202 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
;
12204 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12205 wxString
*arg2
= 0 ;
12206 bool temp2
= False
;
12207 PyObject
* obj0
= 0 ;
12208 PyObject
* obj1
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self",(char *) "shortDesc", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12217 arg2
= wxString_in_helper(obj1
);
12218 if (arg2
== NULL
) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 Py_INCREF(Py_None
); resultobj
= Py_None
;
12243 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12258 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12259 result
= (wxString
*) &_result_ref
;
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12269 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12278 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12279 PyObject
*resultobj
;
12280 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12282 PyObject
* obj0
= 0 ;
12283 char *kwnames
[] = {
12284 (char *) "self", NULL
12287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12293 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12294 result
= (wxString
*) &_result_ref
;
12297 wxPyEndAllowThreads(__tstate
);
12298 if (PyErr_Occurred()) SWIG_fail
;
12302 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12304 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12313 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12317 PyObject
* obj0
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "self", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12328 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12329 result
= (wxString
*) &_result_ref
;
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12337 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12339 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12348 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12349 PyObject
*resultobj
;
12350 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12352 PyObject
* obj0
= 0 ;
12353 char *kwnames
[] = {
12354 (char *) "self", NULL
12357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12364 result
= (wxString
*) &_result_ref
;
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12374 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12383 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12398 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12399 result
= (wxString
*) &_result_ref
;
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12407 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12409 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12418 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12421 wxArrayString
*result
;
12422 PyObject
* obj0
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12433 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12434 result
= (wxArrayString
*) &_result_ref
;
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= wxArrayString2PyList_helper(*result
);
12449 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12450 PyObject
*resultobj
;
12451 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12453 PyObject
* obj0
= 0 ;
12454 char *kwnames
[] = {
12455 (char *) "self", NULL
12458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12463 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12465 wxPyEndAllowThreads(__tstate
);
12466 if (PyErr_Occurred()) SWIG_fail
;
12468 resultobj
= SWIG_FromInt((int)result
);
12475 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12476 PyObject
*resultobj
;
12477 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12479 PyObject
* obj0
= 0 ;
12480 char *kwnames
[] = {
12481 (char *) "self", NULL
12484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12491 result
= (wxString
*) &_result_ref
;
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12501 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12510 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12511 PyObject
*resultobj
;
12512 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12514 PyObject
* obj0
= 0 ;
12515 char *kwnames
[] = {
12516 (char *) "self", NULL
12519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= SWIG_FromInt((int)result
);
12536 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12539 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12541 return Py_BuildValue((char *)"");
12543 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12544 PyObject
*resultobj
;
12545 wxFileTypeInfo
*arg1
= 0 ;
12546 wxFileType
*result
;
12547 PyObject
* obj0
= 0 ;
12548 char *kwnames
[] = {
12549 (char *) "ftInfo", NULL
12552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12554 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12556 if (arg1
== NULL
) {
12557 PyErr_SetString(PyExc_TypeError
,"null reference");
12561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12562 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12564 wxPyEndAllowThreads(__tstate
);
12565 if (PyErr_Occurred()) SWIG_fail
;
12567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12574 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12575 PyObject
*resultobj
;
12576 wxFileType
*arg1
= (wxFileType
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 char *kwnames
[] = {
12579 (char *) "self", NULL
12582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 wxPyEndAllowThreads(__tstate
);
12590 if (PyErr_Occurred()) SWIG_fail
;
12592 Py_INCREF(Py_None
); resultobj
= Py_None
;
12599 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12600 PyObject
*resultobj
;
12601 wxFileType
*arg1
= (wxFileType
*) 0 ;
12603 PyObject
* obj0
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self", NULL
12608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12613 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12615 wxPyEndAllowThreads(__tstate
);
12616 if (PyErr_Occurred()) SWIG_fail
;
12618 resultobj
= result
;
12625 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxFileType
*arg1
= (wxFileType
*) 0 ;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12639 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12641 wxPyEndAllowThreads(__tstate
);
12642 if (PyErr_Occurred()) SWIG_fail
;
12644 resultobj
= result
;
12651 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12652 PyObject
*resultobj
;
12653 wxFileType
*arg1
= (wxFileType
*) 0 ;
12655 PyObject
* obj0
= 0 ;
12656 char *kwnames
[] = {
12657 (char *) "self", NULL
12660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12665 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= result
;
12677 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12678 PyObject
*resultobj
;
12679 wxFileType
*arg1
= (wxFileType
*) 0 ;
12681 PyObject
* obj0
= 0 ;
12682 char *kwnames
[] = {
12683 (char *) "self", NULL
12686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12691 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12693 wxPyEndAllowThreads(__tstate
);
12694 if (PyErr_Occurred()) SWIG_fail
;
12696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12703 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12704 PyObject
*resultobj
;
12705 wxFileType
*arg1
= (wxFileType
*) 0 ;
12707 PyObject
* obj0
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "self", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= result
;
12729 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxFileType
*arg1
= (wxFileType
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= result
;
12755 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxFileType
*arg1
= (wxFileType
*) 0 ;
12758 wxString
*arg2
= 0 ;
12759 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12760 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12762 bool temp2
= False
;
12763 bool temp3
= False
;
12764 PyObject
* obj0
= 0 ;
12765 PyObject
* obj1
= 0 ;
12766 PyObject
* obj2
= 0 ;
12767 char *kwnames
[] = {
12768 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12775 arg2
= wxString_in_helper(obj1
);
12776 if (arg2
== NULL
) SWIG_fail
;
12781 arg3
= wxString_in_helper(obj2
);
12782 if (arg3
== NULL
) SWIG_fail
;
12787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12788 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12793 resultobj
= result
;
12816 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
;
12818 wxFileType
*arg1
= (wxFileType
*) 0 ;
12819 wxString
*arg2
= 0 ;
12820 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12821 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12823 bool temp2
= False
;
12824 bool temp3
= False
;
12825 PyObject
* obj0
= 0 ;
12826 PyObject
* obj1
= 0 ;
12827 PyObject
* obj2
= 0 ;
12828 char *kwnames
[] = {
12829 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12836 arg2
= wxString_in_helper(obj1
);
12837 if (arg2
== NULL
) SWIG_fail
;
12842 arg3
= wxString_in_helper(obj2
);
12843 if (arg3
== NULL
) SWIG_fail
;
12848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12849 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12851 wxPyEndAllowThreads(__tstate
);
12852 if (PyErr_Occurred()) SWIG_fail
;
12854 resultobj
= result
;
12877 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxFileType
*arg1
= (wxFileType
*) 0 ;
12880 wxString
*arg2
= 0 ;
12881 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12882 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12884 bool temp2
= False
;
12885 bool temp3
= False
;
12886 PyObject
* obj0
= 0 ;
12887 PyObject
* obj1
= 0 ;
12888 PyObject
* obj2
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12897 arg2
= wxString_in_helper(obj1
);
12898 if (arg2
== NULL
) SWIG_fail
;
12903 arg3
= wxString_in_helper(obj2
);
12904 if (arg3
== NULL
) SWIG_fail
;
12909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12910 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12912 wxPyEndAllowThreads(__tstate
);
12913 if (PyErr_Occurred()) SWIG_fail
;
12915 resultobj
= result
;
12938 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxFileType
*arg1
= (wxFileType
*) 0 ;
12941 wxString
*arg2
= 0 ;
12942 wxString
*arg3
= 0 ;
12943 bool arg4
= (bool) True
;
12945 bool temp2
= False
;
12946 bool temp3
= False
;
12947 PyObject
* obj0
= 0 ;
12948 PyObject
* obj1
= 0 ;
12949 PyObject
* obj2
= 0 ;
12950 PyObject
* obj3
= 0 ;
12951 char *kwnames
[] = {
12952 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12959 arg2
= wxString_in_helper(obj1
);
12960 if (arg2
== NULL
) SWIG_fail
;
12964 arg3
= wxString_in_helper(obj2
);
12965 if (arg3
== NULL
) SWIG_fail
;
12969 arg4
= (bool) SWIG_AsBool(obj3
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12974 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13004 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
;
13006 wxFileType
*arg1
= (wxFileType
*) 0 ;
13007 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13008 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13009 int arg3
= (int) 0 ;
13011 bool temp2
= False
;
13012 PyObject
* obj0
= 0 ;
13013 PyObject
* obj1
= 0 ;
13014 PyObject
* obj2
= 0 ;
13015 char *kwnames
[] = {
13016 (char *) "self",(char *) "cmd",(char *) "index", NULL
13019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13024 arg2
= wxString_in_helper(obj1
);
13025 if (arg2
== NULL
) SWIG_fail
;
13030 arg3
= (int) SWIG_AsInt(obj2
);
13031 if (PyErr_Occurred()) SWIG_fail
;
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13037 wxPyEndAllowThreads(__tstate
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13057 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13058 PyObject
*resultobj
;
13059 wxFileType
*arg1
= (wxFileType
*) 0 ;
13061 PyObject
* obj0
= 0 ;
13062 char *kwnames
[] = {
13063 (char *) "self", NULL
13066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13071 result
= (bool)(arg1
)->Unassociate();
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13085 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxString
*arg1
= 0 ;
13088 wxString
*arg2
= 0 ;
13089 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13090 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13092 bool temp1
= False
;
13093 bool temp2
= False
;
13094 bool temp3
= False
;
13095 PyObject
* obj0
= 0 ;
13096 PyObject
* obj1
= 0 ;
13097 PyObject
* obj2
= 0 ;
13098 char *kwnames
[] = {
13099 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13104 arg1
= wxString_in_helper(obj0
);
13105 if (arg1
== NULL
) SWIG_fail
;
13109 arg2
= wxString_in_helper(obj1
);
13110 if (arg2
== NULL
) SWIG_fail
;
13115 arg3
= wxString_in_helper(obj2
);
13116 if (arg3
== NULL
) SWIG_fail
;
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13124 wxPyEndAllowThreads(__tstate
);
13125 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13164 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13166 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13167 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13169 return Py_BuildValue((char *)"");
13171 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13172 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13177 static PyObject
*_wrap_TheMimeTypesManager_get() {
13180 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13185 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxString
*arg1
= 0 ;
13188 wxString
*arg2
= 0 ;
13190 bool temp1
= False
;
13191 bool temp2
= False
;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "mimeType",(char *) "wildcard", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13200 arg1
= wxString_in_helper(obj0
);
13201 if (arg1
== NULL
) SWIG_fail
;
13205 arg2
= wxString_in_helper(obj1
);
13206 if (arg2
== NULL
) SWIG_fail
;
13210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13211 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13213 wxPyEndAllowThreads(__tstate
);
13214 if (PyErr_Occurred()) SWIG_fail
;
13217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13241 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxMimeTypesManager
*result
;
13244 char *kwnames
[] = {
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13263 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13266 int arg2
= (int) wxMAILCAP_ALL
;
13267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13269 bool temp3
= False
;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 PyObject
* obj2
= 0 ;
13273 char *kwnames
[] = {
13274 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13281 arg2
= (int) SWIG_AsInt(obj1
);
13282 if (PyErr_Occurred()) SWIG_fail
;
13286 arg3
= wxString_in_helper(obj2
);
13287 if (arg3
== NULL
) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13295 wxPyEndAllowThreads(__tstate
);
13296 if (PyErr_Occurred()) SWIG_fail
;
13298 Py_INCREF(Py_None
); resultobj
= Py_None
;
13313 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 (arg1
)->ClearData();
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 Py_INCREF(Py_None
); resultobj
= Py_None
;
13338 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13341 wxString
*arg2
= 0 ;
13342 wxFileType
*result
;
13343 bool temp2
= False
;
13344 PyObject
* obj0
= 0 ;
13345 PyObject
* obj1
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "self",(char *) "ext", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",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
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13362 wxPyEndAllowThreads(__tstate
);
13363 if (PyErr_Occurred()) SWIG_fail
;
13365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13380 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13383 wxString
*arg2
= 0 ;
13384 wxFileType
*result
;
13385 bool temp2
= False
;
13386 PyObject
* obj0
= 0 ;
13387 PyObject
* obj1
= 0 ;
13388 char *kwnames
[] = {
13389 (char *) "self",(char *) "mimeType", NULL
13392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13396 arg2
= wxString_in_helper(obj1
);
13397 if (arg2
== NULL
) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13422 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13425 wxString
*arg2
= 0 ;
13426 bool arg3
= (bool) False
;
13428 bool temp2
= False
;
13429 PyObject
* obj0
= 0 ;
13430 PyObject
* obj1
= 0 ;
13431 PyObject
* obj2
= 0 ;
13432 char *kwnames
[] = {
13433 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13440 arg2
= wxString_in_helper(obj1
);
13441 if (arg2
== NULL
) SWIG_fail
;
13445 arg3
= (bool) SWIG_AsBool(obj2
);
13446 if (PyErr_Occurred()) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13472 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13473 PyObject
*resultobj
;
13474 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13475 wxString
*arg2
= 0 ;
13477 bool temp2
= False
;
13478 PyObject
* obj0
= 0 ;
13479 PyObject
* obj1
= 0 ;
13480 char *kwnames
[] = {
13481 (char *) "self",(char *) "filename", NULL
13484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 arg2
= wxString_in_helper(obj1
);
13489 if (arg2
== NULL
) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13516 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13520 PyObject
* obj0
= 0 ;
13521 char *kwnames
[] = {
13522 (char *) "self", NULL
13525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13530 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= result
;
13542 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
;
13544 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13545 wxFileTypeInfo
*arg2
= 0 ;
13546 PyObject
* obj0
= 0 ;
13547 PyObject
* obj1
= 0 ;
13548 char *kwnames
[] = {
13549 (char *) "self",(char *) "ft", NULL
13552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13555 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13556 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13558 if (arg2
== NULL
) {
13559 PyErr_SetString(PyExc_TypeError
,"null reference");
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 Py_INCREF(Py_None
); resultobj
= Py_None
;
13576 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
;
13578 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13579 wxFileTypeInfo
*arg2
= 0 ;
13580 wxFileType
*result
;
13581 PyObject
* obj0
= 0 ;
13582 PyObject
* obj1
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self",(char *) "ftInfo", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13591 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13593 if (arg2
== NULL
) {
13594 PyErr_SetString(PyExc_TypeError
,"null reference");
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13601 wxPyEndAllowThreads(__tstate
);
13602 if (PyErr_Occurred()) SWIG_fail
;
13604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13611 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13614 wxFileType
*arg2
= (wxFileType
*) 0 ;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 char *kwnames
[] = {
13619 (char *) "self",(char *) "ft", NULL
13622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13629 result
= (bool)(arg1
)->Unassociate(arg2
);
13631 wxPyEndAllowThreads(__tstate
);
13632 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13643 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13644 PyObject
*resultobj
;
13645 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 Py_INCREF(Py_None
); resultobj
= Py_None
;
13668 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13670 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13671 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13673 return Py_BuildValue((char *)"");
13675 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13676 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13681 static PyObject
*_wrap_ART_TOOLBAR_get() {
13686 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13688 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13695 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13696 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13701 static PyObject
*_wrap_ART_MENU_get() {
13706 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13708 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13715 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13716 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13721 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13726 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13728 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13735 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13736 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13741 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13746 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13748 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13755 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13756 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13761 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13766 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13768 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13775 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13776 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13781 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13786 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13788 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13795 static int _wrap_ART_BUTTON_set(PyObject
*_val
) {
13796 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
13801 static PyObject
*_wrap_ART_BUTTON_get() {
13806 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
13808 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
13815 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13816 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13821 static PyObject
*_wrap_ART_OTHER_get() {
13826 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13828 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13835 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13836 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13841 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13846 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13848 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13855 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13856 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13861 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13866 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13868 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13875 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13876 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13881 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13886 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13888 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13895 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13896 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13901 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13906 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13908 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13915 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13916 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13921 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13926 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13928 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13935 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13936 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13941 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13946 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13948 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13955 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13956 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13961 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13966 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13968 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13975 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13976 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13981 static PyObject
*_wrap_ART_GO_BACK_get() {
13986 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13988 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13995 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13996 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
14001 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14006 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14008 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14015 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
14016 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14021 static PyObject
*_wrap_ART_GO_UP_get() {
14026 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14028 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14035 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
14036 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14041 static PyObject
*_wrap_ART_GO_DOWN_get() {
14046 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14048 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14055 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
14056 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14061 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14066 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14068 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14075 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
14076 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14081 static PyObject
*_wrap_ART_GO_HOME_get() {
14086 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14088 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14095 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
14096 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14101 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14106 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14108 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14115 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14116 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14121 static PyObject
*_wrap_ART_PRINT_get() {
14126 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14128 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14135 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14136 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14141 static PyObject
*_wrap_ART_HELP_get() {
14146 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14148 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14155 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14156 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14161 static PyObject
*_wrap_ART_TIP_get() {
14166 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14168 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14175 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14176 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14181 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14186 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14188 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14195 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14196 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14201 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14206 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14208 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14215 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14216 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14221 static PyObject
*_wrap_ART_NEW_DIR_get() {
14226 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14228 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14235 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14236 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14241 static PyObject
*_wrap_ART_FOLDER_get() {
14246 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14248 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14255 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14256 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14261 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14266 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14268 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14275 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14276 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14281 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14286 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14288 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14295 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14296 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14301 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14306 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14308 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14315 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14316 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14321 static PyObject
*_wrap_ART_TICK_MARK_get() {
14326 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14328 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14335 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14336 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14341 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14346 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14348 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14355 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14356 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14361 static PyObject
*_wrap_ART_ERROR_get() {
14366 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14368 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14375 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14376 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14381 static PyObject
*_wrap_ART_QUESTION_get() {
14386 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14388 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14395 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14396 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14401 static PyObject
*_wrap_ART_WARNING_get() {
14406 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14408 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14415 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14416 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14421 static PyObject
*_wrap_ART_INFORMATION_get() {
14426 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14428 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14435 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14436 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14441 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14446 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14448 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14455 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxPyArtProvider
*result
;
14458 char *kwnames
[] = {
14462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14464 if (!wxPyCheckForApp()) SWIG_fail
;
14465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14466 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14468 wxPyEndAllowThreads(__tstate
);
14469 if (PyErr_Occurred()) SWIG_fail
;
14471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14478 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14479 PyObject
*resultobj
;
14480 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14481 PyObject
*arg2
= (PyObject
*) 0 ;
14482 PyObject
*arg3
= (PyObject
*) 0 ;
14483 PyObject
* obj0
= 0 ;
14484 PyObject
* obj1
= 0 ;
14485 PyObject
* obj2
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self",(char *) "self",(char *) "_class", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14497 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14499 wxPyEndAllowThreads(__tstate
);
14500 if (PyErr_Occurred()) SWIG_fail
;
14502 Py_INCREF(Py_None
); resultobj
= Py_None
;
14509 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14510 PyObject
*resultobj
;
14511 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 char *kwnames
[] = {
14514 (char *) "provider", NULL
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14522 wxPyArtProvider::PushProvider(arg1
);
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14527 Py_INCREF(Py_None
); resultobj
= Py_None
;
14534 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14535 PyObject
*resultobj
;
14537 char *kwnames
[] = {
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14544 result
= (bool)wxPyArtProvider::PopProvider();
14546 wxPyEndAllowThreads(__tstate
);
14547 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14558 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14562 PyObject
* obj0
= 0 ;
14563 char *kwnames
[] = {
14564 (char *) "provider", NULL
14567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14572 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14574 wxPyEndAllowThreads(__tstate
);
14575 if (PyErr_Occurred()) SWIG_fail
;
14578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14586 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxString
*arg1
= 0 ;
14589 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14590 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14591 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14592 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14594 bool temp1
= False
;
14595 bool temp2
= False
;
14597 PyObject
* obj0
= 0 ;
14598 PyObject
* obj1
= 0 ;
14599 PyObject
* obj2
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "id",(char *) "client",(char *) "size", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14606 arg1
= wxString_in_helper(obj0
);
14607 if (arg1
== NULL
) SWIG_fail
;
14612 arg2
= wxString_in_helper(obj1
);
14613 if (arg2
== NULL
) SWIG_fail
;
14620 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14624 if (!wxPyCheckForApp()) SWIG_fail
;
14625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14626 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14628 wxPyEndAllowThreads(__tstate
);
14629 if (PyErr_Occurred()) SWIG_fail
;
14632 wxBitmap
* resultptr
;
14633 resultptr
= new wxBitmap((wxBitmap
&) result
);
14634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14658 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxString
*arg1
= 0 ;
14661 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14662 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14663 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14664 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14666 bool temp1
= False
;
14667 bool temp2
= False
;
14669 PyObject
* obj0
= 0 ;
14670 PyObject
* obj1
= 0 ;
14671 PyObject
* obj2
= 0 ;
14672 char *kwnames
[] = {
14673 (char *) "id",(char *) "client",(char *) "size", NULL
14676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14678 arg1
= wxString_in_helper(obj0
);
14679 if (arg1
== NULL
) SWIG_fail
;
14684 arg2
= wxString_in_helper(obj1
);
14685 if (arg2
== NULL
) SWIG_fail
;
14692 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14696 if (!wxPyCheckForApp()) SWIG_fail
;
14697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14698 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14700 wxPyEndAllowThreads(__tstate
);
14701 if (PyErr_Occurred()) SWIG_fail
;
14704 wxIcon
* resultptr
;
14705 resultptr
= new wxIcon((wxIcon
&) result
);
14706 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14730 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14731 PyObject
*resultobj
;
14732 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14743 wxPyArtProvider_Destroy(arg1
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 Py_INCREF(Py_None
); resultobj
= Py_None
;
14755 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14757 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14758 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14760 return Py_BuildValue((char *)"");
14762 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14763 PyObject
*resultobj
;
14764 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14765 PyObject
* obj0
= 0 ;
14766 char *kwnames
[] = {
14767 (char *) "self", NULL
14770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14780 Py_INCREF(Py_None
); resultobj
= Py_None
;
14787 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14788 PyObject
*resultobj
;
14789 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14790 wxConfigBase
*result
;
14791 PyObject
* obj0
= 0 ;
14792 char *kwnames
[] = {
14793 (char *) "config", NULL
14796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14801 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14813 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 bool arg1
= (bool) True
;
14816 wxConfigBase
*result
;
14817 PyObject
* obj0
= 0 ;
14818 char *kwnames
[] = {
14819 (char *) "createOnDemand", NULL
14822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14824 arg1
= (bool) SWIG_AsBool(obj0
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14841 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxConfigBase
*result
;
14844 char *kwnames
[] = {
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14851 result
= (wxConfigBase
*)wxConfigBase::Create();
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14863 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 char *kwnames
[] = {
14869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14872 wxConfigBase::DontCreateOnDemand();
14874 wxPyEndAllowThreads(__tstate
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 Py_INCREF(Py_None
); resultobj
= Py_None
;
14884 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14887 wxString
*arg2
= 0 ;
14888 bool temp2
= False
;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "path", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14899 arg2
= wxString_in_helper(obj1
);
14900 if (arg2
== NULL
) SWIG_fail
;
14904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14905 (arg1
)->SetPath((wxString
const &)*arg2
);
14907 wxPyEndAllowThreads(__tstate
);
14908 if (PyErr_Occurred()) SWIG_fail
;
14910 Py_INCREF(Py_None
); resultobj
= Py_None
;
14925 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14926 PyObject
*resultobj
;
14927 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14929 PyObject
* obj0
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14940 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14941 result
= (wxString
*) &_result_ref
;
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14951 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14960 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14964 PyObject
* obj0
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "self", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14974 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14976 wxPyEndAllowThreads(__tstate
);
14977 if (PyErr_Occurred()) SWIG_fail
;
14979 resultobj
= result
;
14986 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14987 PyObject
*resultobj
;
14988 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14991 PyObject
* obj0
= 0 ;
14992 PyObject
* obj1
= 0 ;
14993 char *kwnames
[] = {
14994 (char *) "self",(char *) "index", NULL
14997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15000 arg2
= (long) SWIG_AsLong(obj1
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15004 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15006 wxPyEndAllowThreads(__tstate
);
15007 if (PyErr_Occurred()) SWIG_fail
;
15009 resultobj
= result
;
15016 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15017 PyObject
*resultobj
;
15018 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15020 PyObject
* obj0
= 0 ;
15021 char *kwnames
[] = {
15022 (char *) "self", NULL
15025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15030 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15032 wxPyEndAllowThreads(__tstate
);
15033 if (PyErr_Occurred()) SWIG_fail
;
15035 resultobj
= result
;
15042 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15047 PyObject
* obj0
= 0 ;
15048 PyObject
* obj1
= 0 ;
15049 char *kwnames
[] = {
15050 (char *) "self",(char *) "index", NULL
15053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15056 arg2
= (long) SWIG_AsLong(obj1
);
15057 if (PyErr_Occurred()) SWIG_fail
;
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15062 wxPyEndAllowThreads(__tstate
);
15063 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= result
;
15072 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15073 PyObject
*resultobj
;
15074 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15075 bool arg2
= (bool) False
;
15077 PyObject
* obj0
= 0 ;
15078 PyObject
* obj1
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self",(char *) "recursive", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 arg2
= (bool) SWIG_AsBool(obj1
);
15088 if (PyErr_Occurred()) SWIG_fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15104 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15105 PyObject
*resultobj
;
15106 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15107 bool arg2
= (bool) False
;
15109 PyObject
* obj0
= 0 ;
15110 PyObject
* obj1
= 0 ;
15111 char *kwnames
[] = {
15112 (char *) "self",(char *) "recursive", NULL
15115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15119 arg2
= (bool) SWIG_AsBool(obj1
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15124 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15126 wxPyEndAllowThreads(__tstate
);
15127 if (PyErr_Occurred()) SWIG_fail
;
15129 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15136 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15137 PyObject
*resultobj
;
15138 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15139 wxString
*arg2
= 0 ;
15141 bool temp2
= False
;
15142 PyObject
* obj0
= 0 ;
15143 PyObject
* obj1
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "self",(char *) "name", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15152 arg2
= wxString_in_helper(obj1
);
15153 if (arg2
== NULL
) SWIG_fail
;
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15160 wxPyEndAllowThreads(__tstate
);
15161 if (PyErr_Occurred()) SWIG_fail
;
15164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15180 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15183 wxString
*arg2
= 0 ;
15185 bool temp2
= False
;
15186 PyObject
* obj0
= 0 ;
15187 PyObject
* obj1
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self",(char *) "name", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15196 arg2
= wxString_in_helper(obj1
);
15197 if (arg2
== NULL
) SWIG_fail
;
15201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15202 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15204 wxPyEndAllowThreads(__tstate
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15224 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
;
15226 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15227 wxString
*arg2
= 0 ;
15229 bool temp2
= False
;
15230 PyObject
* obj0
= 0 ;
15231 PyObject
* obj1
= 0 ;
15232 char *kwnames
[] = {
15233 (char *) "self",(char *) "name", NULL
15236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15240 arg2
= wxString_in_helper(obj1
);
15241 if (arg2
== NULL
) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15268 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15271 wxString
*arg2
= 0 ;
15273 bool temp2
= False
;
15274 PyObject
* obj0
= 0 ;
15275 PyObject
* obj1
= 0 ;
15276 char *kwnames
[] = {
15277 (char *) "self",(char *) "name", NULL
15280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15284 arg2
= wxString_in_helper(obj1
);
15285 if (arg2
== NULL
) SWIG_fail
;
15289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15290 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15292 wxPyEndAllowThreads(__tstate
);
15293 if (PyErr_Occurred()) SWIG_fail
;
15295 resultobj
= SWIG_FromInt((int)result
);
15310 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15313 wxString
*arg2
= 0 ;
15314 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15315 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15317 bool temp2
= False
;
15318 bool temp3
= False
;
15319 PyObject
* obj0
= 0 ;
15320 PyObject
* obj1
= 0 ;
15321 PyObject
* obj2
= 0 ;
15322 char *kwnames
[] = {
15323 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15330 arg2
= wxString_in_helper(obj1
);
15331 if (arg2
== NULL
) SWIG_fail
;
15336 arg3
= wxString_in_helper(obj2
);
15337 if (arg3
== NULL
) SWIG_fail
;
15342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15343 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15345 wxPyEndAllowThreads(__tstate
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15350 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15352 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15377 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15380 wxString
*arg2
= 0 ;
15381 long arg3
= (long) 0 ;
15383 bool temp2
= False
;
15384 PyObject
* obj0
= 0 ;
15385 PyObject
* obj1
= 0 ;
15386 PyObject
* obj2
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 arg2
= wxString_in_helper(obj1
);
15396 if (arg2
== NULL
) SWIG_fail
;
15400 arg3
= (long) SWIG_AsLong(obj2
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15405 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15407 wxPyEndAllowThreads(__tstate
);
15408 if (PyErr_Occurred()) SWIG_fail
;
15410 resultobj
= SWIG_FromLong((long)result
);
15425 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15426 PyObject
*resultobj
;
15427 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15428 wxString
*arg2
= 0 ;
15429 double arg3
= (double) 0.0 ;
15431 bool temp2
= False
;
15432 PyObject
* obj0
= 0 ;
15433 PyObject
* obj1
= 0 ;
15434 PyObject
* obj2
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15443 arg2
= wxString_in_helper(obj1
);
15444 if (arg2
== NULL
) SWIG_fail
;
15448 arg3
= (double) SWIG_AsDouble(obj2
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15453 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15455 wxPyEndAllowThreads(__tstate
);
15456 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= SWIG_FromDouble((double)result
);
15473 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15476 wxString
*arg2
= 0 ;
15477 bool arg3
= (bool) False
;
15479 bool temp2
= False
;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 PyObject
* obj2
= 0 ;
15483 char *kwnames
[] = {
15484 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15491 arg2
= wxString_in_helper(obj1
);
15492 if (arg2
== NULL
) SWIG_fail
;
15496 arg3
= (bool) SWIG_AsBool(obj2
);
15497 if (PyErr_Occurred()) SWIG_fail
;
15500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15501 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15503 wxPyEndAllowThreads(__tstate
);
15504 if (PyErr_Occurred()) SWIG_fail
;
15507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15523 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15524 PyObject
*resultobj
;
15525 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15526 wxString
*arg2
= 0 ;
15527 wxString
*arg3
= 0 ;
15529 bool temp2
= False
;
15530 bool temp3
= False
;
15531 PyObject
* obj0
= 0 ;
15532 PyObject
* obj1
= 0 ;
15533 PyObject
* obj2
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self",(char *) "key",(char *) "value", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 arg2
= wxString_in_helper(obj1
);
15543 if (arg2
== NULL
) SWIG_fail
;
15547 arg3
= wxString_in_helper(obj2
);
15548 if (arg3
== NULL
) SWIG_fail
;
15552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15553 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15555 wxPyEndAllowThreads(__tstate
);
15556 if (PyErr_Occurred()) SWIG_fail
;
15559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15583 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15586 wxString
*arg2
= 0 ;
15589 bool temp2
= False
;
15590 PyObject
* obj0
= 0 ;
15591 PyObject
* obj1
= 0 ;
15592 PyObject
* obj2
= 0 ;
15593 char *kwnames
[] = {
15594 (char *) "self",(char *) "key",(char *) "value", NULL
15597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15601 arg2
= wxString_in_helper(obj1
);
15602 if (arg2
== NULL
) SWIG_fail
;
15605 arg3
= (long) SWIG_AsLong(obj2
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15631 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15634 wxString
*arg2
= 0 ;
15637 bool temp2
= False
;
15638 PyObject
* obj0
= 0 ;
15639 PyObject
* obj1
= 0 ;
15640 PyObject
* obj2
= 0 ;
15641 char *kwnames
[] = {
15642 (char *) "self",(char *) "key",(char *) "value", NULL
15645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15649 arg2
= wxString_in_helper(obj1
);
15650 if (arg2
== NULL
) SWIG_fail
;
15653 arg3
= (double) SWIG_AsDouble(obj2
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15679 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15682 wxString
*arg2
= 0 ;
15685 bool temp2
= False
;
15686 PyObject
* obj0
= 0 ;
15687 PyObject
* obj1
= 0 ;
15688 PyObject
* obj2
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self",(char *) "key",(char *) "value", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 arg2
= wxString_in_helper(obj1
);
15698 if (arg2
== NULL
) SWIG_fail
;
15701 arg3
= (bool) SWIG_AsBool(obj2
);
15702 if (PyErr_Occurred()) SWIG_fail
;
15704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15705 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15727 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15728 PyObject
*resultobj
;
15729 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15730 bool arg2
= (bool) False
;
15732 PyObject
* obj0
= 0 ;
15733 PyObject
* obj1
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self",(char *) "currentOnly", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15742 arg2
= (bool) SWIG_AsBool(obj1
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (bool)(arg1
)->Flush(arg2
);
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15761 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15762 PyObject
*resultobj
;
15763 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15764 wxString
*arg2
= 0 ;
15765 wxString
*arg3
= 0 ;
15767 bool temp2
= False
;
15768 bool temp3
= False
;
15769 PyObject
* obj0
= 0 ;
15770 PyObject
* obj1
= 0 ;
15771 PyObject
* obj2
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 arg2
= wxString_in_helper(obj1
);
15781 if (arg2
== NULL
) SWIG_fail
;
15785 arg3
= wxString_in_helper(obj2
);
15786 if (arg3
== NULL
) SWIG_fail
;
15790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15791 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15793 wxPyEndAllowThreads(__tstate
);
15794 if (PyErr_Occurred()) SWIG_fail
;
15797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15821 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15824 wxString
*arg2
= 0 ;
15825 wxString
*arg3
= 0 ;
15827 bool temp2
= False
;
15828 bool temp3
= False
;
15829 PyObject
* obj0
= 0 ;
15830 PyObject
* obj1
= 0 ;
15831 PyObject
* obj2
= 0 ;
15832 char *kwnames
[] = {
15833 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15840 arg2
= wxString_in_helper(obj1
);
15841 if (arg2
== NULL
) SWIG_fail
;
15845 arg3
= wxString_in_helper(obj2
);
15846 if (arg3
== NULL
) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15881 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15882 PyObject
*resultobj
;
15883 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15884 wxString
*arg2
= 0 ;
15885 bool arg3
= (bool) True
;
15887 bool temp2
= False
;
15888 PyObject
* obj0
= 0 ;
15889 PyObject
* obj1
= 0 ;
15890 PyObject
* obj2
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15899 arg2
= wxString_in_helper(obj1
);
15900 if (arg2
== NULL
) SWIG_fail
;
15904 arg3
= (bool) SWIG_AsBool(obj2
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15931 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15932 PyObject
*resultobj
;
15933 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15934 wxString
*arg2
= 0 ;
15936 bool temp2
= False
;
15937 PyObject
* obj0
= 0 ;
15938 PyObject
* obj1
= 0 ;
15939 char *kwnames
[] = {
15940 (char *) "self",(char *) "key", NULL
15943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15947 arg2
= wxString_in_helper(obj1
);
15948 if (arg2
== NULL
) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15975 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15976 PyObject
*resultobj
;
15977 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15979 PyObject
* obj0
= 0 ;
15980 char *kwnames
[] = {
15981 (char *) "self", NULL
15984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= (bool)(arg1
)->DeleteAll();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16003 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16006 bool arg2
= (bool) True
;
16007 PyObject
* obj0
= 0 ;
16008 PyObject
* obj1
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self",(char *) "doIt", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16017 arg2
= (bool) SWIG_AsBool(obj1
);
16018 if (PyErr_Occurred()) SWIG_fail
;
16021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16022 (arg1
)->SetExpandEnvVars(arg2
);
16024 wxPyEndAllowThreads(__tstate
);
16025 if (PyErr_Occurred()) SWIG_fail
;
16027 Py_INCREF(Py_None
); resultobj
= Py_None
;
16034 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16035 PyObject
*resultobj
;
16036 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16038 PyObject
* obj0
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16062 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16063 PyObject
*resultobj
;
16064 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16065 bool arg2
= (bool) True
;
16066 PyObject
* obj0
= 0 ;
16067 PyObject
* obj1
= 0 ;
16068 char *kwnames
[] = {
16069 (char *) "self",(char *) "doIt", NULL
16072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16076 arg2
= (bool) SWIG_AsBool(obj1
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 (arg1
)->SetRecordDefaults(arg2
);
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 Py_INCREF(Py_None
); resultobj
= Py_None
;
16093 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16097 PyObject
* obj0
= 0 ;
16098 char *kwnames
[] = {
16099 (char *) "self", NULL
16102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16107 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16109 wxPyEndAllowThreads(__tstate
);
16110 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16121 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
;
16123 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16124 wxString
*arg2
= 0 ;
16126 bool temp2
= False
;
16127 PyObject
* obj0
= 0 ;
16128 PyObject
* obj1
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self",(char *) "str", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16137 arg2
= wxString_in_helper(obj1
);
16138 if (arg2
== NULL
) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16169 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16170 PyObject
*resultobj
;
16171 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16173 PyObject
* obj0
= 0 ;
16174 char *kwnames
[] = {
16175 (char *) "self", NULL
16178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16185 wxPyEndAllowThreads(__tstate
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16190 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16192 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16201 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16203 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16205 PyObject
* obj0
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "self", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16222 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16224 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16233 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16234 PyObject
*resultobj
;
16235 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16236 wxString
*arg2
= 0 ;
16237 bool temp2
= False
;
16238 PyObject
* obj0
= 0 ;
16239 PyObject
* obj1
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self",(char *) "appName", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16248 arg2
= wxString_in_helper(obj1
);
16249 if (arg2
== NULL
) SWIG_fail
;
16253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16254 (arg1
)->SetAppName((wxString
const &)*arg2
);
16256 wxPyEndAllowThreads(__tstate
);
16257 if (PyErr_Occurred()) SWIG_fail
;
16259 Py_INCREF(Py_None
); resultobj
= Py_None
;
16274 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16277 wxString
*arg2
= 0 ;
16278 bool temp2
= False
;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self",(char *) "vendorName", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16289 arg2
= wxString_in_helper(obj1
);
16290 if (arg2
== NULL
) SWIG_fail
;
16294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16295 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16300 Py_INCREF(Py_None
); resultobj
= Py_None
;
16315 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
;
16317 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16319 PyObject
* obj0
= 0 ;
16320 PyObject
* obj1
= 0 ;
16321 char *kwnames
[] = {
16322 (char *) "self",(char *) "style", NULL
16325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16328 arg2
= (long) SWIG_AsLong(obj1
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 (arg1
)->SetStyle(arg2
);
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 Py_INCREF(Py_None
); resultobj
= Py_None
;
16344 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16345 PyObject
*resultobj
;
16346 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16348 PyObject
* obj0
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16358 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16360 wxPyEndAllowThreads(__tstate
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16363 resultobj
= SWIG_FromLong((long)result
);
16370 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16373 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16375 return Py_BuildValue((char *)"");
16377 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16380 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16381 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16382 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16383 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16384 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16385 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16386 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16387 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16389 bool temp1
= False
;
16390 bool temp2
= False
;
16391 bool temp3
= False
;
16392 bool temp4
= False
;
16393 PyObject
* obj0
= 0 ;
16394 PyObject
* obj1
= 0 ;
16395 PyObject
* obj2
= 0 ;
16396 PyObject
* obj3
= 0 ;
16397 PyObject
* obj4
= 0 ;
16398 char *kwnames
[] = {
16399 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16405 arg1
= wxString_in_helper(obj0
);
16406 if (arg1
== NULL
) SWIG_fail
;
16412 arg2
= wxString_in_helper(obj1
);
16413 if (arg2
== NULL
) SWIG_fail
;
16419 arg3
= wxString_in_helper(obj2
);
16420 if (arg3
== NULL
) SWIG_fail
;
16426 arg4
= wxString_in_helper(obj3
);
16427 if (arg4
== NULL
) SWIG_fail
;
16432 arg5
= (long) SWIG_AsLong(obj4
);
16433 if (PyErr_Occurred()) SWIG_fail
;
16436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16437 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16439 wxPyEndAllowThreads(__tstate
);
16440 if (PyErr_Occurred()) SWIG_fail
;
16442 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16481 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16482 PyObject
*resultobj
;
16483 wxConfig
*arg1
= (wxConfig
*) 0 ;
16484 PyObject
* obj0
= 0 ;
16485 char *kwnames
[] = {
16486 (char *) "self", NULL
16489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 Py_INCREF(Py_None
); resultobj
= Py_None
;
16506 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16509 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16511 return Py_BuildValue((char *)"");
16513 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
;
16515 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16516 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16517 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16518 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16519 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16520 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16521 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16522 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16523 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16524 wxFileConfig
*result
;
16525 bool temp1
= False
;
16526 bool temp2
= False
;
16527 bool temp3
= False
;
16528 bool temp4
= False
;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 PyObject
* obj2
= 0 ;
16532 PyObject
* obj3
= 0 ;
16533 PyObject
* obj4
= 0 ;
16534 char *kwnames
[] = {
16535 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16541 arg1
= wxString_in_helper(obj0
);
16542 if (arg1
== NULL
) SWIG_fail
;
16548 arg2
= wxString_in_helper(obj1
);
16549 if (arg2
== NULL
) SWIG_fail
;
16555 arg3
= wxString_in_helper(obj2
);
16556 if (arg3
== NULL
) SWIG_fail
;
16562 arg4
= wxString_in_helper(obj3
);
16563 if (arg4
== NULL
) SWIG_fail
;
16568 arg5
= (long) SWIG_AsLong(obj4
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16573 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16575 wxPyEndAllowThreads(__tstate
);
16576 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16617 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16620 PyObject
* obj0
= 0 ;
16621 char *kwnames
[] = {
16622 (char *) "self", NULL
16625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16635 Py_INCREF(Py_None
); resultobj
= Py_None
;
16642 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16645 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16647 return Py_BuildValue((char *)"");
16649 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16650 PyObject
*resultobj
;
16651 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16652 wxString
*arg2
= 0 ;
16653 wxConfigPathChanger
*result
;
16654 bool temp2
= False
;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "config",(char *) "entry", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16665 arg2
= wxString_in_helper(obj1
);
16666 if (arg2
== NULL
) SWIG_fail
;
16670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16671 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16673 wxPyEndAllowThreads(__tstate
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16691 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16692 PyObject
*resultobj
;
16693 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16694 PyObject
* obj0
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16709 Py_INCREF(Py_None
); resultobj
= Py_None
;
16716 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 char *kwnames
[] = {
16722 (char *) "self", NULL
16725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16732 result
= (wxString
*) &_result_ref
;
16735 wxPyEndAllowThreads(__tstate
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16740 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16742 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16751 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16754 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16756 return Py_BuildValue((char *)"");
16758 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxString
*arg1
= 0 ;
16762 bool temp1
= False
;
16763 PyObject
* obj0
= 0 ;
16764 char *kwnames
[] = {
16765 (char *) "sz", NULL
16768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16770 arg1
= wxString_in_helper(obj0
);
16771 if (arg1
== NULL
) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16802 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16803 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16808 static PyObject
*_wrap_DateFormatStr_get() {
16813 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16815 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16822 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16823 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16828 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16833 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16835 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16842 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
;
16845 PyObject
* obj0
= 0 ;
16846 char *kwnames
[] = {
16847 (char *) "country", NULL
16850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16851 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16855 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16857 wxPyEndAllowThreads(__tstate
);
16858 if (PyErr_Occurred()) SWIG_fail
;
16860 Py_INCREF(Py_None
); resultobj
= Py_None
;
16867 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16868 PyObject
*resultobj
;
16870 char *kwnames
[] = {
16874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 result
= (int)wxDateTime::GetCountry();
16879 wxPyEndAllowThreads(__tstate
);
16880 if (PyErr_Occurred()) SWIG_fail
;
16882 resultobj
= SWIG_FromInt((int)result
);
16889 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16890 PyObject
*resultobj
;
16891 int arg1
= (int) wxDateTime::Country_Default
;
16893 PyObject
* obj0
= 0 ;
16894 char *kwnames
[] = {
16895 (char *) "country", NULL
16898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16900 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16919 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
;
16921 int arg1
= (int) wxDateTime::Gregorian
;
16923 PyObject
* obj0
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "cal", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16930 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16935 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16937 wxPyEndAllowThreads(__tstate
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= SWIG_FromInt((int)result
);
16947 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
;
16951 PyObject
* obj0
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "year", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16957 arg1
= (int) SWIG_AsInt(obj0
);
16958 if (PyErr_Occurred()) SWIG_fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= SWIG_FromInt((int)result
);
16973 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 int arg1
= (int) wxDateTime::Gregorian
;
16977 PyObject
* obj0
= 0 ;
16978 char *kwnames
[] = {
16979 (char *) "cal", NULL
16982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16984 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 resultobj
= SWIG_FromInt((int)result
);
17001 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 int arg1
= (int) wxDateTime::Inv_Year
;
17004 int arg2
= (int) wxDateTime::Gregorian
;
17006 PyObject
* obj0
= 0 ;
17007 PyObject
* obj1
= 0 ;
17008 char *kwnames
[] = {
17009 (char *) "year",(char *) "cal", NULL
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17014 arg1
= (int) SWIG_AsInt(obj0
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17018 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17023 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17025 wxPyEndAllowThreads(__tstate
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17037 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 int arg1
= (int) wxDateTime::Inv_Year
;
17041 PyObject
* obj0
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "year", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17048 arg1
= (int) SWIG_AsInt(obj0
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17053 result
= (int)wxDateTime::GetCentury(arg1
);
17055 wxPyEndAllowThreads(__tstate
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 resultobj
= SWIG_FromInt((int)result
);
17065 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17066 PyObject
*resultobj
;
17068 int arg2
= (int) wxDateTime::Gregorian
;
17070 PyObject
* obj0
= 0 ;
17071 PyObject
* obj1
= 0 ;
17072 char *kwnames
[] = {
17073 (char *) "year",(char *) "cal", NULL
17076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17077 arg1
= (int) SWIG_AsInt(obj0
);
17078 if (PyErr_Occurred()) SWIG_fail
;
17080 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= SWIG_FromInt((int)result
);
17097 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
;
17100 int arg2
= (int) wxDateTime::Inv_Year
;
17101 int arg3
= (int) wxDateTime::Gregorian
;
17103 PyObject
* obj0
= 0 ;
17104 PyObject
* obj1
= 0 ;
17105 PyObject
* obj2
= 0 ;
17106 char *kwnames
[] = {
17107 (char *) "month",(char *) "year",(char *) "cal", NULL
17110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17111 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17114 arg2
= (int) SWIG_AsInt(obj1
);
17115 if (PyErr_Occurred()) SWIG_fail
;
17118 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17119 if (PyErr_Occurred()) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 resultobj
= SWIG_FromInt((int)result
);
17135 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17138 int arg2
= (int) wxDateTime::Name_Full
;
17140 PyObject
* obj0
= 0 ;
17141 PyObject
* obj1
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "month",(char *) "flags", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17147 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17155 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17157 wxPyEndAllowThreads(__tstate
);
17158 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17173 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17174 PyObject
*resultobj
;
17176 int arg2
= (int) wxDateTime::Name_Full
;
17178 PyObject
* obj0
= 0 ;
17179 PyObject
* obj1
= 0 ;
17180 char *kwnames
[] = {
17181 (char *) "weekday",(char *) "flags", NULL
17184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17185 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17186 if (PyErr_Occurred()) SWIG_fail
;
17188 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17195 wxPyEndAllowThreads(__tstate
);
17196 if (PyErr_Occurred()) SWIG_fail
;
17200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17211 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxString
*arg1
= (wxString
*) 0 ;
17214 wxString
*arg2
= (wxString
*) 0 ;
17215 bool temp1
= False
;
17216 bool temp2
= False
;
17217 PyObject
* obj0
= 0 ;
17218 PyObject
* obj1
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17225 arg1
= wxString_in_helper(obj0
);
17226 if (arg1
== NULL
) SWIG_fail
;
17230 arg2
= wxString_in_helper(obj1
);
17231 if (arg2
== NULL
) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17238 wxPyEndAllowThreads(__tstate
);
17239 if (PyErr_Occurred()) SWIG_fail
;
17241 Py_INCREF(Py_None
); resultobj
= Py_None
;
17264 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
;
17266 int arg1
= (int) wxDateTime::Inv_Year
;
17267 int arg2
= (int) wxDateTime::Country_Default
;
17269 PyObject
* obj0
= 0 ;
17270 PyObject
* obj1
= 0 ;
17271 char *kwnames
[] = {
17272 (char *) "year",(char *) "country", NULL
17275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17277 arg1
= (int) SWIG_AsInt(obj0
);
17278 if (PyErr_Occurred()) SWIG_fail
;
17281 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17282 if (PyErr_Occurred()) SWIG_fail
;
17285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17286 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17288 wxPyEndAllowThreads(__tstate
);
17289 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17300 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
;
17302 int arg1
= (int) wxDateTime::Inv_Year
;
17303 int arg2
= (int) wxDateTime::Country_Default
;
17305 PyObject
* obj0
= 0 ;
17306 PyObject
* obj1
= 0 ;
17307 char *kwnames
[] = {
17308 (char *) "year",(char *) "country", NULL
17311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17313 arg1
= (int) SWIG_AsInt(obj0
);
17314 if (PyErr_Occurred()) SWIG_fail
;
17317 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17328 wxDateTime
* resultptr
;
17329 resultptr
= new wxDateTime((wxDateTime
&) result
);
17330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17338 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17339 PyObject
*resultobj
;
17340 int arg1
= (int) wxDateTime::Inv_Year
;
17341 int arg2
= (int) wxDateTime::Country_Default
;
17343 PyObject
* obj0
= 0 ;
17344 PyObject
* obj1
= 0 ;
17345 char *kwnames
[] = {
17346 (char *) "year",(char *) "country", NULL
17349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17351 arg1
= (int) SWIG_AsInt(obj0
);
17352 if (PyErr_Occurred()) SWIG_fail
;
17355 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17356 if (PyErr_Occurred()) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17362 wxPyEndAllowThreads(__tstate
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17366 wxDateTime
* resultptr
;
17367 resultptr
= new wxDateTime((wxDateTime
&) result
);
17368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17376 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17377 PyObject
*resultobj
;
17379 char *kwnames
[] = {
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 result
= wxDateTime::Now();
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17392 wxDateTime
* resultptr
;
17393 resultptr
= new wxDateTime((wxDateTime
&) result
);
17394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17402 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17403 PyObject
*resultobj
;
17405 char *kwnames
[] = {
17409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17412 result
= wxDateTime::UNow();
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17418 wxDateTime
* resultptr
;
17419 resultptr
= new wxDateTime((wxDateTime
&) result
);
17420 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17428 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17429 PyObject
*resultobj
;
17431 char *kwnames
[] = {
17435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 result
= wxDateTime::Today();
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17444 wxDateTime
* resultptr
;
17445 resultptr
= new wxDateTime((wxDateTime
&) result
);
17446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17454 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17455 PyObject
*resultobj
;
17456 wxDateTime
*result
;
17457 char *kwnames
[] = {
17461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= (wxDateTime
*)new wxDateTime();
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17476 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17479 wxDateTime
*result
;
17480 PyObject
* obj0
= 0 ;
17481 char *kwnames
[] = {
17482 (char *) "timet", NULL
17485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17486 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17487 if (PyErr_Occurred()) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 result
= (wxDateTime
*)new wxDateTime(arg1
);
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17502 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17505 wxDateTime
*result
;
17506 PyObject
* obj0
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "jdn", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17512 arg1
= (double) SWIG_AsDouble(obj0
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17516 result
= (wxDateTime
*)new wxDateTime(arg1
);
17518 wxPyEndAllowThreads(__tstate
);
17519 if (PyErr_Occurred()) SWIG_fail
;
17521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17528 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17529 PyObject
*resultobj
;
17531 int arg2
= (int) 0 ;
17532 int arg3
= (int) 0 ;
17533 int arg4
= (int) 0 ;
17534 wxDateTime
*result
;
17535 PyObject
* obj0
= 0 ;
17536 PyObject
* obj1
= 0 ;
17537 PyObject
* obj2
= 0 ;
17538 PyObject
* obj3
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17544 arg1
= (int) SWIG_AsInt(obj0
);
17545 if (PyErr_Occurred()) SWIG_fail
;
17547 arg2
= (int) SWIG_AsInt(obj1
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17551 arg3
= (int) SWIG_AsInt(obj2
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17555 arg4
= (int) SWIG_AsInt(obj3
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17560 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17572 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
;
17575 int arg2
= (int) wxDateTime::Inv_Month
;
17576 int arg3
= (int) wxDateTime::Inv_Year
;
17577 int arg4
= (int) 0 ;
17578 int arg5
= (int) 0 ;
17579 int arg6
= (int) 0 ;
17580 int arg7
= (int) 0 ;
17581 wxDateTime
*result
;
17582 PyObject
* obj0
= 0 ;
17583 PyObject
* obj1
= 0 ;
17584 PyObject
* obj2
= 0 ;
17585 PyObject
* obj3
= 0 ;
17586 PyObject
* obj4
= 0 ;
17587 PyObject
* obj5
= 0 ;
17588 PyObject
* obj6
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17594 arg1
= (int) SWIG_AsInt(obj0
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17601 arg3
= (int) SWIG_AsInt(obj2
);
17602 if (PyErr_Occurred()) SWIG_fail
;
17605 arg4
= (int) SWIG_AsInt(obj3
);
17606 if (PyErr_Occurred()) SWIG_fail
;
17609 arg5
= (int) SWIG_AsInt(obj4
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 arg6
= (int) SWIG_AsInt(obj5
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17617 arg7
= (int) SWIG_AsInt(obj6
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17634 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17637 PyObject
* obj0
= 0 ;
17638 char *kwnames
[] = {
17639 (char *) "self", NULL
17642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17649 wxPyEndAllowThreads(__tstate
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 Py_INCREF(Py_None
); resultobj
= Py_None
;
17659 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17660 PyObject
*resultobj
;
17661 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17662 wxDateTime
*result
;
17663 PyObject
* obj0
= 0 ;
17664 char *kwnames
[] = {
17665 (char *) "self", NULL
17668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17675 result
= (wxDateTime
*) &_result_ref
;
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17688 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17692 wxDateTime
*result
;
17693 PyObject
* obj0
= 0 ;
17694 PyObject
* obj1
= 0 ;
17695 char *kwnames
[] = {
17696 (char *) "self",(char *) "timet", NULL
17699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17702 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17703 if (PyErr_Occurred()) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17708 result
= (wxDateTime
*) &_result_ref
;
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17721 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17725 wxDateTime
*result
;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self",(char *) "jdn", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 arg2
= (double) SWIG_AsDouble(obj1
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17741 result
= (wxDateTime
*) &_result_ref
;
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17754 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17758 int arg3
= (int) 0 ;
17759 int arg4
= (int) 0 ;
17760 int arg5
= (int) 0 ;
17761 wxDateTime
*result
;
17762 PyObject
* obj0
= 0 ;
17763 PyObject
* obj1
= 0 ;
17764 PyObject
* obj2
= 0 ;
17765 PyObject
* obj3
= 0 ;
17766 PyObject
* obj4
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17774 arg2
= (int) SWIG_AsInt(obj1
);
17775 if (PyErr_Occurred()) SWIG_fail
;
17777 arg3
= (int) SWIG_AsInt(obj2
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17781 arg4
= (int) SWIG_AsInt(obj3
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17785 arg5
= (int) SWIG_AsInt(obj4
);
17786 if (PyErr_Occurred()) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17791 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17792 result
= (wxDateTime
*) &_result_ref
;
17795 wxPyEndAllowThreads(__tstate
);
17796 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17805 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17806 PyObject
*resultobj
;
17807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17809 int arg3
= (int) wxDateTime::Inv_Month
;
17810 int arg4
= (int) wxDateTime::Inv_Year
;
17811 int arg5
= (int) 0 ;
17812 int arg6
= (int) 0 ;
17813 int arg7
= (int) 0 ;
17814 int arg8
= (int) 0 ;
17815 wxDateTime
*result
;
17816 PyObject
* obj0
= 0 ;
17817 PyObject
* obj1
= 0 ;
17818 PyObject
* obj2
= 0 ;
17819 PyObject
* obj3
= 0 ;
17820 PyObject
* obj4
= 0 ;
17821 PyObject
* obj5
= 0 ;
17822 PyObject
* obj6
= 0 ;
17823 PyObject
* obj7
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17831 arg2
= (int) SWIG_AsInt(obj1
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17838 arg4
= (int) SWIG_AsInt(obj3
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17842 arg5
= (int) SWIG_AsInt(obj4
);
17843 if (PyErr_Occurred()) SWIG_fail
;
17846 arg6
= (int) SWIG_AsInt(obj5
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17850 arg7
= (int) SWIG_AsInt(obj6
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17854 arg8
= (int) SWIG_AsInt(obj7
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17860 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17861 result
= (wxDateTime
*) &_result_ref
;
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17874 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17875 PyObject
*resultobj
;
17876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17877 wxDateTime
*result
;
17878 PyObject
* obj0
= 0 ;
17879 char *kwnames
[] = {
17880 (char *) "self", NULL
17883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17889 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17890 result
= (wxDateTime
*) &_result_ref
;
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17903 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17907 wxDateTime
*result
;
17908 PyObject
* obj0
= 0 ;
17909 PyObject
* obj1
= 0 ;
17910 char *kwnames
[] = {
17911 (char *) "self",(char *) "year", NULL
17914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17917 arg2
= (int) SWIG_AsInt(obj1
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17922 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17923 result
= (wxDateTime
*) &_result_ref
;
17926 wxPyEndAllowThreads(__tstate
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17936 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17937 PyObject
*resultobj
;
17938 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17940 wxDateTime
*result
;
17941 PyObject
* obj0
= 0 ;
17942 PyObject
* obj1
= 0 ;
17943 char *kwnames
[] = {
17944 (char *) "self",(char *) "month", NULL
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17950 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17951 if (PyErr_Occurred()) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17955 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17956 result
= (wxDateTime
*) &_result_ref
;
17959 wxPyEndAllowThreads(__tstate
);
17960 if (PyErr_Occurred()) SWIG_fail
;
17962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17969 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17970 PyObject
*resultobj
;
17971 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17973 wxDateTime
*result
;
17974 PyObject
* obj0
= 0 ;
17975 PyObject
* obj1
= 0 ;
17976 char *kwnames
[] = {
17977 (char *) "self",(char *) "day", NULL
17980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17983 arg2
= (int) SWIG_AsInt(obj1
);
17984 if (PyErr_Occurred()) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17988 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17989 result
= (wxDateTime
*) &_result_ref
;
17992 wxPyEndAllowThreads(__tstate
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18002 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18003 PyObject
*resultobj
;
18004 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18006 wxDateTime
*result
;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 char *kwnames
[] = {
18010 (char *) "self",(char *) "hour", NULL
18013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18016 arg2
= (int) SWIG_AsInt(obj1
);
18017 if (PyErr_Occurred()) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18021 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18022 result
= (wxDateTime
*) &_result_ref
;
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18035 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18039 wxDateTime
*result
;
18040 PyObject
* obj0
= 0 ;
18041 PyObject
* obj1
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self",(char *) "minute", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18049 arg2
= (int) SWIG_AsInt(obj1
);
18050 if (PyErr_Occurred()) SWIG_fail
;
18052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18055 result
= (wxDateTime
*) &_result_ref
;
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18068 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18070 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18072 wxDateTime
*result
;
18073 PyObject
* obj0
= 0 ;
18074 PyObject
* obj1
= 0 ;
18075 char *kwnames
[] = {
18076 (char *) "self",(char *) "second", NULL
18079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18082 arg2
= (int) SWIG_AsInt(obj1
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18088 result
= (wxDateTime
*) &_result_ref
;
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18101 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
;
18103 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18105 wxDateTime
*result
;
18106 PyObject
* obj0
= 0 ;
18107 PyObject
* obj1
= 0 ;
18108 char *kwnames
[] = {
18109 (char *) "self",(char *) "millisecond", NULL
18112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18115 arg2
= (int) SWIG_AsInt(obj1
);
18116 if (PyErr_Occurred()) SWIG_fail
;
18118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18121 result
= (wxDateTime
*) &_result_ref
;
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18134 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18135 PyObject
*resultobj
;
18136 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18138 int arg3
= (int) wxDateTime::Monday_First
;
18139 wxDateTime
*result
;
18140 PyObject
* obj0
= 0 ;
18141 PyObject
* obj1
= 0 ;
18142 PyObject
* obj2
= 0 ;
18143 char *kwnames
[] = {
18144 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18150 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18160 result
= (wxDateTime
*) &_result_ref
;
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18173 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18174 PyObject
*resultobj
;
18175 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18177 int arg3
= (int) wxDateTime::Monday_First
;
18179 PyObject
* obj0
= 0 ;
18180 PyObject
* obj1
= 0 ;
18181 PyObject
* obj2
= 0 ;
18182 char *kwnames
[] = {
18183 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18189 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18190 if (PyErr_Occurred()) SWIG_fail
;
18192 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18203 wxDateTime
* resultptr
;
18204 resultptr
= new wxDateTime((wxDateTime
&) result
);
18205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18213 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18217 wxDateTime
*result
;
18218 PyObject
* obj0
= 0 ;
18219 PyObject
* obj1
= 0 ;
18220 char *kwnames
[] = {
18221 (char *) "self",(char *) "weekday", NULL
18224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18227 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18233 result
= (wxDateTime
*) &_result_ref
;
18236 wxPyEndAllowThreads(__tstate
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18246 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18247 PyObject
*resultobj
;
18248 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18251 PyObject
* obj0
= 0 ;
18252 PyObject
* obj1
= 0 ;
18253 char *kwnames
[] = {
18254 (char *) "self",(char *) "weekday", NULL
18257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18260 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18266 wxPyEndAllowThreads(__tstate
);
18267 if (PyErr_Occurred()) SWIG_fail
;
18270 wxDateTime
* resultptr
;
18271 resultptr
= new wxDateTime((wxDateTime
&) result
);
18272 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18280 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18281 PyObject
*resultobj
;
18282 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18284 wxDateTime
*result
;
18285 PyObject
* obj0
= 0 ;
18286 PyObject
* obj1
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self",(char *) "weekday", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18294 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18299 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18300 result
= (wxDateTime
*) &_result_ref
;
18303 wxPyEndAllowThreads(__tstate
);
18304 if (PyErr_Occurred()) SWIG_fail
;
18306 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18313 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18314 PyObject
*resultobj
;
18315 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18318 PyObject
* obj0
= 0 ;
18319 PyObject
* obj1
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self",(char *) "weekday", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18327 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18331 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18333 wxPyEndAllowThreads(__tstate
);
18334 if (PyErr_Occurred()) SWIG_fail
;
18337 wxDateTime
* resultptr
;
18338 resultptr
= new wxDateTime((wxDateTime
&) result
);
18339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18347 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18348 PyObject
*resultobj
;
18349 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18351 int arg3
= (int) 1 ;
18352 int arg4
= (int) wxDateTime::Inv_Month
;
18353 int arg5
= (int) wxDateTime::Inv_Year
;
18355 PyObject
* obj0
= 0 ;
18356 PyObject
* obj1
= 0 ;
18357 PyObject
* obj2
= 0 ;
18358 PyObject
* obj3
= 0 ;
18359 PyObject
* obj4
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18367 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 arg3
= (int) SWIG_AsInt(obj2
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18374 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18378 arg5
= (int) SWIG_AsInt(obj4
);
18379 if (PyErr_Occurred()) SWIG_fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18397 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18401 int arg3
= (int) wxDateTime::Inv_Month
;
18402 int arg4
= (int) wxDateTime::Inv_Year
;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 PyObject
* obj2
= 0 ;
18407 PyObject
* obj3
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18415 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18418 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18422 arg4
= (int) SWIG_AsInt(obj3
);
18423 if (PyErr_Occurred()) SWIG_fail
;
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18441 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18442 PyObject
*resultobj
;
18443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18445 int arg3
= (int) wxDateTime::Inv_Month
;
18446 int arg4
= (int) wxDateTime::Inv_Year
;
18448 PyObject
* obj0
= 0 ;
18449 PyObject
* obj1
= 0 ;
18450 PyObject
* obj2
= 0 ;
18451 PyObject
* obj3
= 0 ;
18452 char *kwnames
[] = {
18453 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18459 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18460 if (PyErr_Occurred()) SWIG_fail
;
18462 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18466 arg4
= (int) SWIG_AsInt(obj3
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18477 wxDateTime
* resultptr
;
18478 resultptr
= new wxDateTime((wxDateTime
&) result
);
18479 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18487 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18491 int arg3
= (int) wxDateTime::Mon
;
18492 int arg4
= (int) wxDateTime::Monday_First
;
18494 PyObject
* obj0
= 0 ;
18495 PyObject
* obj1
= 0 ;
18496 PyObject
* obj2
= 0 ;
18497 PyObject
* obj3
= 0 ;
18498 char *kwnames
[] = {
18499 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18505 arg2
= (int) SWIG_AsInt(obj1
);
18506 if (PyErr_Occurred()) SWIG_fail
;
18508 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18512 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18531 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
;
18533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18535 int arg3
= (int) wxDateTime::Mon
;
18536 int arg4
= (int) wxDateTime::Monday_First
;
18538 PyObject
* obj0
= 0 ;
18539 PyObject
* obj1
= 0 ;
18540 PyObject
* obj2
= 0 ;
18541 PyObject
* obj3
= 0 ;
18542 char *kwnames
[] = {
18543 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18549 arg2
= (int) SWIG_AsInt(obj1
);
18550 if (PyErr_Occurred()) SWIG_fail
;
18552 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18556 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18561 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18567 wxDateTime
* resultptr
;
18568 resultptr
= new wxDateTime((wxDateTime
&) result
);
18569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18577 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
;
18579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18580 int arg2
= (int) wxDateTime::Inv_Month
;
18581 int arg3
= (int) wxDateTime::Inv_Year
;
18582 wxDateTime
*result
;
18583 PyObject
* obj0
= 0 ;
18584 PyObject
* obj1
= 0 ;
18585 PyObject
* obj2
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "self",(char *) "month",(char *) "year", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18594 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18595 if (PyErr_Occurred()) SWIG_fail
;
18598 arg3
= (int) SWIG_AsInt(obj2
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18604 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18605 result
= (wxDateTime
*) &_result_ref
;
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18618 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18621 int arg2
= (int) wxDateTime::Inv_Month
;
18622 int arg3
= (int) wxDateTime::Inv_Year
;
18624 PyObject
* obj0
= 0 ;
18625 PyObject
* obj1
= 0 ;
18626 PyObject
* obj2
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self",(char *) "month",(char *) "year", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18635 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18639 arg3
= (int) SWIG_AsInt(obj2
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18644 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18646 wxPyEndAllowThreads(__tstate
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18650 wxDateTime
* resultptr
;
18651 resultptr
= new wxDateTime((wxDateTime
&) result
);
18652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18660 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18661 PyObject
*resultobj
;
18662 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18664 wxDateTime
*result
;
18665 PyObject
* obj0
= 0 ;
18666 PyObject
* obj1
= 0 ;
18667 char *kwnames
[] = {
18668 (char *) "self",(char *) "yday", NULL
18671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18674 arg2
= (int) SWIG_AsInt(obj1
);
18675 if (PyErr_Occurred()) SWIG_fail
;
18677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18680 result
= (wxDateTime
*) &_result_ref
;
18683 wxPyEndAllowThreads(__tstate
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18693 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18694 PyObject
*resultobj
;
18695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18698 PyObject
* obj0
= 0 ;
18699 PyObject
* obj1
= 0 ;
18700 char *kwnames
[] = {
18701 (char *) "self",(char *) "yday", NULL
18704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18707 arg2
= (int) SWIG_AsInt(obj1
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (arg1
)->GetYearDay(arg2
);
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18717 wxDateTime
* resultptr
;
18718 resultptr
= new wxDateTime((wxDateTime
&) result
);
18719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18727 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
;
18729 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18731 PyObject
* obj0
= 0 ;
18732 char *kwnames
[] = {
18733 (char *) "self", NULL
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18741 result
= (double)(arg1
)->GetJulianDayNumber();
18743 wxPyEndAllowThreads(__tstate
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18746 resultobj
= SWIG_FromDouble((double)result
);
18753 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18754 PyObject
*resultobj
;
18755 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18757 PyObject
* obj0
= 0 ;
18758 char *kwnames
[] = {
18759 (char *) "self", NULL
18762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 result
= (double)(arg1
)->GetJDN();
18769 wxPyEndAllowThreads(__tstate
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18772 resultobj
= SWIG_FromDouble((double)result
);
18779 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18780 PyObject
*resultobj
;
18781 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18783 PyObject
* obj0
= 0 ;
18784 char *kwnames
[] = {
18785 (char *) "self", NULL
18788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18793 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18795 wxPyEndAllowThreads(__tstate
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= SWIG_FromDouble((double)result
);
18805 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18809 PyObject
* obj0
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= (double)(arg1
)->GetMJD();
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_FromDouble((double)result
);
18831 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18845 result
= (double)(arg1
)->GetRataDie();
18847 wxPyEndAllowThreads(__tstate
);
18848 if (PyErr_Occurred()) SWIG_fail
;
18850 resultobj
= SWIG_FromDouble((double)result
);
18857 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18858 PyObject
*resultobj
;
18859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18860 wxDateTime::TimeZone
*arg2
= 0 ;
18861 bool arg3
= (bool) False
;
18863 bool temp2
= False
;
18864 PyObject
* obj0
= 0 ;
18865 PyObject
* obj1
= 0 ;
18866 PyObject
* obj2
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18875 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18879 arg3
= (bool) SWIG_AsBool(obj2
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18886 wxPyEndAllowThreads(__tstate
);
18887 if (PyErr_Occurred()) SWIG_fail
;
18890 wxDateTime
* resultptr
;
18891 resultptr
= new wxDateTime((wxDateTime
&) result
);
18892 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18895 if (temp2
) delete arg2
;
18900 if (temp2
) delete arg2
;
18906 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
;
18908 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18909 wxDateTime::TimeZone
*arg2
= 0 ;
18910 bool arg3
= (bool) False
;
18911 wxDateTime
*result
;
18912 bool temp2
= False
;
18913 PyObject
* obj0
= 0 ;
18914 PyObject
* obj1
= 0 ;
18915 PyObject
* obj2
= 0 ;
18916 char *kwnames
[] = {
18917 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18924 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18928 arg3
= (bool) SWIG_AsBool(obj2
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18934 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18935 result
= (wxDateTime
*) &_result_ref
;
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18943 if (temp2
) delete arg2
;
18948 if (temp2
) delete arg2
;
18954 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18955 PyObject
*resultobj
;
18956 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18957 bool arg2
= (bool) False
;
18959 PyObject
* obj0
= 0 ;
18960 PyObject
* obj1
= 0 ;
18961 char *kwnames
[] = {
18962 (char *) "self",(char *) "noDST", NULL
18965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18969 arg2
= (bool) SWIG_AsBool(obj1
);
18970 if (PyErr_Occurred()) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (arg1
)->ToGMT(arg2
);
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18980 wxDateTime
* resultptr
;
18981 resultptr
= new wxDateTime((wxDateTime
&) result
);
18982 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18990 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18991 PyObject
*resultobj
;
18992 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18993 bool arg2
= (bool) False
;
18994 wxDateTime
*result
;
18995 PyObject
* obj0
= 0 ;
18996 PyObject
* obj1
= 0 ;
18997 char *kwnames
[] = {
18998 (char *) "self",(char *) "noDST", NULL
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
19002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19005 arg2
= (bool) SWIG_AsBool(obj1
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19012 result
= (wxDateTime
*) &_result_ref
;
19015 wxPyEndAllowThreads(__tstate
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19025 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19026 PyObject
*resultobj
;
19027 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19028 int arg2
= (int) wxDateTime::Country_Default
;
19030 PyObject
* obj0
= 0 ;
19031 PyObject
* obj1
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "self",(char *) "country", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19041 if (PyErr_Occurred()) SWIG_fail
;
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= SWIG_FromInt((int)result
);
19057 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19061 PyObject
* obj0
= 0 ;
19062 char *kwnames
[] = {
19063 (char *) "self", NULL
19066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19071 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19073 wxPyEndAllowThreads(__tstate
);
19074 if (PyErr_Occurred()) SWIG_fail
;
19077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19085 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19086 PyObject
*resultobj
;
19087 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19089 PyObject
* obj0
= 0 ;
19090 char *kwnames
[] = {
19091 (char *) "self", NULL
19094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19099 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19101 wxPyEndAllowThreads(__tstate
);
19102 if (PyErr_Occurred()) SWIG_fail
;
19104 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19111 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19112 PyObject
*resultobj
;
19113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19114 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19115 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19117 bool temp2
= False
;
19118 PyObject
* obj0
= 0 ;
19119 PyObject
* obj1
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "self",(char *) "tz", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19129 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= SWIG_FromInt((int)result
);
19142 if (temp2
) delete arg2
;
19147 if (temp2
) delete arg2
;
19153 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19154 PyObject
*resultobj
;
19155 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19156 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19157 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19159 bool temp2
= False
;
19160 PyObject
* obj0
= 0 ;
19161 PyObject
* obj1
= 0 ;
19162 char *kwnames
[] = {
19163 (char *) "self",(char *) "tz", NULL
19166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19171 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= SWIG_FromInt((int)result
);
19184 if (temp2
) delete arg2
;
19189 if (temp2
) delete arg2
;
19195 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19198 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19199 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19201 bool temp2
= False
;
19202 PyObject
* obj0
= 0 ;
19203 PyObject
* obj1
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self",(char *) "tz", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19213 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19224 resultobj
= SWIG_FromInt((int)result
);
19226 if (temp2
) delete arg2
;
19231 if (temp2
) delete arg2
;
19237 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19240 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19241 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19243 bool temp2
= False
;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self",(char *) "tz", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19255 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19261 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19263 wxPyEndAllowThreads(__tstate
);
19264 if (PyErr_Occurred()) SWIG_fail
;
19266 resultobj
= SWIG_FromInt((int)result
);
19268 if (temp2
) delete arg2
;
19273 if (temp2
) delete arg2
;
19279 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
;
19281 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19282 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19283 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19285 bool temp2
= False
;
19286 PyObject
* obj0
= 0 ;
19287 PyObject
* obj1
= 0 ;
19288 char *kwnames
[] = {
19289 (char *) "self",(char *) "tz", NULL
19292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19297 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 resultobj
= SWIG_FromInt((int)result
);
19310 if (temp2
) delete arg2
;
19315 if (temp2
) delete arg2
;
19321 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19324 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19325 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19327 bool temp2
= False
;
19328 PyObject
* obj0
= 0 ;
19329 PyObject
* obj1
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self",(char *) "tz", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19339 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= SWIG_FromInt((int)result
);
19352 if (temp2
) delete arg2
;
19357 if (temp2
) delete arg2
;
19363 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19366 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19367 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19369 bool temp2
= False
;
19370 PyObject
* obj0
= 0 ;
19371 PyObject
* obj1
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self",(char *) "tz", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19381 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19387 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19389 wxPyEndAllowThreads(__tstate
);
19390 if (PyErr_Occurred()) SWIG_fail
;
19392 resultobj
= SWIG_FromInt((int)result
);
19394 if (temp2
) delete arg2
;
19399 if (temp2
) delete arg2
;
19405 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
;
19407 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19408 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19409 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19411 bool temp2
= False
;
19412 PyObject
* obj0
= 0 ;
19413 PyObject
* obj1
= 0 ;
19414 char *kwnames
[] = {
19415 (char *) "self",(char *) "tz", NULL
19418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19423 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19429 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19431 wxPyEndAllowThreads(__tstate
);
19432 if (PyErr_Occurred()) SWIG_fail
;
19434 resultobj
= SWIG_FromInt((int)result
);
19436 if (temp2
) delete arg2
;
19441 if (temp2
) delete arg2
;
19447 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19450 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19451 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19453 bool temp2
= False
;
19454 PyObject
* obj0
= 0 ;
19455 PyObject
* obj1
= 0 ;
19456 char *kwnames
[] = {
19457 (char *) "self",(char *) "tz", NULL
19460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19465 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19471 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= SWIG_FromInt((int)result
);
19478 if (temp2
) delete arg2
;
19483 if (temp2
) delete arg2
;
19489 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
;
19491 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19492 int arg2
= (int) wxDateTime::Monday_First
;
19493 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19494 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19496 bool temp3
= False
;
19497 PyObject
* obj0
= 0 ;
19498 PyObject
* obj1
= 0 ;
19499 PyObject
* obj2
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self",(char *) "flags",(char *) "tz", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19508 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19513 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19519 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19521 wxPyEndAllowThreads(__tstate
);
19522 if (PyErr_Occurred()) SWIG_fail
;
19524 resultobj
= SWIG_FromInt((int)result
);
19526 if (temp3
) delete arg3
;
19531 if (temp3
) delete arg3
;
19537 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19540 int arg2
= (int) wxDateTime::Monday_First
;
19541 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19542 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19544 bool temp3
= False
;
19545 PyObject
* obj0
= 0 ;
19546 PyObject
* obj1
= 0 ;
19547 PyObject
* obj2
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self",(char *) "flags",(char *) "tz", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19556 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19561 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19569 wxPyEndAllowThreads(__tstate
);
19570 if (PyErr_Occurred()) SWIG_fail
;
19572 resultobj
= SWIG_FromInt((int)result
);
19574 if (temp3
) delete arg3
;
19579 if (temp3
) delete arg3
;
19585 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19586 PyObject
*resultobj
;
19587 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19588 int arg2
= (int) wxDateTime::Country_Default
;
19590 PyObject
* obj0
= 0 ;
19591 PyObject
* obj1
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self",(char *) "country", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19600 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19601 if (PyErr_Occurred()) SWIG_fail
;
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19619 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19620 PyObject
*resultobj
;
19621 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19622 wxDateTime
*arg2
= 0 ;
19624 PyObject
* obj0
= 0 ;
19625 PyObject
* obj1
= 0 ;
19626 char *kwnames
[] = {
19627 (char *) "self",(char *) "datetime", NULL
19630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19636 if (arg2
== NULL
) {
19637 PyErr_SetString(PyExc_TypeError
,"null reference");
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19656 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19657 PyObject
*resultobj
;
19658 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19659 wxDateTime
*arg2
= 0 ;
19661 PyObject
* obj0
= 0 ;
19662 PyObject
* obj1
= 0 ;
19663 char *kwnames
[] = {
19664 (char *) "self",(char *) "datetime", NULL
19667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19670 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19671 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19673 if (arg2
== NULL
) {
19674 PyErr_SetString(PyExc_TypeError
,"null reference");
19678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19679 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19681 wxPyEndAllowThreads(__tstate
);
19682 if (PyErr_Occurred()) SWIG_fail
;
19685 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19693 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19694 PyObject
*resultobj
;
19695 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19696 wxDateTime
*arg2
= 0 ;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self",(char *) "datetime", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19710 if (arg2
== NULL
) {
19711 PyErr_SetString(PyExc_TypeError
,"null reference");
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19730 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19731 PyObject
*resultobj
;
19732 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19733 wxDateTime
*arg2
= 0 ;
19734 wxDateTime
*arg3
= 0 ;
19736 PyObject
* obj0
= 0 ;
19737 PyObject
* obj1
= 0 ;
19738 PyObject
* obj2
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self",(char *) "t1",(char *) "t2", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19746 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19749 if (arg2
== NULL
) {
19750 PyErr_SetString(PyExc_TypeError
,"null reference");
19753 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19756 if (arg3
== NULL
) {
19757 PyErr_SetString(PyExc_TypeError
,"null reference");
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19762 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19764 wxPyEndAllowThreads(__tstate
);
19765 if (PyErr_Occurred()) SWIG_fail
;
19768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19776 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19777 PyObject
*resultobj
;
19778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19779 wxDateTime
*arg2
= 0 ;
19780 wxDateTime
*arg3
= 0 ;
19782 PyObject
* obj0
= 0 ;
19783 PyObject
* obj1
= 0 ;
19784 PyObject
* obj2
= 0 ;
19785 char *kwnames
[] = {
19786 (char *) "self",(char *) "t1",(char *) "t2", NULL
19789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19792 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19793 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19795 if (arg2
== NULL
) {
19796 PyErr_SetString(PyExc_TypeError
,"null reference");
19799 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19802 if (arg3
== NULL
) {
19803 PyErr_SetString(PyExc_TypeError
,"null reference");
19807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19808 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19810 wxPyEndAllowThreads(__tstate
);
19811 if (PyErr_Occurred()) SWIG_fail
;
19814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19822 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19823 PyObject
*resultobj
;
19824 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19825 wxDateTime
*arg2
= 0 ;
19827 PyObject
* obj0
= 0 ;
19828 PyObject
* obj1
= 0 ;
19829 char *kwnames
[] = {
19830 (char *) "self",(char *) "dt", NULL
19833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19839 if (arg2
== NULL
) {
19840 PyErr_SetString(PyExc_TypeError
,"null reference");
19844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19845 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19847 wxPyEndAllowThreads(__tstate
);
19848 if (PyErr_Occurred()) SWIG_fail
;
19851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19859 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19860 PyObject
*resultobj
;
19861 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19862 wxDateTime
*arg2
= 0 ;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self",(char *) "dt", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19876 if (arg2
== NULL
) {
19877 PyErr_SetString(PyExc_TypeError
,"null reference");
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19884 wxPyEndAllowThreads(__tstate
);
19885 if (PyErr_Occurred()) SWIG_fail
;
19888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19896 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
;
19898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19899 wxDateTime
*arg2
= 0 ;
19900 wxTimeSpan
*arg3
= 0 ;
19902 PyObject
* obj0
= 0 ;
19903 PyObject
* obj1
= 0 ;
19904 PyObject
* obj2
= 0 ;
19905 char *kwnames
[] = {
19906 (char *) "self",(char *) "dt",(char *) "ts", NULL
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19912 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19915 if (arg2
== NULL
) {
19916 PyErr_SetString(PyExc_TypeError
,"null reference");
19919 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19922 if (arg3
== NULL
) {
19923 PyErr_SetString(PyExc_TypeError
,"null reference");
19927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19942 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19945 wxTimeSpan
*arg2
= 0 ;
19946 wxDateTime
*result
;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self",(char *) "diff", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19959 if (arg2
== NULL
) {
19960 PyErr_SetString(PyExc_TypeError
,"null reference");
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19967 result
= (wxDateTime
*) &_result_ref
;
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19980 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19981 PyObject
*resultobj
;
19982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19983 wxDateSpan
*arg2
= 0 ;
19984 wxDateTime
*result
;
19985 PyObject
* obj0
= 0 ;
19986 PyObject
* obj1
= 0 ;
19987 char *kwnames
[] = {
19988 (char *) "self",(char *) "diff", NULL
19991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19995 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19997 if (arg2
== NULL
) {
19998 PyErr_SetString(PyExc_TypeError
,"null reference");
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20004 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20005 result
= (wxDateTime
*) &_result_ref
;
20008 wxPyEndAllowThreads(__tstate
);
20009 if (PyErr_Occurred()) SWIG_fail
;
20011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20018 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20020 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20021 wxTimeSpan
*arg2
= 0 ;
20022 wxDateTime
*result
;
20023 PyObject
* obj0
= 0 ;
20024 PyObject
* obj1
= 0 ;
20025 char *kwnames
[] = {
20026 (char *) "self",(char *) "diff", NULL
20029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20035 if (arg2
== NULL
) {
20036 PyErr_SetString(PyExc_TypeError
,"null reference");
20040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20042 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20043 result
= (wxDateTime
*) &_result_ref
;
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20056 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20058 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20059 wxDateSpan
*arg2
= 0 ;
20060 wxDateTime
*result
;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 char *kwnames
[] = {
20064 (char *) "self",(char *) "diff", NULL
20067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20073 if (arg2
== NULL
) {
20074 PyErr_SetString(PyExc_TypeError
,"null reference");
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20080 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20081 result
= (wxDateTime
*) &_result_ref
;
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20094 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20097 wxDateTime
*arg2
= 0 ;
20099 PyObject
* obj0
= 0 ;
20100 PyObject
* obj1
= 0 ;
20101 char *kwnames
[] = {
20102 (char *) "self",(char *) "dt", NULL
20105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20109 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20111 if (arg2
== NULL
) {
20112 PyErr_SetString(PyExc_TypeError
,"null reference");
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20123 wxTimeSpan
* resultptr
;
20124 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20133 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20134 PyObject
*resultobj
;
20135 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20136 wxTimeSpan
*arg2
= 0 ;
20137 wxDateTime
*result
;
20138 PyObject
* obj0
= 0 ;
20139 PyObject
* obj1
= 0 ;
20141 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20144 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20145 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20147 if (arg2
== NULL
) {
20148 PyErr_SetString(PyExc_TypeError
,"null reference");
20152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20154 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20155 result
= (wxDateTime
*) &_result_ref
;
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20168 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20169 PyObject
*resultobj
;
20170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20171 wxDateSpan
*arg2
= 0 ;
20172 wxDateTime
*result
;
20173 PyObject
* obj0
= 0 ;
20174 PyObject
* obj1
= 0 ;
20176 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20182 if (arg2
== NULL
) {
20183 PyErr_SetString(PyExc_TypeError
,"null reference");
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20190 result
= (wxDateTime
*) &_result_ref
;
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20203 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20208 argc
= PyObject_Length(args
);
20209 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20210 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20216 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20226 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20234 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20242 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20252 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20260 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20265 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20270 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20271 PyObject
*resultobj
;
20272 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20273 wxTimeSpan
*arg2
= 0 ;
20274 wxDateTime
*result
;
20275 PyObject
* obj0
= 0 ;
20276 PyObject
* obj1
= 0 ;
20278 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20281 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20284 if (arg2
== NULL
) {
20285 PyErr_SetString(PyExc_TypeError
,"null reference");
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20291 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20292 result
= (wxDateTime
*) &_result_ref
;
20295 wxPyEndAllowThreads(__tstate
);
20296 if (PyErr_Occurred()) SWIG_fail
;
20298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20305 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20306 PyObject
*resultobj
;
20307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20308 wxDateSpan
*arg2
= 0 ;
20309 wxDateTime
*result
;
20310 PyObject
* obj0
= 0 ;
20311 PyObject
* obj1
= 0 ;
20313 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20317 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20319 if (arg2
== NULL
) {
20320 PyErr_SetString(PyExc_TypeError
,"null reference");
20324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20327 result
= (wxDateTime
*) &_result_ref
;
20330 wxPyEndAllowThreads(__tstate
);
20331 if (PyErr_Occurred()) SWIG_fail
;
20333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20340 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20345 argc
= PyObject_Length(args
);
20346 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20347 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20353 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20363 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20371 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20379 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20389 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20397 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20402 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20407 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20408 PyObject
*resultobj
;
20409 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20410 wxTimeSpan
*arg2
= 0 ;
20412 PyObject
* obj0
= 0 ;
20413 PyObject
* obj1
= 0 ;
20415 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20421 if (arg2
== NULL
) {
20422 PyErr_SetString(PyExc_TypeError
,"null reference");
20426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20427 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20429 wxPyEndAllowThreads(__tstate
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 wxDateTime
* resultptr
;
20434 resultptr
= new wxDateTime((wxDateTime
&) result
);
20435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20443 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20444 PyObject
*resultobj
;
20445 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20446 wxDateSpan
*arg2
= 0 ;
20448 PyObject
* obj0
= 0 ;
20449 PyObject
* obj1
= 0 ;
20451 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20457 if (arg2
== NULL
) {
20458 PyErr_SetString(PyExc_TypeError
,"null reference");
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20469 wxDateTime
* resultptr
;
20470 resultptr
= new wxDateTime((wxDateTime
&) result
);
20471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20479 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20484 argc
= PyObject_Length(args
);
20485 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20486 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20492 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20502 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20510 return _wrap_DateTime___add____SWIG_0(self
,args
);
20518 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20528 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20536 return _wrap_DateTime___add____SWIG_1(self
,args
);
20541 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20546 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20547 PyObject
*resultobj
;
20548 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20549 wxDateTime
*arg2
= 0 ;
20551 PyObject
* obj0
= 0 ;
20552 PyObject
* obj1
= 0 ;
20554 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20558 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20560 if (arg2
== NULL
) {
20561 PyErr_SetString(PyExc_TypeError
,"null reference");
20565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20566 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20568 wxPyEndAllowThreads(__tstate
);
20569 if (PyErr_Occurred()) SWIG_fail
;
20572 wxTimeSpan
* resultptr
;
20573 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20582 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20583 PyObject
*resultobj
;
20584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20585 wxTimeSpan
*arg2
= 0 ;
20587 PyObject
* obj0
= 0 ;
20588 PyObject
* obj1
= 0 ;
20590 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20596 if (arg2
== NULL
) {
20597 PyErr_SetString(PyExc_TypeError
,"null reference");
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20608 wxDateTime
* resultptr
;
20609 resultptr
= new wxDateTime((wxDateTime
&) result
);
20610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20618 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20619 PyObject
*resultobj
;
20620 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20621 wxDateSpan
*arg2
= 0 ;
20623 PyObject
* obj0
= 0 ;
20624 PyObject
* obj1
= 0 ;
20626 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20630 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20632 if (arg2
== NULL
) {
20633 PyErr_SetString(PyExc_TypeError
,"null reference");
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20644 wxDateTime
* resultptr
;
20645 resultptr
= new wxDateTime((wxDateTime
&) result
);
20646 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20654 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20659 argc
= PyObject_Length(args
);
20660 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20661 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20667 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20677 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20685 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20693 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20703 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20711 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20719 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20729 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20737 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20742 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20747 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20748 PyObject
*resultobj
;
20749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20750 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20752 PyObject
* obj0
= 0 ;
20753 PyObject
* obj1
= 0 ;
20755 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20762 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20764 wxPyEndAllowThreads(__tstate
);
20765 if (PyErr_Occurred()) SWIG_fail
;
20768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20776 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20777 PyObject
*resultobj
;
20778 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20779 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20784 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20793 wxPyEndAllowThreads(__tstate
);
20794 if (PyErr_Occurred()) SWIG_fail
;
20797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20805 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20806 PyObject
*resultobj
;
20807 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20808 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20810 PyObject
* obj0
= 0 ;
20811 PyObject
* obj1
= 0 ;
20813 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20816 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20822 wxPyEndAllowThreads(__tstate
);
20823 if (PyErr_Occurred()) SWIG_fail
;
20826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20834 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20835 PyObject
*resultobj
;
20836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20837 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20839 PyObject
* obj0
= 0 ;
20840 PyObject
* obj1
= 0 ;
20842 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20863 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20864 PyObject
*resultobj
;
20865 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20866 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20868 PyObject
* obj0
= 0 ;
20869 PyObject
* obj1
= 0 ;
20871 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20892 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20893 PyObject
*resultobj
;
20894 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20895 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20897 PyObject
* obj0
= 0 ;
20898 PyObject
* obj1
= 0 ;
20900 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20921 static PyObject
*_wrap_DateTime_ParseRfc822Date(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_ParseRfc822Date",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_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_FromInt((int)result
);
20963 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
;
20965 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20966 wxString
*arg2
= 0 ;
20967 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20968 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20969 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20970 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20972 bool temp2
= False
;
20973 bool temp3
= False
;
20974 PyObject
* obj0
= 0 ;
20975 PyObject
* obj1
= 0 ;
20976 PyObject
* obj2
= 0 ;
20977 PyObject
* obj3
= 0 ;
20978 char *kwnames
[] = {
20979 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20986 arg2
= wxString_in_helper(obj1
);
20987 if (arg2
== NULL
) SWIG_fail
;
20992 arg3
= wxString_in_helper(obj2
);
20993 if (arg3
== NULL
) SWIG_fail
;
20998 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20999 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21001 if (arg4
== NULL
) {
21002 PyErr_SetString(PyExc_TypeError
,"null reference");
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= SWIG_FromInt((int)result
);
21036 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21037 PyObject
*resultobj
;
21038 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21039 wxString
*arg2
= 0 ;
21041 bool temp2
= False
;
21042 PyObject
* obj0
= 0 ;
21043 PyObject
* obj1
= 0 ;
21044 char *kwnames
[] = {
21045 (char *) "self",(char *) "datetime", NULL
21048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 arg2
= wxString_in_helper(obj1
);
21053 if (arg2
== NULL
) SWIG_fail
;
21057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21058 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21060 wxPyEndAllowThreads(__tstate
);
21061 if (PyErr_Occurred()) SWIG_fail
;
21063 resultobj
= SWIG_FromInt((int)result
);
21078 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21080 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21081 wxString
*arg2
= 0 ;
21083 bool temp2
= False
;
21084 PyObject
* obj0
= 0 ;
21085 PyObject
* obj1
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self",(char *) "date", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21094 arg2
= wxString_in_helper(obj1
);
21095 if (arg2
== NULL
) SWIG_fail
;
21099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21100 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_FromInt((int)result
);
21120 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21123 wxString
*arg2
= 0 ;
21125 bool temp2
= False
;
21126 PyObject
* obj0
= 0 ;
21127 PyObject
* obj1
= 0 ;
21128 char *kwnames
[] = {
21129 (char *) "self",(char *) "time", NULL
21132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21136 arg2
= wxString_in_helper(obj1
);
21137 if (arg2
== NULL
) SWIG_fail
;
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 resultobj
= SWIG_FromInt((int)result
);
21162 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21165 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21166 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21167 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21168 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21170 bool temp2
= False
;
21171 bool temp3
= False
;
21172 PyObject
* obj0
= 0 ;
21173 PyObject
* obj1
= 0 ;
21174 PyObject
* obj2
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self",(char *) "format",(char *) "tz", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21184 arg2
= wxString_in_helper(obj1
);
21185 if (arg2
== NULL
) SWIG_fail
;
21191 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21214 if (temp3
) delete arg3
;
21223 if (temp3
) delete arg3
;
21229 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21230 PyObject
*resultobj
;
21231 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21233 PyObject
* obj0
= 0 ;
21234 char *kwnames
[] = {
21235 (char *) "self", NULL
21238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21245 wxPyEndAllowThreads(__tstate
);
21246 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21261 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21262 PyObject
*resultobj
;
21263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21265 PyObject
* obj0
= 0 ;
21266 char *kwnames
[] = {
21267 (char *) "self", NULL
21270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21275 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21277 wxPyEndAllowThreads(__tstate
);
21278 if (PyErr_Occurred()) SWIG_fail
;
21282 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21284 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21293 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21294 PyObject
*resultobj
;
21295 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21297 PyObject
* obj0
= 0 ;
21298 char *kwnames
[] = {
21299 (char *) "self", NULL
21302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21307 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21309 wxPyEndAllowThreads(__tstate
);
21310 if (PyErr_Occurred()) SWIG_fail
;
21314 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21316 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21325 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
;
21327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21329 PyObject
* obj0
= 0 ;
21330 char *kwnames
[] = {
21331 (char *) "self", NULL
21334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21339 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21341 wxPyEndAllowThreads(__tstate
);
21342 if (PyErr_Occurred()) SWIG_fail
;
21346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21357 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21360 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21362 return Py_BuildValue((char *)"");
21364 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21365 PyObject
*resultobj
;
21368 PyObject
* obj0
= 0 ;
21369 char *kwnames
[] = {
21370 (char *) "sec", NULL
21373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21374 arg1
= (long) SWIG_AsLong(obj0
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21378 result
= wxTimeSpan::Seconds(arg1
);
21380 wxPyEndAllowThreads(__tstate
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21384 wxTimeSpan
* resultptr
;
21385 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21386 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21394 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21397 char *kwnames
[] = {
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= wxTimeSpan::Second();
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21410 wxTimeSpan
* resultptr
;
21411 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21420 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21421 PyObject
*resultobj
;
21424 PyObject
* obj0
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "min", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21430 arg1
= (long) SWIG_AsLong(obj0
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21434 result
= wxTimeSpan::Minutes(arg1
);
21436 wxPyEndAllowThreads(__tstate
);
21437 if (PyErr_Occurred()) SWIG_fail
;
21440 wxTimeSpan
* resultptr
;
21441 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21450 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21451 PyObject
*resultobj
;
21453 char *kwnames
[] = {
21457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 result
= wxTimeSpan::Minute();
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21466 wxTimeSpan
* resultptr
;
21467 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21476 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21477 PyObject
*resultobj
;
21480 PyObject
* obj0
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "hours", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21486 arg1
= (long) SWIG_AsLong(obj0
);
21487 if (PyErr_Occurred()) SWIG_fail
;
21489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21490 result
= wxTimeSpan::Hours(arg1
);
21492 wxPyEndAllowThreads(__tstate
);
21493 if (PyErr_Occurred()) SWIG_fail
;
21496 wxTimeSpan
* resultptr
;
21497 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21498 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21506 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21507 PyObject
*resultobj
;
21509 char *kwnames
[] = {
21513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21516 result
= wxTimeSpan::Hour();
21518 wxPyEndAllowThreads(__tstate
);
21519 if (PyErr_Occurred()) SWIG_fail
;
21522 wxTimeSpan
* resultptr
;
21523 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21532 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
;
21536 PyObject
* obj0
= 0 ;
21537 char *kwnames
[] = {
21538 (char *) "days", NULL
21541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21542 arg1
= (long) SWIG_AsLong(obj0
);
21543 if (PyErr_Occurred()) SWIG_fail
;
21545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21546 result
= wxTimeSpan::Days(arg1
);
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21552 wxTimeSpan
* resultptr
;
21553 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21554 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21562 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21563 PyObject
*resultobj
;
21565 char *kwnames
[] = {
21569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21572 result
= wxTimeSpan::Day();
21574 wxPyEndAllowThreads(__tstate
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21578 wxTimeSpan
* resultptr
;
21579 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21580 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21588 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
;
21592 PyObject
* obj0
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "days", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21598 arg1
= (long) SWIG_AsLong(obj0
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 result
= wxTimeSpan::Weeks(arg1
);
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21608 wxTimeSpan
* resultptr
;
21609 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21618 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
;
21621 char *kwnames
[] = {
21625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 result
= wxTimeSpan::Week();
21630 wxPyEndAllowThreads(__tstate
);
21631 if (PyErr_Occurred()) SWIG_fail
;
21634 wxTimeSpan
* resultptr
;
21635 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21644 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21645 PyObject
*resultobj
;
21646 long arg1
= (long) 0 ;
21647 long arg2
= (long) 0 ;
21648 long arg3
= (long) 0 ;
21649 long arg4
= (long) 0 ;
21650 wxTimeSpan
*result
;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 PyObject
* obj2
= 0 ;
21654 PyObject
* obj3
= 0 ;
21655 char *kwnames
[] = {
21656 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21661 arg1
= (long) SWIG_AsLong(obj0
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21665 arg2
= (long) SWIG_AsLong(obj1
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21669 arg3
= (long) SWIG_AsLong(obj2
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21673 arg4
= (long) SWIG_AsLong(obj3
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21678 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21680 wxPyEndAllowThreads(__tstate
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21690 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21691 PyObject
*resultobj
;
21692 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21705 wxPyEndAllowThreads(__tstate
);
21706 if (PyErr_Occurred()) SWIG_fail
;
21708 Py_INCREF(Py_None
); resultobj
= Py_None
;
21715 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21718 wxTimeSpan
*arg2
= 0 ;
21719 wxTimeSpan
*result
;
21720 PyObject
* obj0
= 0 ;
21721 PyObject
* obj1
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self",(char *) "diff", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21730 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21732 if (arg2
== NULL
) {
21733 PyErr_SetString(PyExc_TypeError
,"null reference");
21737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21739 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21740 result
= (wxTimeSpan
*) &_result_ref
;
21743 wxPyEndAllowThreads(__tstate
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21753 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21754 PyObject
*resultobj
;
21755 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21756 wxTimeSpan
*arg2
= 0 ;
21757 wxTimeSpan
*result
;
21758 PyObject
* obj0
= 0 ;
21759 PyObject
* obj1
= 0 ;
21760 char *kwnames
[] = {
21761 (char *) "self",(char *) "diff", NULL
21764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21768 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21770 if (arg2
== NULL
) {
21771 PyErr_SetString(PyExc_TypeError
,"null reference");
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21777 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21778 result
= (wxTimeSpan
*) &_result_ref
;
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21791 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21792 PyObject
*resultobj
;
21793 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21795 wxTimeSpan
*result
;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self",(char *) "n", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21805 arg2
= (int) SWIG_AsInt(obj1
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21811 result
= (wxTimeSpan
*) &_result_ref
;
21814 wxPyEndAllowThreads(__tstate
);
21815 if (PyErr_Occurred()) SWIG_fail
;
21817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21824 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21825 PyObject
*resultobj
;
21826 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21827 wxTimeSpan
*result
;
21828 PyObject
* obj0
= 0 ;
21829 char *kwnames
[] = {
21830 (char *) "self", NULL
21833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21839 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21840 result
= (wxTimeSpan
*) &_result_ref
;
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21853 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21854 PyObject
*resultobj
;
21855 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21857 PyObject
* obj0
= 0 ;
21858 char *kwnames
[] = {
21859 (char *) "self", NULL
21862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21873 wxTimeSpan
* resultptr
;
21874 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21883 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
;
21885 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21886 wxTimeSpan
*arg2
= 0 ;
21887 wxTimeSpan
*result
;
21888 PyObject
* obj0
= 0 ;
21889 PyObject
* obj1
= 0 ;
21890 char *kwnames
[] = {
21891 (char *) "self",(char *) "diff", NULL
21894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21900 if (arg2
== NULL
) {
21901 PyErr_SetString(PyExc_TypeError
,"null reference");
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21907 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21908 result
= (wxTimeSpan
*) &_result_ref
;
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21921 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
;
21923 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21924 wxTimeSpan
*arg2
= 0 ;
21925 wxTimeSpan
*result
;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 char *kwnames
[] = {
21929 (char *) "self",(char *) "diff", NULL
21932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21938 if (arg2
== NULL
) {
21939 PyErr_SetString(PyExc_TypeError
,"null reference");
21943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21946 result
= (wxTimeSpan
*) &_result_ref
;
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21952 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21959 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
;
21961 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21963 wxTimeSpan
*result
;
21964 PyObject
* obj0
= 0 ;
21965 PyObject
* obj1
= 0 ;
21966 char *kwnames
[] = {
21967 (char *) "self",(char *) "n", NULL
21970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21973 arg2
= (int) SWIG_AsInt(obj1
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21978 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21979 result
= (wxTimeSpan
*) &_result_ref
;
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21992 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21995 wxTimeSpan
*result
;
21996 PyObject
* obj0
= 0 ;
21997 char *kwnames
[] = {
21998 (char *) "self", NULL
22001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
22002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22007 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22008 result
= (wxTimeSpan
*) &_result_ref
;
22011 wxPyEndAllowThreads(__tstate
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22021 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22022 PyObject
*resultobj
;
22023 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22024 wxTimeSpan
*arg2
= 0 ;
22026 PyObject
* obj0
= 0 ;
22027 PyObject
* obj1
= 0 ;
22028 char *kwnames
[] = {
22029 (char *) "self",(char *) "other", NULL
22032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22038 if (arg2
== NULL
) {
22039 PyErr_SetString(PyExc_TypeError
,"null reference");
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22044 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22050 wxTimeSpan
* resultptr
;
22051 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22052 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22060 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22061 PyObject
*resultobj
;
22062 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22063 wxTimeSpan
*arg2
= 0 ;
22065 PyObject
* obj0
= 0 ;
22066 PyObject
* obj1
= 0 ;
22067 char *kwnames
[] = {
22068 (char *) "self",(char *) "other", NULL
22071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22074 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22077 if (arg2
== NULL
) {
22078 PyErr_SetString(PyExc_TypeError
,"null reference");
22082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22083 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22085 wxPyEndAllowThreads(__tstate
);
22086 if (PyErr_Occurred()) SWIG_fail
;
22089 wxTimeSpan
* resultptr
;
22090 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22099 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22100 PyObject
*resultobj
;
22101 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22104 PyObject
* obj0
= 0 ;
22105 PyObject
* obj1
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self",(char *) "n", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22113 arg2
= (int) SWIG_AsInt(obj1
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 result
= wxTimeSpan___mul__(arg1
,arg2
);
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22123 wxTimeSpan
* resultptr
;
22124 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22133 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22134 PyObject
*resultobj
;
22135 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22138 PyObject
* obj0
= 0 ;
22139 PyObject
* obj1
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self",(char *) "n", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22147 arg2
= (int) SWIG_AsInt(obj1
);
22148 if (PyErr_Occurred()) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22157 wxTimeSpan
* resultptr
;
22158 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22167 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22170 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22172 PyObject
* obj0
= 0 ;
22173 PyObject
* obj1
= 0 ;
22174 char *kwnames
[] = {
22175 (char *) "self",(char *) "other", NULL
22178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22185 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22187 wxPyEndAllowThreads(__tstate
);
22188 if (PyErr_Occurred()) SWIG_fail
;
22191 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22199 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22200 PyObject
*resultobj
;
22201 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22202 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22204 PyObject
* obj0
= 0 ;
22205 PyObject
* obj1
= 0 ;
22206 char *kwnames
[] = {
22207 (char *) "self",(char *) "other", NULL
22210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22213 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22217 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22219 wxPyEndAllowThreads(__tstate
);
22220 if (PyErr_Occurred()) SWIG_fail
;
22223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22231 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22232 PyObject
*resultobj
;
22233 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22234 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 PyObject
* obj1
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self",(char *) "other", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22245 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22249 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22251 wxPyEndAllowThreads(__tstate
);
22252 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22263 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22264 PyObject
*resultobj
;
22265 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22266 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22268 PyObject
* obj0
= 0 ;
22269 PyObject
* obj1
= 0 ;
22270 char *kwnames
[] = {
22271 (char *) "self",(char *) "other", NULL
22274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22295 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22298 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 char *kwnames
[] = {
22303 (char *) "self",(char *) "other", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22327 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22329 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22330 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22332 PyObject
* obj0
= 0 ;
22333 PyObject
* obj1
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self",(char *) "other", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22359 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22360 PyObject
*resultobj
;
22361 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22363 PyObject
* obj0
= 0 ;
22364 char *kwnames
[] = {
22365 (char *) "self", NULL
22368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22375 wxPyEndAllowThreads(__tstate
);
22376 if (PyErr_Occurred()) SWIG_fail
;
22379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22387 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22388 PyObject
*resultobj
;
22389 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22391 PyObject
* obj0
= 0 ;
22392 char *kwnames
[] = {
22393 (char *) "self", NULL
22396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22401 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22403 wxPyEndAllowThreads(__tstate
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22415 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22416 PyObject
*resultobj
;
22417 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22419 PyObject
* obj0
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "self", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22443 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22444 PyObject
*resultobj
;
22445 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22446 wxTimeSpan
*arg2
= 0 ;
22448 PyObject
* obj0
= 0 ;
22449 PyObject
* obj1
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self",(char *) "ts", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22460 if (arg2
== NULL
) {
22461 PyErr_SetString(PyExc_TypeError
,"null reference");
22465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22466 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22480 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22481 PyObject
*resultobj
;
22482 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22483 wxTimeSpan
*arg2
= 0 ;
22485 PyObject
* obj0
= 0 ;
22486 PyObject
* obj1
= 0 ;
22487 char *kwnames
[] = {
22488 (char *) "self",(char *) "ts", NULL
22491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22497 if (arg2
== NULL
) {
22498 PyErr_SetString(PyExc_TypeError
,"null reference");
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22517 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22518 PyObject
*resultobj
;
22519 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22520 wxTimeSpan
*arg2
= 0 ;
22522 PyObject
* obj0
= 0 ;
22523 PyObject
* obj1
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self",(char *) "t", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22534 if (arg2
== NULL
) {
22535 PyErr_SetString(PyExc_TypeError
,"null reference");
22539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22540 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22542 wxPyEndAllowThreads(__tstate
);
22543 if (PyErr_Occurred()) SWIG_fail
;
22546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22554 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22555 PyObject
*resultobj
;
22556 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22558 PyObject
* obj0
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= SWIG_FromInt((int)result
);
22580 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22584 PyObject
* obj0
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22594 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22596 wxPyEndAllowThreads(__tstate
);
22597 if (PyErr_Occurred()) SWIG_fail
;
22599 resultobj
= SWIG_FromInt((int)result
);
22606 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22607 PyObject
*resultobj
;
22608 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22610 PyObject
* obj0
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22620 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22622 wxPyEndAllowThreads(__tstate
);
22623 if (PyErr_Occurred()) SWIG_fail
;
22625 resultobj
= SWIG_FromInt((int)result
);
22632 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22633 PyObject
*resultobj
;
22634 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22636 PyObject
* obj0
= 0 ;
22637 char *kwnames
[] = {
22638 (char *) "self", NULL
22641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22646 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22648 wxPyEndAllowThreads(__tstate
);
22649 if (PyErr_Occurred()) SWIG_fail
;
22651 resultobj
= SWIG_FromInt((int)result
);
22658 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22659 PyObject
*resultobj
;
22660 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22662 PyObject
* obj0
= 0 ;
22663 char *kwnames
[] = {
22664 (char *) "self", NULL
22667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22672 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22678 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22679 hi
= PyLong_FromLong( (&result
)->GetHi() );
22680 lo
= PyLong_FromLong( (&result
)->GetLo() );
22681 shifter
= PyLong_FromLong(32);
22682 shifted
= PyNumber_Lshift(hi
, shifter
);
22683 resultobj
= PyNumber_Or(shifted
, lo
);
22686 Py_DECREF(shifter
);
22687 Py_DECREF(shifted
);
22695 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22697 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22699 PyObject
* obj0
= 0 ;
22700 char *kwnames
[] = {
22701 (char *) "self", NULL
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22715 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22716 hi
= PyLong_FromLong( (&result
)->GetHi() );
22717 lo
= PyLong_FromLong( (&result
)->GetLo() );
22718 shifter
= PyLong_FromLong(32);
22719 shifted
= PyNumber_Lshift(hi
, shifter
);
22720 resultobj
= PyNumber_Or(shifted
, lo
);
22723 Py_DECREF(shifter
);
22724 Py_DECREF(shifted
);
22732 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
;
22734 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22735 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22736 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22738 bool temp2
= False
;
22739 PyObject
* obj0
= 0 ;
22740 PyObject
* obj1
= 0 ;
22741 char *kwnames
[] = {
22742 (char *) "self",(char *) "format", NULL
22745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22750 arg2
= wxString_in_helper(obj1
);
22751 if (arg2
== NULL
) SWIG_fail
;
22756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22757 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22759 wxPyEndAllowThreads(__tstate
);
22760 if (PyErr_Occurred()) SWIG_fail
;
22764 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22766 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22783 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22786 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22788 return Py_BuildValue((char *)"");
22790 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22791 PyObject
*resultobj
;
22792 int arg1
= (int) 0 ;
22793 int arg2
= (int) 0 ;
22794 int arg3
= (int) 0 ;
22795 int arg4
= (int) 0 ;
22796 wxDateSpan
*result
;
22797 PyObject
* obj0
= 0 ;
22798 PyObject
* obj1
= 0 ;
22799 PyObject
* obj2
= 0 ;
22800 PyObject
* obj3
= 0 ;
22801 char *kwnames
[] = {
22802 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22807 arg1
= (int) SWIG_AsInt(obj0
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22811 arg2
= (int) SWIG_AsInt(obj1
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22815 arg3
= (int) SWIG_AsInt(obj2
);
22816 if (PyErr_Occurred()) SWIG_fail
;
22819 arg4
= (int) SWIG_AsInt(obj3
);
22820 if (PyErr_Occurred()) SWIG_fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22824 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22836 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22837 PyObject
*resultobj
;
22838 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22839 PyObject
* obj0
= 0 ;
22840 char *kwnames
[] = {
22841 (char *) "self", NULL
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 Py_INCREF(Py_None
); resultobj
= Py_None
;
22861 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
;
22865 PyObject
* obj0
= 0 ;
22866 char *kwnames
[] = {
22867 (char *) "days", NULL
22870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22871 arg1
= (int) SWIG_AsInt(obj0
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22875 result
= wxDateSpan::Days(arg1
);
22877 wxPyEndAllowThreads(__tstate
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22881 wxDateSpan
* resultptr
;
22882 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22891 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22894 char *kwnames
[] = {
22898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22901 result
= wxDateSpan::Day();
22903 wxPyEndAllowThreads(__tstate
);
22904 if (PyErr_Occurred()) SWIG_fail
;
22907 wxDateSpan
* resultptr
;
22908 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22917 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
;
22921 PyObject
* obj0
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "weeks", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22927 arg1
= (int) SWIG_AsInt(obj0
);
22928 if (PyErr_Occurred()) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 result
= wxDateSpan::Weeks(arg1
);
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22937 wxDateSpan
* resultptr
;
22938 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22947 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22950 char *kwnames
[] = {
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22957 result
= wxDateSpan::Week();
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22963 wxDateSpan
* resultptr
;
22964 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22973 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22974 PyObject
*resultobj
;
22977 PyObject
* obj0
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "mon", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22983 arg1
= (int) SWIG_AsInt(obj0
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 result
= wxDateSpan::Months(arg1
);
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22993 wxDateSpan
* resultptr
;
22994 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23003 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
;
23006 char *kwnames
[] = {
23010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 result
= wxDateSpan::Month();
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23019 wxDateSpan
* resultptr
;
23020 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23021 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23029 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23030 PyObject
*resultobj
;
23033 PyObject
* obj0
= 0 ;
23034 char *kwnames
[] = {
23035 (char *) "years", NULL
23038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23039 arg1
= (int) SWIG_AsInt(obj0
);
23040 if (PyErr_Occurred()) SWIG_fail
;
23042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23043 result
= wxDateSpan::Years(arg1
);
23045 wxPyEndAllowThreads(__tstate
);
23046 if (PyErr_Occurred()) SWIG_fail
;
23049 wxDateSpan
* resultptr
;
23050 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23051 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23059 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23060 PyObject
*resultobj
;
23062 char *kwnames
[] = {
23066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 result
= wxDateSpan::Year();
23071 wxPyEndAllowThreads(__tstate
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23075 wxDateSpan
* resultptr
;
23076 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23077 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23085 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
;
23087 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23089 wxDateSpan
*result
;
23090 PyObject
* obj0
= 0 ;
23091 PyObject
* obj1
= 0 ;
23092 char *kwnames
[] = {
23093 (char *) "self",(char *) "n", NULL
23096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23099 arg2
= (int) SWIG_AsInt(obj1
);
23100 if (PyErr_Occurred()) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23104 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23105 result
= (wxDateSpan
*) &_result_ref
;
23108 wxPyEndAllowThreads(__tstate
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23118 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23119 PyObject
*resultobj
;
23120 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23122 wxDateSpan
*result
;
23123 PyObject
* obj0
= 0 ;
23124 PyObject
* obj1
= 0 ;
23125 char *kwnames
[] = {
23126 (char *) "self",(char *) "n", NULL
23129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23132 arg2
= (int) SWIG_AsInt(obj1
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23138 result
= (wxDateSpan
*) &_result_ref
;
23141 wxPyEndAllowThreads(__tstate
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23151 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23152 PyObject
*resultobj
;
23153 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23155 wxDateSpan
*result
;
23156 PyObject
* obj0
= 0 ;
23157 PyObject
* obj1
= 0 ;
23158 char *kwnames
[] = {
23159 (char *) "self",(char *) "n", NULL
23162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23165 arg2
= (int) SWIG_AsInt(obj1
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23171 result
= (wxDateSpan
*) &_result_ref
;
23174 wxPyEndAllowThreads(__tstate
);
23175 if (PyErr_Occurred()) SWIG_fail
;
23177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23184 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23185 PyObject
*resultobj
;
23186 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23188 wxDateSpan
*result
;
23189 PyObject
* obj0
= 0 ;
23190 PyObject
* obj1
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self",(char *) "n", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23198 arg2
= (int) SWIG_AsInt(obj1
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23204 result
= (wxDateSpan
*) &_result_ref
;
23207 wxPyEndAllowThreads(__tstate
);
23208 if (PyErr_Occurred()) SWIG_fail
;
23210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23217 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23221 PyObject
* obj0
= 0 ;
23222 char *kwnames
[] = {
23223 (char *) "self", NULL
23226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 resultobj
= SWIG_FromInt((int)result
);
23243 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23262 resultobj
= SWIG_FromInt((int)result
);
23269 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23273 PyObject
* obj0
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 resultobj
= SWIG_FromInt((int)result
);
23295 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
;
23297 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23299 PyObject
* obj0
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= SWIG_FromInt((int)result
);
23321 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23325 PyObject
* obj0
= 0 ;
23326 char *kwnames
[] = {
23327 (char *) "self", NULL
23330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23337 wxPyEndAllowThreads(__tstate
);
23338 if (PyErr_Occurred()) SWIG_fail
;
23340 resultobj
= SWIG_FromInt((int)result
);
23347 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23348 PyObject
*resultobj
;
23349 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23350 wxDateSpan
*arg2
= 0 ;
23351 wxDateSpan
*result
;
23352 PyObject
* obj0
= 0 ;
23353 PyObject
* obj1
= 0 ;
23354 char *kwnames
[] = {
23355 (char *) "self",(char *) "other", NULL
23358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23362 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23364 if (arg2
== NULL
) {
23365 PyErr_SetString(PyExc_TypeError
,"null reference");
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23372 result
= (wxDateSpan
*) &_result_ref
;
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23385 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23388 wxDateSpan
*arg2
= 0 ;
23389 wxDateSpan
*result
;
23390 PyObject
* obj0
= 0 ;
23391 PyObject
* obj1
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self",(char *) "other", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23402 if (arg2
== NULL
) {
23403 PyErr_SetString(PyExc_TypeError
,"null reference");
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23410 result
= (wxDateSpan
*) &_result_ref
;
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23423 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23426 wxDateSpan
*result
;
23427 PyObject
* obj0
= 0 ;
23428 char *kwnames
[] = {
23429 (char *) "self", NULL
23432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23439 result
= (wxDateSpan
*) &_result_ref
;
23442 wxPyEndAllowThreads(__tstate
);
23443 if (PyErr_Occurred()) SWIG_fail
;
23445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23452 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23453 PyObject
*resultobj
;
23454 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23456 wxDateSpan
*result
;
23457 PyObject
* obj0
= 0 ;
23458 PyObject
* obj1
= 0 ;
23459 char *kwnames
[] = {
23460 (char *) "self",(char *) "factor", NULL
23463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23466 arg2
= (int) SWIG_AsInt(obj1
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23471 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23472 result
= (wxDateSpan
*) &_result_ref
;
23475 wxPyEndAllowThreads(__tstate
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23485 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23486 PyObject
*resultobj
;
23487 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23488 wxDateSpan
*arg2
= 0 ;
23489 wxDateSpan
*result
;
23490 PyObject
* obj0
= 0 ;
23491 PyObject
* obj1
= 0 ;
23492 char *kwnames
[] = {
23493 (char *) "self",(char *) "other", NULL
23496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23500 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23502 if (arg2
== NULL
) {
23503 PyErr_SetString(PyExc_TypeError
,"null reference");
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23510 result
= (wxDateSpan
*) &_result_ref
;
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23523 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23526 wxDateSpan
*arg2
= 0 ;
23527 wxDateSpan
*result
;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self",(char *) "other", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23538 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23540 if (arg2
== NULL
) {
23541 PyErr_SetString(PyExc_TypeError
,"null reference");
23545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23547 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23548 result
= (wxDateSpan
*) &_result_ref
;
23551 wxPyEndAllowThreads(__tstate
);
23552 if (PyErr_Occurred()) SWIG_fail
;
23554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23561 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23562 PyObject
*resultobj
;
23563 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23564 wxDateSpan
*result
;
23565 PyObject
* obj0
= 0 ;
23566 char *kwnames
[] = {
23567 (char *) "self", NULL
23570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23577 result
= (wxDateSpan
*) &_result_ref
;
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23590 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
;
23592 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23594 wxDateSpan
*result
;
23595 PyObject
* obj0
= 0 ;
23596 PyObject
* obj1
= 0 ;
23597 char *kwnames
[] = {
23598 (char *) "self",(char *) "factor", NULL
23601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23604 arg2
= (int) SWIG_AsInt(obj1
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23610 result
= (wxDateSpan
*) &_result_ref
;
23613 wxPyEndAllowThreads(__tstate
);
23614 if (PyErr_Occurred()) SWIG_fail
;
23616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23623 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
;
23625 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23626 wxDateSpan
*arg2
= 0 ;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self",(char *) "other", NULL
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23640 if (arg2
== NULL
) {
23641 PyErr_SetString(PyExc_TypeError
,"null reference");
23645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23646 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23648 wxPyEndAllowThreads(__tstate
);
23649 if (PyErr_Occurred()) SWIG_fail
;
23652 wxDateSpan
* resultptr
;
23653 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23662 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23665 wxDateSpan
*arg2
= 0 ;
23667 PyObject
* obj0
= 0 ;
23668 PyObject
* obj1
= 0 ;
23669 char *kwnames
[] = {
23670 (char *) "self",(char *) "other", NULL
23673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23679 if (arg2
== NULL
) {
23680 PyErr_SetString(PyExc_TypeError
,"null reference");
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23691 wxDateSpan
* resultptr
;
23692 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23701 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23702 PyObject
*resultobj
;
23703 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23706 PyObject
* obj0
= 0 ;
23707 PyObject
* obj1
= 0 ;
23708 char *kwnames
[] = {
23709 (char *) "self",(char *) "n", NULL
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23715 arg2
= (int) SWIG_AsInt(obj1
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= wxDateSpan___mul__(arg1
,arg2
);
23721 wxPyEndAllowThreads(__tstate
);
23722 if (PyErr_Occurred()) SWIG_fail
;
23725 wxDateSpan
* resultptr
;
23726 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23735 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23736 PyObject
*resultobj
;
23737 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23740 PyObject
* obj0
= 0 ;
23741 PyObject
* obj1
= 0 ;
23742 char *kwnames
[] = {
23743 (char *) "self",(char *) "n", NULL
23746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23749 arg2
= (int) SWIG_AsInt(obj1
);
23750 if (PyErr_Occurred()) SWIG_fail
;
23752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23753 result
= wxDateSpan___rmul__(arg1
,arg2
);
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23759 wxDateSpan
* resultptr
;
23760 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23769 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23770 PyObject
*resultobj
;
23771 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23772 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23774 PyObject
* obj0
= 0 ;
23775 PyObject
* obj1
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "self",(char *) "other", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23783 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23787 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23789 wxPyEndAllowThreads(__tstate
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23801 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23802 PyObject
*resultobj
;
23803 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23804 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23806 PyObject
* obj0
= 0 ;
23807 PyObject
* obj1
= 0 ;
23808 char *kwnames
[] = {
23809 (char *) "self",(char *) "other", NULL
23812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23815 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23819 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23821 wxPyEndAllowThreads(__tstate
);
23822 if (PyErr_Occurred()) SWIG_fail
;
23825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23833 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23836 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23838 return Py_BuildValue((char *)"");
23840 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23841 PyObject
*resultobj
;
23843 char *kwnames
[] = {
23847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 result
= (long)wxGetLocalTime();
23852 wxPyEndAllowThreads(__tstate
);
23853 if (PyErr_Occurred()) SWIG_fail
;
23855 resultobj
= SWIG_FromLong((long)result
);
23862 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23863 PyObject
*resultobj
;
23865 char *kwnames
[] = {
23869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 result
= (long)wxGetUTCTime();
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= SWIG_FromLong((long)result
);
23884 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23887 char *kwnames
[] = {
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (long)wxGetCurrentTime();
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= SWIG_FromLong((long)result
);
23906 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23909 char *kwnames
[] = {
23913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23916 result
= wxGetLocalTimeMillis();
23918 wxPyEndAllowThreads(__tstate
);
23919 if (PyErr_Occurred()) SWIG_fail
;
23922 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23923 hi
= PyLong_FromLong( (&result
)->GetHi() );
23924 lo
= PyLong_FromLong( (&result
)->GetLo() );
23925 shifter
= PyLong_FromLong(32);
23926 shifted
= PyNumber_Lshift(hi
, shifter
);
23927 resultobj
= PyNumber_Or(shifted
, lo
);
23930 Py_DECREF(shifter
);
23931 Py_DECREF(shifted
);
23939 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23940 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23945 static PyObject
*_wrap_DefaultDateTime_get() {
23948 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23953 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23956 wxDataFormat
*result
;
23957 PyObject
* obj0
= 0 ;
23958 char *kwnames
[] = {
23959 (char *) "type", NULL
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23963 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23979 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23981 wxString
*arg1
= 0 ;
23982 wxDataFormat
*result
;
23983 bool temp1
= False
;
23984 PyObject
* obj0
= 0 ;
23985 char *kwnames
[] = {
23986 (char *) "format", NULL
23989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23991 arg1
= wxString_in_helper(obj0
);
23992 if (arg1
== NULL
) SWIG_fail
;
23996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23997 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24017 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24018 PyObject
*resultobj
;
24019 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24020 PyObject
* obj0
= 0 ;
24021 char *kwnames
[] = {
24022 (char *) "self", NULL
24025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 Py_INCREF(Py_None
); resultobj
= Py_None
;
24042 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
24043 PyObject
*resultobj
;
24044 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24047 PyObject
* obj0
= 0 ;
24048 PyObject
* obj1
= 0 ;
24050 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24053 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24054 if (PyErr_Occurred()) SWIG_fail
;
24056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24057 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24059 wxPyEndAllowThreads(__tstate
);
24060 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24071 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
24072 PyObject
*resultobj
;
24073 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24076 PyObject
* obj0
= 0 ;
24077 PyObject
* obj1
= 0 ;
24079 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24100 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24101 PyObject
*resultobj
;
24102 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24103 wxDataFormat
*arg2
= 0 ;
24105 PyObject
* obj0
= 0 ;
24106 PyObject
* obj1
= 0 ;
24108 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24112 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24114 if (arg2
== NULL
) {
24115 PyErr_SetString(PyExc_TypeError
,"null reference");
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24122 wxPyEndAllowThreads(__tstate
);
24123 if (PyErr_Occurred()) SWIG_fail
;
24126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24134 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24139 argc
= PyObject_Length(args
);
24140 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24141 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24147 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24157 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24165 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24173 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24181 _v
= SWIG_CheckInt(argv
[1]);
24183 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24188 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24193 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24194 PyObject
*resultobj
;
24195 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24196 wxDataFormat
*arg2
= 0 ;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24201 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24207 if (arg2
== NULL
) {
24208 PyErr_SetString(PyExc_TypeError
,"null reference");
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24215 wxPyEndAllowThreads(__tstate
);
24216 if (PyErr_Occurred()) SWIG_fail
;
24219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24227 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24232 argc
= PyObject_Length(args
);
24233 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24234 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24240 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24250 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24258 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24266 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24274 _v
= SWIG_CheckInt(argv
[1]);
24276 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24281 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24286 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24290 PyObject
* obj0
= 0 ;
24291 PyObject
* obj1
= 0 ;
24292 char *kwnames
[] = {
24293 (char *) "self",(char *) "format", NULL
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24303 (arg1
)->SetType((wxDataFormatId
)arg2
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 Py_INCREF(Py_None
); resultobj
= Py_None
;
24315 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24316 PyObject
*resultobj
;
24317 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24319 PyObject
* obj0
= 0 ;
24320 char *kwnames
[] = {
24321 (char *) "self", NULL
24324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24329 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24331 wxPyEndAllowThreads(__tstate
);
24332 if (PyErr_Occurred()) SWIG_fail
;
24334 resultobj
= SWIG_FromInt((int)result
);
24341 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24342 PyObject
*resultobj
;
24343 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24345 PyObject
* obj0
= 0 ;
24346 char *kwnames
[] = {
24347 (char *) "self", NULL
24350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24355 result
= ((wxDataFormat
const *)arg1
)->GetId();
24357 wxPyEndAllowThreads(__tstate
);
24358 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24373 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
;
24375 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24376 wxString
*arg2
= 0 ;
24377 bool temp2
= False
;
24378 PyObject
* obj0
= 0 ;
24379 PyObject
* obj1
= 0 ;
24380 char *kwnames
[] = {
24381 (char *) "self",(char *) "format", NULL
24384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 arg2
= wxString_in_helper(obj1
);
24389 if (arg2
== NULL
) SWIG_fail
;
24393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24394 (arg1
)->SetId((wxString
const &)*arg2
);
24396 wxPyEndAllowThreads(__tstate
);
24397 if (PyErr_Occurred()) SWIG_fail
;
24399 Py_INCREF(Py_None
); resultobj
= Py_None
;
24414 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24416 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24417 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24419 return Py_BuildValue((char *)"");
24421 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24422 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24427 static PyObject
*_wrap_FormatInvalid_get() {
24430 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24435 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24436 PyObject
*resultobj
;
24437 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24438 PyObject
* obj0
= 0 ;
24439 char *kwnames
[] = {
24440 (char *) "self", NULL
24443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24453 Py_INCREF(Py_None
); resultobj
= Py_None
;
24460 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24461 PyObject
*resultobj
;
24462 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24463 int arg2
= (int) wxDataObject::Get
;
24464 SwigValueWrapper
< wxDataFormat
> result
;
24465 PyObject
* obj0
= 0 ;
24466 PyObject
* obj1
= 0 ;
24467 char *kwnames
[] = {
24468 (char *) "self",(char *) "dir", NULL
24471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24480 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24482 wxPyEndAllowThreads(__tstate
);
24483 if (PyErr_Occurred()) SWIG_fail
;
24486 wxDataFormat
* resultptr
;
24487 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24496 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24497 PyObject
*resultobj
;
24498 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24499 int arg2
= (int) wxDataObject::Get
;
24501 PyObject
* obj0
= 0 ;
24502 PyObject
* obj1
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "self",(char *) "dir", NULL
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24511 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24516 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24528 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
;
24530 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24531 wxDataFormat
*arg2
= 0 ;
24532 int arg3
= (int) wxDataObject::Get
;
24534 PyObject
* obj0
= 0 ;
24535 PyObject
* obj1
= 0 ;
24536 PyObject
* obj2
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self",(char *) "format",(char *) "dir", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24547 if (arg2
== NULL
) {
24548 PyErr_SetString(PyExc_TypeError
,"null reference");
24552 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24553 if (PyErr_Occurred()) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24571 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24572 PyObject
*resultobj
;
24573 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24574 wxDataFormat
*arg2
= 0 ;
24576 PyObject
* obj0
= 0 ;
24577 PyObject
* obj1
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self",(char *) "format", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24588 if (arg2
== NULL
) {
24589 PyErr_SetString(PyExc_TypeError
,"null reference");
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24606 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24607 PyObject
*resultobj
;
24608 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24609 int arg2
= (int) wxDataObject::Get
;
24611 PyObject
* obj0
= 0 ;
24612 PyObject
* obj1
= 0 ;
24613 char *kwnames
[] = {
24614 (char *) "self",(char *) "dir", NULL
24617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24621 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24628 wxPyEndAllowThreads(__tstate
);
24629 if (PyErr_Occurred()) SWIG_fail
;
24631 resultobj
= result
;
24638 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24639 PyObject
*resultobj
;
24640 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24641 wxDataFormat
*arg2
= 0 ;
24643 PyObject
* obj0
= 0 ;
24644 PyObject
* obj1
= 0 ;
24645 char *kwnames
[] = {
24646 (char *) "self",(char *) "format", NULL
24649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24653 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24655 if (arg2
== NULL
) {
24656 PyErr_SetString(PyExc_TypeError
,"null reference");
24660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24661 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24663 wxPyEndAllowThreads(__tstate
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24666 resultobj
= result
;
24673 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24674 PyObject
*resultobj
;
24675 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24676 wxDataFormat
*arg2
= 0 ;
24677 PyObject
*arg3
= (PyObject
*) 0 ;
24679 PyObject
* obj0
= 0 ;
24680 PyObject
* obj1
= 0 ;
24681 PyObject
* obj2
= 0 ;
24682 char *kwnames
[] = {
24683 (char *) "self",(char *) "format",(char *) "data", NULL
24686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24689 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24690 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24692 if (arg2
== NULL
) {
24693 PyErr_SetString(PyExc_TypeError
,"null reference");
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24713 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24716 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24718 return Py_BuildValue((char *)"");
24720 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24723 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24724 wxDataObjectSimple
*result
;
24725 PyObject
* obj0
= 0 ;
24726 char *kwnames
[] = {
24727 (char *) "format", NULL
24730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24733 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24735 if (arg1
== NULL
) {
24736 PyErr_SetString(PyExc_TypeError
,"null reference");
24741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24742 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24744 wxPyEndAllowThreads(__tstate
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24754 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24755 PyObject
*resultobj
;
24756 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24757 wxDataFormat
*result
;
24758 PyObject
* obj0
= 0 ;
24759 char *kwnames
[] = {
24760 (char *) "self", NULL
24763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24769 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24770 result
= (wxDataFormat
*) &_result_ref
;
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24783 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
;
24785 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24786 wxDataFormat
*arg2
= 0 ;
24787 PyObject
* obj0
= 0 ;
24788 PyObject
* obj1
= 0 ;
24789 char *kwnames
[] = {
24790 (char *) "self",(char *) "format", NULL
24793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24799 if (arg2
== NULL
) {
24800 PyErr_SetString(PyExc_TypeError
,"null reference");
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 Py_INCREF(Py_None
); resultobj
= Py_None
;
24817 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24843 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24844 PyObject
*resultobj
;
24845 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24847 PyObject
* obj0
= 0 ;
24848 char *kwnames
[] = {
24849 (char *) "self", NULL
24852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24857 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24859 wxPyEndAllowThreads(__tstate
);
24860 if (PyErr_Occurred()) SWIG_fail
;
24862 resultobj
= result
;
24869 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24870 PyObject
*resultobj
;
24871 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24872 PyObject
*arg2
= (PyObject
*) 0 ;
24874 PyObject
* obj0
= 0 ;
24875 PyObject
* obj1
= 0 ;
24876 char *kwnames
[] = {
24877 (char *) "self",(char *) "data", NULL
24880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24886 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24888 wxPyEndAllowThreads(__tstate
);
24889 if (PyErr_Occurred()) SWIG_fail
;
24892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24900 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24902 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24903 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24905 return Py_BuildValue((char *)"");
24907 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24908 PyObject
*resultobj
;
24909 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24910 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24911 wxPyDataObjectSimple
*result
;
24912 PyObject
* obj0
= 0 ;
24913 char *kwnames
[] = {
24914 (char *) "format", NULL
24917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24922 if (arg1
== NULL
) {
24923 PyErr_SetString(PyExc_TypeError
,"null reference");
24928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24929 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24931 wxPyEndAllowThreads(__tstate
);
24932 if (PyErr_Occurred()) SWIG_fail
;
24934 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24941 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24942 PyObject
*resultobj
;
24943 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24944 PyObject
*arg2
= (PyObject
*) 0 ;
24945 PyObject
*arg3
= (PyObject
*) 0 ;
24946 PyObject
* obj0
= 0 ;
24947 PyObject
* obj1
= 0 ;
24948 PyObject
* obj2
= 0 ;
24949 char *kwnames
[] = {
24950 (char *) "self",(char *) "self",(char *) "_class", NULL
24953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24960 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24962 wxPyEndAllowThreads(__tstate
);
24963 if (PyErr_Occurred()) SWIG_fail
;
24965 Py_INCREF(Py_None
); resultobj
= Py_None
;
24972 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24975 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24977 return Py_BuildValue((char *)"");
24979 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxDataObjectComposite
*result
;
24982 char *kwnames
[] = {
24986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
25001 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
;
25003 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
25004 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25005 bool arg3
= (bool) False
;
25006 PyObject
* obj0
= 0 ;
25007 PyObject
* obj1
= 0 ;
25008 PyObject
* obj2
= 0 ;
25009 char *kwnames
[] = {
25010 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25017 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25019 arg3
= (bool) SWIG_AsBool(obj2
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 (arg1
)->Add(arg2
,arg3
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 Py_INCREF(Py_None
); resultobj
= Py_None
;
25036 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
25038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25039 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25041 return Py_BuildValue((char *)"");
25043 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25046 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25047 wxTextDataObject
*result
;
25048 bool temp1
= False
;
25049 PyObject
* obj0
= 0 ;
25050 char *kwnames
[] = {
25051 (char *) "text", NULL
25054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25057 arg1
= wxString_in_helper(obj0
);
25058 if (arg1
== NULL
) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25084 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25085 PyObject
*resultobj
;
25086 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25088 PyObject
* obj0
= 0 ;
25089 char *kwnames
[] = {
25090 (char *) "self", NULL
25093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25098 result
= (size_t)(arg1
)->GetTextLength();
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25110 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
;
25112 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25114 PyObject
* obj0
= 0 ;
25115 char *kwnames
[] = {
25116 (char *) "self", NULL
25119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25124 result
= (arg1
)->GetText();
25126 wxPyEndAllowThreads(__tstate
);
25127 if (PyErr_Occurred()) SWIG_fail
;
25131 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25133 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25142 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25145 wxString
*arg2
= 0 ;
25146 bool temp2
= False
;
25147 PyObject
* obj0
= 0 ;
25148 PyObject
* obj1
= 0 ;
25149 char *kwnames
[] = {
25150 (char *) "self",(char *) "text", NULL
25153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25157 arg2
= wxString_in_helper(obj1
);
25158 if (arg2
== NULL
) SWIG_fail
;
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 (arg1
)->SetText((wxString
const &)*arg2
);
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25168 Py_INCREF(Py_None
); resultobj
= Py_None
;
25183 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25186 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25188 return Py_BuildValue((char *)"");
25190 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25191 PyObject
*resultobj
;
25192 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25193 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25194 wxPyTextDataObject
*result
;
25195 bool temp1
= False
;
25196 PyObject
* obj0
= 0 ;
25197 char *kwnames
[] = {
25198 (char *) "text", NULL
25201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25204 arg1
= wxString_in_helper(obj0
);
25205 if (arg1
== NULL
) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25231 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25232 PyObject
*resultobj
;
25233 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25234 PyObject
*arg2
= (PyObject
*) 0 ;
25235 PyObject
*arg3
= (PyObject
*) 0 ;
25236 PyObject
* obj0
= 0 ;
25237 PyObject
* obj1
= 0 ;
25238 PyObject
* obj2
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self",(char *) "self",(char *) "_class", NULL
25243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25252 wxPyEndAllowThreads(__tstate
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25255 Py_INCREF(Py_None
); resultobj
= Py_None
;
25262 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25264 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25265 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25267 return Py_BuildValue((char *)"");
25269 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
;
25271 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25272 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25273 wxBitmapDataObject
*result
;
25274 PyObject
* obj0
= 0 ;
25275 char *kwnames
[] = {
25276 (char *) "bitmap", NULL
25279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25282 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25284 if (arg1
== NULL
) {
25285 PyErr_SetString(PyExc_TypeError
,"null reference");
25290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25291 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25293 wxPyEndAllowThreads(__tstate
);
25294 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25303 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25304 PyObject
*resultobj
;
25305 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25307 PyObject
* obj0
= 0 ;
25308 char *kwnames
[] = {
25309 (char *) "self", NULL
25312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25317 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25323 wxBitmap
* resultptr
;
25324 resultptr
= new wxBitmap((wxBitmap
&) result
);
25325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25333 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25334 PyObject
*resultobj
;
25335 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25336 wxBitmap
*arg2
= 0 ;
25337 PyObject
* obj0
= 0 ;
25338 PyObject
* obj1
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self",(char *) "bitmap", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25349 if (arg2
== NULL
) {
25350 PyErr_SetString(PyExc_TypeError
,"null reference");
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25360 Py_INCREF(Py_None
); resultobj
= Py_None
;
25367 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25370 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25372 return Py_BuildValue((char *)"");
25374 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25375 PyObject
*resultobj
;
25376 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25377 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25378 wxPyBitmapDataObject
*result
;
25379 PyObject
* obj0
= 0 ;
25380 char *kwnames
[] = {
25381 (char *) "bitmap", NULL
25384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25387 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25389 if (arg1
== NULL
) {
25390 PyErr_SetString(PyExc_TypeError
,"null reference");
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25408 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
;
25410 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25411 PyObject
*arg2
= (PyObject
*) 0 ;
25412 PyObject
*arg3
= (PyObject
*) 0 ;
25413 PyObject
* obj0
= 0 ;
25414 PyObject
* obj1
= 0 ;
25415 PyObject
* obj2
= 0 ;
25416 char *kwnames
[] = {
25417 (char *) "self",(char *) "self",(char *) "_class", NULL
25420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 Py_INCREF(Py_None
); resultobj
= Py_None
;
25439 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25442 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25444 return Py_BuildValue((char *)"");
25446 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
;
25448 wxFileDataObject
*result
;
25449 char *kwnames
[] = {
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= (wxFileDataObject
*)new wxFileDataObject();
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25468 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25471 wxArrayString
*result
;
25472 PyObject
* obj0
= 0 ;
25473 char *kwnames
[] = {
25474 (char *) "self", NULL
25477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25484 result
= (wxArrayString
*) &_result_ref
;
25487 wxPyEndAllowThreads(__tstate
);
25488 if (PyErr_Occurred()) SWIG_fail
;
25491 resultobj
= wxArrayString2PyList_helper(*result
);
25499 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25500 PyObject
*resultobj
;
25501 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25502 wxString
*arg2
= 0 ;
25503 bool temp2
= False
;
25504 PyObject
* obj0
= 0 ;
25505 PyObject
* obj1
= 0 ;
25506 char *kwnames
[] = {
25507 (char *) "self",(char *) "filename", NULL
25510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25514 arg2
= wxString_in_helper(obj1
);
25515 if (arg2
== NULL
) SWIG_fail
;
25519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25520 (arg1
)->AddFile((wxString
const &)*arg2
);
25522 wxPyEndAllowThreads(__tstate
);
25523 if (PyErr_Occurred()) SWIG_fail
;
25525 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25543 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25545 return Py_BuildValue((char *)"");
25547 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25550 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25551 wxCustomDataObject
*result
;
25552 PyObject
* obj0
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "format", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25560 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25562 if (arg1
== NULL
) {
25563 PyErr_SetString(PyExc_TypeError
,"null reference");
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25571 wxPyEndAllowThreads(__tstate
);
25572 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25581 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
;
25583 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25584 PyObject
*arg2
= (PyObject
*) 0 ;
25586 PyObject
* obj0
= 0 ;
25587 PyObject
* obj1
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self",(char *) "data", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25598 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25600 wxPyEndAllowThreads(__tstate
);
25601 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25612 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25613 PyObject
*resultobj
;
25614 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25616 PyObject
* obj0
= 0 ;
25617 char *kwnames
[] = {
25618 (char *) "self", NULL
25621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25626 result
= (size_t)(arg1
)->GetSize();
25628 wxPyEndAllowThreads(__tstate
);
25629 if (PyErr_Occurred()) SWIG_fail
;
25631 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25638 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25642 PyObject
* obj0
= 0 ;
25643 char *kwnames
[] = {
25644 (char *) "self", NULL
25647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25652 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= result
;
25664 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25666 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25667 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25669 return Py_BuildValue((char *)"");
25671 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxURLDataObject
*result
;
25674 char *kwnames
[] = {
25678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 result
= (wxURLDataObject
*)new wxURLDataObject();
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25693 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25694 PyObject
*resultobj
;
25695 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25697 PyObject
* obj0
= 0 ;
25698 char *kwnames
[] = {
25699 (char *) "self", NULL
25702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25707 result
= (arg1
)->GetURL();
25709 wxPyEndAllowThreads(__tstate
);
25710 if (PyErr_Occurred()) SWIG_fail
;
25714 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25716 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25725 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25726 PyObject
*resultobj
;
25727 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25728 wxString
*arg2
= 0 ;
25729 bool temp2
= False
;
25730 PyObject
* obj0
= 0 ;
25731 PyObject
* obj1
= 0 ;
25732 char *kwnames
[] = {
25733 (char *) "self",(char *) "url", NULL
25736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25740 arg2
= wxString_in_helper(obj1
);
25741 if (arg2
== NULL
) SWIG_fail
;
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 (arg1
)->SetURL((wxString
const &)*arg2
);
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 Py_INCREF(Py_None
); resultobj
= Py_None
;
25766 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25769 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25771 return Py_BuildValue((char *)"");
25773 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxMetafileDataObject
*result
;
25776 char *kwnames
[] = {
25780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25783 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25785 wxPyEndAllowThreads(__tstate
);
25786 if (PyErr_Occurred()) SWIG_fail
;
25788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25795 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25796 PyObject
*resultobj
;
25797 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25798 wxMetafile
*arg2
= 0 ;
25799 PyObject
* obj0
= 0 ;
25800 PyObject
* obj1
= 0 ;
25801 char *kwnames
[] = {
25802 (char *) "self",(char *) "metafile", NULL
25805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25809 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25811 if (arg2
== NULL
) {
25812 PyErr_SetString(PyExc_TypeError
,"null reference");
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25817 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25819 wxPyEndAllowThreads(__tstate
);
25820 if (PyErr_Occurred()) SWIG_fail
;
25822 Py_INCREF(Py_None
); resultobj
= Py_None
;
25829 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25830 PyObject
*resultobj
;
25831 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25833 PyObject
* obj0
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25849 wxMetafile
* resultptr
;
25850 resultptr
= new wxMetafile((wxMetafile
&) result
);
25851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25859 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25862 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25864 return Py_BuildValue((char *)"");
25866 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25867 PyObject
*resultobj
;
25870 PyObject
* obj0
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "res", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25876 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25882 wxPyEndAllowThreads(__tstate
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25894 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxWindow
*arg1
= (wxWindow
*) 0 ;
25897 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25898 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25899 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25900 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25901 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25902 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25903 wxPyDropSource
*result
;
25904 PyObject
* obj0
= 0 ;
25905 PyObject
* obj1
= 0 ;
25906 PyObject
* obj2
= 0 ;
25907 PyObject
* obj3
= 0 ;
25908 char *kwnames
[] = {
25909 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25917 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25919 if (arg2
== NULL
) {
25920 PyErr_SetString(PyExc_TypeError
,"null reference");
25925 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25926 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25928 if (arg3
== NULL
) {
25929 PyErr_SetString(PyExc_TypeError
,"null reference");
25934 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25935 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25937 if (arg4
== NULL
) {
25938 PyErr_SetString(PyExc_TypeError
,"null reference");
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25946 wxPyEndAllowThreads(__tstate
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25956 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25957 PyObject
*resultobj
;
25958 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25959 PyObject
*arg2
= (PyObject
*) 0 ;
25960 PyObject
*arg3
= (PyObject
*) 0 ;
25962 PyObject
* obj0
= 0 ;
25963 PyObject
* obj1
= 0 ;
25964 PyObject
* obj2
= 0 ;
25965 PyObject
* obj3
= 0 ;
25966 char *kwnames
[] = {
25967 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25975 arg4
= (int) SWIG_AsInt(obj3
);
25976 if (PyErr_Occurred()) SWIG_fail
;
25978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25979 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25981 wxPyEndAllowThreads(__tstate
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25984 Py_INCREF(Py_None
); resultobj
= Py_None
;
25991 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25992 PyObject
*resultobj
;
25993 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25994 PyObject
* obj0
= 0 ;
25995 char *kwnames
[] = {
25996 (char *) "self", NULL
25999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
26000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 wxPyEndAllowThreads(__tstate
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 Py_INCREF(Py_None
); resultobj
= Py_None
;
26016 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26017 PyObject
*resultobj
;
26018 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26019 wxDataObject
*arg2
= 0 ;
26020 PyObject
* obj0
= 0 ;
26021 PyObject
* obj1
= 0 ;
26022 char *kwnames
[] = {
26023 (char *) "self",(char *) "data", NULL
26026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26032 if (arg2
== NULL
) {
26033 PyErr_SetString(PyExc_TypeError
,"null reference");
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 (arg1
)->SetData(*arg2
);
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 Py_INCREF(Py_None
); resultobj
= Py_None
;
26050 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
;
26052 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26053 wxDataObject
*result
;
26054 PyObject
* obj0
= 0 ;
26055 char *kwnames
[] = {
26056 (char *) "self", NULL
26059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26076 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
;
26078 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26080 wxCursor
*arg3
= 0 ;
26081 PyObject
* obj0
= 0 ;
26082 PyObject
* obj1
= 0 ;
26083 PyObject
* obj2
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self",(char *) "res",(char *) "cursor", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26091 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26093 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26096 if (arg3
== NULL
) {
26097 PyErr_SetString(PyExc_TypeError
,"null reference");
26101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26102 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26107 Py_INCREF(Py_None
); resultobj
= Py_None
;
26114 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26115 PyObject
*resultobj
;
26116 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26117 int arg2
= (int) wxDrag_CopyOnly
;
26119 PyObject
* obj0
= 0 ;
26120 PyObject
* obj1
= 0 ;
26121 char *kwnames
[] = {
26122 (char *) "self",(char *) "flags", NULL
26125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26129 arg2
= (int) SWIG_AsInt(obj1
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 result
= (int)(arg1
)->DoDragDrop(arg2
);
26136 wxPyEndAllowThreads(__tstate
);
26137 if (PyErr_Occurred()) SWIG_fail
;
26139 resultobj
= SWIG_FromInt((int)result
);
26146 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26147 PyObject
*resultobj
;
26148 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 char *kwnames
[] = {
26154 (char *) "self",(char *) "effect", NULL
26157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26160 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26178 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26181 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26183 return Py_BuildValue((char *)"");
26185 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26186 PyObject
*resultobj
;
26187 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26188 wxPyDropTarget
*result
;
26189 PyObject
* obj0
= 0 ;
26190 char *kwnames
[] = {
26191 (char *) "dataObject", NULL
26194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26197 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26213 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26214 PyObject
*resultobj
;
26215 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26216 PyObject
*arg2
= (PyObject
*) 0 ;
26217 PyObject
*arg3
= (PyObject
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 PyObject
* obj1
= 0 ;
26220 PyObject
* obj2
= 0 ;
26221 char *kwnames
[] = {
26222 (char *) "self",(char *) "self",(char *) "_class", NULL
26225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26237 Py_INCREF(Py_None
); resultobj
= Py_None
;
26244 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26247 PyObject
* obj0
= 0 ;
26248 char *kwnames
[] = {
26249 (char *) "self", NULL
26252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26262 Py_INCREF(Py_None
); resultobj
= Py_None
;
26269 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26270 PyObject
*resultobj
;
26271 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26272 wxDataObject
*result
;
26273 PyObject
* obj0
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self", NULL
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26295 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
;
26297 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26298 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26299 PyObject
* obj0
= 0 ;
26300 PyObject
* obj1
= 0 ;
26301 char *kwnames
[] = {
26302 (char *) "self",(char *) "dataObject", NULL
26305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26308 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26309 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 (arg1
)->SetDataObject(arg2
);
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 Py_INCREF(Py_None
); resultobj
= Py_None
;
26324 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26325 PyObject
*resultobj
;
26326 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26331 PyObject
* obj0
= 0 ;
26332 PyObject
* obj1
= 0 ;
26333 PyObject
* obj2
= 0 ;
26334 PyObject
* obj3
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26342 arg2
= (int) SWIG_AsInt(obj1
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26344 arg3
= (int) SWIG_AsInt(obj2
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26346 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= SWIG_FromInt((int)result
);
26362 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26363 PyObject
*resultobj
;
26364 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 PyObject
* obj2
= 0 ;
26372 PyObject
* obj3
= 0 ;
26373 char *kwnames
[] = {
26374 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26380 arg2
= (int) SWIG_AsInt(obj1
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26382 arg3
= (int) SWIG_AsInt(obj2
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26384 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 resultobj
= SWIG_FromInt((int)result
);
26400 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
;
26402 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26403 PyObject
* obj0
= 0 ;
26404 char *kwnames
[] = {
26405 (char *) "self", NULL
26408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 (arg1
)->base_OnLeave();
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 Py_INCREF(Py_None
); resultobj
= Py_None
;
26425 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26431 PyObject
* obj0
= 0 ;
26432 PyObject
* obj1
= 0 ;
26433 PyObject
* obj2
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "self",(char *) "x",(char *) "y", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26441 arg2
= (int) SWIG_AsInt(obj1
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26443 arg3
= (int) SWIG_AsInt(obj2
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26461 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26465 PyObject
* obj0
= 0 ;
26466 char *kwnames
[] = {
26467 (char *) "self", NULL
26470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26475 result
= (bool)(arg1
)->GetData();
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26489 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26492 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26494 return Py_BuildValue((char *)"");
26496 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
;
26498 wxPyTextDropTarget
*result
;
26499 char *kwnames
[] = {
26503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26508 wxPyEndAllowThreads(__tstate
);
26509 if (PyErr_Occurred()) SWIG_fail
;
26511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26518 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26519 PyObject
*resultobj
;
26520 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26521 PyObject
*arg2
= (PyObject
*) 0 ;
26522 PyObject
*arg3
= (PyObject
*) 0 ;
26523 PyObject
* obj0
= 0 ;
26524 PyObject
* obj1
= 0 ;
26525 PyObject
* obj2
= 0 ;
26526 char *kwnames
[] = {
26527 (char *) "self",(char *) "self",(char *) "_class", NULL
26530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26537 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26539 wxPyEndAllowThreads(__tstate
);
26540 if (PyErr_Occurred()) SWIG_fail
;
26542 Py_INCREF(Py_None
); resultobj
= Py_None
;
26549 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26550 PyObject
*resultobj
;
26551 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26556 PyObject
* obj0
= 0 ;
26557 PyObject
* obj1
= 0 ;
26558 PyObject
* obj2
= 0 ;
26559 PyObject
* obj3
= 0 ;
26560 char *kwnames
[] = {
26561 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26567 arg2
= (int) SWIG_AsInt(obj1
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26569 arg3
= (int) SWIG_AsInt(obj2
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26571 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26572 if (PyErr_Occurred()) SWIG_fail
;
26574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26575 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26577 wxPyEndAllowThreads(__tstate
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26580 resultobj
= SWIG_FromInt((int)result
);
26587 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26588 PyObject
*resultobj
;
26589 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26594 PyObject
* obj0
= 0 ;
26595 PyObject
* obj1
= 0 ;
26596 PyObject
* obj2
= 0 ;
26597 PyObject
* obj3
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26605 arg2
= (int) SWIG_AsInt(obj1
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26607 arg3
= (int) SWIG_AsInt(obj2
);
26608 if (PyErr_Occurred()) SWIG_fail
;
26609 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 resultobj
= SWIG_FromInt((int)result
);
26625 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
;
26627 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26628 PyObject
* obj0
= 0 ;
26629 char *kwnames
[] = {
26630 (char *) "self", NULL
26633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26638 (arg1
)->base_OnLeave();
26640 wxPyEndAllowThreads(__tstate
);
26641 if (PyErr_Occurred()) SWIG_fail
;
26643 Py_INCREF(Py_None
); resultobj
= Py_None
;
26650 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26651 PyObject
*resultobj
;
26652 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26656 PyObject
* obj0
= 0 ;
26657 PyObject
* obj1
= 0 ;
26658 PyObject
* obj2
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self",(char *) "x",(char *) "y", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26666 arg2
= (int) SWIG_AsInt(obj1
);
26667 if (PyErr_Occurred()) SWIG_fail
;
26668 arg3
= (int) SWIG_AsInt(obj2
);
26669 if (PyErr_Occurred()) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26672 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26686 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26687 PyObject
*resultobj
;
26688 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 PyObject
* obj2
= 0 ;
26696 PyObject
* obj3
= 0 ;
26697 char *kwnames
[] = {
26698 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26704 arg2
= (int) SWIG_AsInt(obj1
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26706 arg3
= (int) SWIG_AsInt(obj2
);
26707 if (PyErr_Occurred()) SWIG_fail
;
26708 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26712 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26714 wxPyEndAllowThreads(__tstate
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= SWIG_FromInt((int)result
);
26724 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26726 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26727 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26729 return Py_BuildValue((char *)"");
26731 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
;
26733 wxPyFileDropTarget
*result
;
26734 char *kwnames
[] = {
26738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26746 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26753 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26756 PyObject
*arg2
= (PyObject
*) 0 ;
26757 PyObject
*arg3
= (PyObject
*) 0 ;
26758 PyObject
* obj0
= 0 ;
26759 PyObject
* obj1
= 0 ;
26760 PyObject
* obj2
= 0 ;
26761 char *kwnames
[] = {
26762 (char *) "self",(char *) "self",(char *) "_class", NULL
26765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26777 Py_INCREF(Py_None
); resultobj
= Py_None
;
26784 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
;
26786 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26791 PyObject
* obj0
= 0 ;
26792 PyObject
* obj1
= 0 ;
26793 PyObject
* obj2
= 0 ;
26794 PyObject
* obj3
= 0 ;
26795 char *kwnames
[] = {
26796 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26802 arg2
= (int) SWIG_AsInt(obj1
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26804 arg3
= (int) SWIG_AsInt(obj2
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26806 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26807 if (PyErr_Occurred()) SWIG_fail
;
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26815 resultobj
= SWIG_FromInt((int)result
);
26822 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26823 PyObject
*resultobj
;
26824 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 PyObject
* obj2
= 0 ;
26832 PyObject
* obj3
= 0 ;
26833 char *kwnames
[] = {
26834 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26840 arg2
= (int) SWIG_AsInt(obj1
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26842 arg3
= (int) SWIG_AsInt(obj2
);
26843 if (PyErr_Occurred()) SWIG_fail
;
26844 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26853 resultobj
= SWIG_FromInt((int)result
);
26860 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26861 PyObject
*resultobj
;
26862 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26863 PyObject
* obj0
= 0 ;
26864 char *kwnames
[] = {
26865 (char *) "self", NULL
26868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 (arg1
)->base_OnLeave();
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26878 Py_INCREF(Py_None
); resultobj
= Py_None
;
26885 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
;
26887 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26891 PyObject
* obj0
= 0 ;
26892 PyObject
* obj1
= 0 ;
26893 PyObject
* obj2
= 0 ;
26894 char *kwnames
[] = {
26895 (char *) "self",(char *) "x",(char *) "y", NULL
26898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26901 arg2
= (int) SWIG_AsInt(obj1
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26903 arg3
= (int) SWIG_AsInt(obj2
);
26904 if (PyErr_Occurred()) SWIG_fail
;
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26907 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26909 wxPyEndAllowThreads(__tstate
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26921 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26922 PyObject
*resultobj
;
26923 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26928 PyObject
* obj0
= 0 ;
26929 PyObject
* obj1
= 0 ;
26930 PyObject
* obj2
= 0 ;
26931 PyObject
* obj3
= 0 ;
26932 char *kwnames
[] = {
26933 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26939 arg2
= (int) SWIG_AsInt(obj1
);
26940 if (PyErr_Occurred()) SWIG_fail
;
26941 arg3
= (int) SWIG_AsInt(obj2
);
26942 if (PyErr_Occurred()) SWIG_fail
;
26943 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26947 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26949 wxPyEndAllowThreads(__tstate
);
26950 if (PyErr_Occurred()) SWIG_fail
;
26952 resultobj
= SWIG_FromInt((int)result
);
26959 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26961 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26962 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26964 return Py_BuildValue((char *)"");
26966 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26967 PyObject
*resultobj
;
26968 wxClipboard
*result
;
26969 char *kwnames
[] = {
26973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26976 result
= (wxClipboard
*)new wxClipboard();
26978 wxPyEndAllowThreads(__tstate
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26988 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26989 PyObject
*resultobj
;
26990 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26991 PyObject
* obj0
= 0 ;
26992 char *kwnames
[] = {
26993 (char *) "self", NULL
26996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27003 wxPyEndAllowThreads(__tstate
);
27004 if (PyErr_Occurred()) SWIG_fail
;
27006 Py_INCREF(Py_None
); resultobj
= Py_None
;
27013 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27014 PyObject
*resultobj
;
27015 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27017 PyObject
* obj0
= 0 ;
27018 char *kwnames
[] = {
27019 (char *) "self", NULL
27022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27027 result
= (bool)(arg1
)->Open();
27029 wxPyEndAllowThreads(__tstate
);
27030 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27041 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
;
27043 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27044 PyObject
* obj0
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27059 Py_INCREF(Py_None
); resultobj
= Py_None
;
27066 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
;
27068 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27070 PyObject
* obj0
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27094 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27097 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27099 PyObject
* obj0
= 0 ;
27100 PyObject
* obj1
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self",(char *) "data", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27108 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27109 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27112 result
= (bool)(arg1
)->AddData(arg2
);
27114 wxPyEndAllowThreads(__tstate
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27126 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27127 PyObject
*resultobj
;
27128 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27129 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27131 PyObject
* obj0
= 0 ;
27132 PyObject
* obj1
= 0 ;
27133 char *kwnames
[] = {
27134 (char *) "self",(char *) "data", NULL
27137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27141 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 result
= (bool)(arg1
)->SetData(arg2
);
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27158 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
;
27160 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27161 wxDataFormat
*arg2
= 0 ;
27163 PyObject
* obj0
= 0 ;
27164 PyObject
* obj1
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self",(char *) "format", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27172 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27173 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27175 if (arg2
== NULL
) {
27176 PyErr_SetString(PyExc_TypeError
,"null reference");
27180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27181 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27183 wxPyEndAllowThreads(__tstate
);
27184 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27195 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27196 PyObject
*resultobj
;
27197 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27198 wxDataObject
*arg2
= 0 ;
27200 PyObject
* obj0
= 0 ;
27201 PyObject
* obj1
= 0 ;
27202 char *kwnames
[] = {
27203 (char *) "self",(char *) "data", NULL
27206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27212 if (arg2
== NULL
) {
27213 PyErr_SetString(PyExc_TypeError
,"null reference");
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (bool)(arg1
)->GetData(*arg2
);
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27224 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27232 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
;
27234 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27235 PyObject
* obj0
= 0 ;
27236 char *kwnames
[] = {
27237 (char *) "self", NULL
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 wxPyEndAllowThreads(__tstate
);
27248 if (PyErr_Occurred()) SWIG_fail
;
27250 Py_INCREF(Py_None
); resultobj
= Py_None
;
27257 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27258 PyObject
*resultobj
;
27259 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27261 PyObject
* obj0
= 0 ;
27262 char *kwnames
[] = {
27263 (char *) "self", NULL
27266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 result
= (bool)(arg1
)->Flush();
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27285 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27288 bool arg2
= (bool) True
;
27289 PyObject
* obj0
= 0 ;
27290 PyObject
* obj1
= 0 ;
27291 char *kwnames
[] = {
27292 (char *) "self",(char *) "primary", NULL
27295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27299 arg2
= (bool) SWIG_AsBool(obj1
);
27300 if (PyErr_Occurred()) SWIG_fail
;
27303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27304 (arg1
)->UsePrimarySelection(arg2
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 Py_INCREF(Py_None
); resultobj
= Py_None
;
27316 static PyObject
*_wrap_Clipboard_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxClipboard
*result
;
27319 char *kwnames
[] = {
27323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 result
= (wxClipboard
*)wxClipboard::Get();
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27338 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27341 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27343 return Py_BuildValue((char *)"");
27345 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
;
27347 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27348 wxClipboardLocker
*result
;
27349 PyObject
* obj0
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "clipboard", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27361 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27363 wxPyEndAllowThreads(__tstate
);
27364 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27373 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
;
27375 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27376 PyObject
* obj0
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27391 Py_INCREF(Py_None
); resultobj
= Py_None
;
27398 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
;
27400 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27402 PyObject
* obj0
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27426 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27429 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27431 return Py_BuildValue((char *)"");
27433 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27434 PyObject
*resultobj
;
27435 int arg1
= (int) 0 ;
27436 int arg2
= (int) 0 ;
27437 int arg3
= (int) 0 ;
27438 int arg4
= (int) 0 ;
27439 wxVideoMode
*result
;
27440 PyObject
* obj0
= 0 ;
27441 PyObject
* obj1
= 0 ;
27442 PyObject
* obj2
= 0 ;
27443 PyObject
* obj3
= 0 ;
27444 char *kwnames
[] = {
27445 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27450 arg1
= (int) SWIG_AsInt(obj0
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27454 arg2
= (int) SWIG_AsInt(obj1
);
27455 if (PyErr_Occurred()) SWIG_fail
;
27458 arg3
= (int) SWIG_AsInt(obj2
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27462 arg4
= (int) SWIG_AsInt(obj3
);
27463 if (PyErr_Occurred()) SWIG_fail
;
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27479 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27480 PyObject
*resultobj
;
27481 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27482 PyObject
* obj0
= 0 ;
27483 char *kwnames
[] = {
27484 (char *) "self", NULL
27487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27494 wxPyEndAllowThreads(__tstate
);
27495 if (PyErr_Occurred()) SWIG_fail
;
27497 Py_INCREF(Py_None
); resultobj
= Py_None
;
27504 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
;
27506 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27507 wxVideoMode
*arg2
= 0 ;
27509 PyObject
* obj0
= 0 ;
27510 PyObject
* obj1
= 0 ;
27511 char *kwnames
[] = {
27512 (char *) "self",(char *) "other", NULL
27515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27519 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27521 if (arg2
== NULL
) {
27522 PyErr_SetString(PyExc_TypeError
,"null reference");
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27541 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27545 PyObject
* obj0
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27555 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27557 wxPyEndAllowThreads(__tstate
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 resultobj
= SWIG_FromInt((int)result
);
27567 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27568 PyObject
*resultobj
;
27569 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27571 PyObject
* obj0
= 0 ;
27572 char *kwnames
[] = {
27573 (char *) "self", NULL
27576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= SWIG_FromInt((int)result
);
27593 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 char *kwnames
[] = {
27599 (char *) "self", NULL
27602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27607 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27609 wxPyEndAllowThreads(__tstate
);
27610 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= SWIG_FromInt((int)result
);
27619 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
;
27621 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27623 PyObject
* obj0
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27647 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27650 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27652 PyObject
* obj0
= 0 ;
27653 PyObject
* obj1
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self",(char *) "other", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27665 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27679 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
;
27681 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27682 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27684 PyObject
* obj0
= 0 ;
27685 PyObject
* obj1
= 0 ;
27686 char *kwnames
[] = {
27687 (char *) "self",(char *) "other", NULL
27690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27711 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27712 PyObject
*resultobj
;
27713 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27715 PyObject
* obj0
= 0 ;
27716 PyObject
* obj1
= 0 ;
27717 char *kwnames
[] = {
27718 (char *) "self",(char *) "w", NULL
27721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27724 arg2
= (int) SWIG_AsInt(obj1
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27726 if (arg1
) (arg1
)->w
= arg2
;
27728 Py_INCREF(Py_None
); resultobj
= Py_None
;
27735 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
;
27737 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 char *kwnames
[] = {
27741 (char *) "self", NULL
27744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27747 result
= (int) ((arg1
)->w
);
27749 resultobj
= SWIG_FromInt((int)result
);
27756 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27757 PyObject
*resultobj
;
27758 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27760 PyObject
* obj0
= 0 ;
27761 PyObject
* obj1
= 0 ;
27762 char *kwnames
[] = {
27763 (char *) "self",(char *) "h", NULL
27766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27769 arg2
= (int) SWIG_AsInt(obj1
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27771 if (arg1
) (arg1
)->h
= arg2
;
27773 Py_INCREF(Py_None
); resultobj
= Py_None
;
27780 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27781 PyObject
*resultobj
;
27782 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27784 PyObject
* obj0
= 0 ;
27785 char *kwnames
[] = {
27786 (char *) "self", NULL
27789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27792 result
= (int) ((arg1
)->h
);
27794 resultobj
= SWIG_FromInt((int)result
);
27801 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27802 PyObject
*resultobj
;
27803 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27805 PyObject
* obj0
= 0 ;
27806 PyObject
* obj1
= 0 ;
27807 char *kwnames
[] = {
27808 (char *) "self",(char *) "bpp", NULL
27811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27814 arg2
= (int) SWIG_AsInt(obj1
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27816 if (arg1
) (arg1
)->bpp
= arg2
;
27818 Py_INCREF(Py_None
); resultobj
= Py_None
;
27825 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27826 PyObject
*resultobj
;
27827 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27829 PyObject
* obj0
= 0 ;
27830 char *kwnames
[] = {
27831 (char *) "self", NULL
27834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27837 result
= (int) ((arg1
)->bpp
);
27839 resultobj
= SWIG_FromInt((int)result
);
27846 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27847 PyObject
*resultobj
;
27848 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 PyObject
* obj1
= 0 ;
27852 char *kwnames
[] = {
27853 (char *) "self",(char *) "refresh", NULL
27856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27859 arg2
= (int) SWIG_AsInt(obj1
);
27860 if (PyErr_Occurred()) SWIG_fail
;
27861 if (arg1
) (arg1
)->refresh
= arg2
;
27863 Py_INCREF(Py_None
); resultobj
= Py_None
;
27870 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
;
27872 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27874 PyObject
* obj0
= 0 ;
27875 char *kwnames
[] = {
27876 (char *) "self", NULL
27879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27882 result
= (int) ((arg1
)->refresh
);
27884 resultobj
= SWIG_FromInt((int)result
);
27891 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27894 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27896 return Py_BuildValue((char *)"");
27898 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27899 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27904 static PyObject
*_wrap_DefaultVideoMode_get() {
27907 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27912 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27913 PyObject
*resultobj
;
27914 size_t arg1
= (size_t) 0 ;
27916 PyObject
* obj0
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "index", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27923 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27928 result
= (wxDisplay
*)new wxDisplay(arg1
);
27930 wxPyEndAllowThreads(__tstate
);
27931 if (PyErr_Occurred()) SWIG_fail
;
27933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27940 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27941 PyObject
*resultobj
;
27942 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27943 PyObject
* obj0
= 0 ;
27944 char *kwnames
[] = {
27945 (char *) "self", NULL
27948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 Py_INCREF(Py_None
); resultobj
= Py_None
;
27965 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27968 char *kwnames
[] = {
27972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 result
= (size_t)wxDisplay::GetCount();
27977 wxPyEndAllowThreads(__tstate
);
27978 if (PyErr_Occurred()) SWIG_fail
;
27980 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27987 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27988 PyObject
*resultobj
;
27989 wxPoint
*arg1
= 0 ;
27992 PyObject
* obj0
= 0 ;
27993 char *kwnames
[] = {
27994 (char *) "pt", NULL
27997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
28000 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
28003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28004 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28009 resultobj
= SWIG_FromInt((int)result
);
28016 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28017 PyObject
*resultobj
;
28018 wxWindow
*arg1
= (wxWindow
*) 0 ;
28020 PyObject
* obj0
= 0 ;
28021 char *kwnames
[] = {
28022 (char *) "window", NULL
28025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 result
= (int)Display_GetFromWindow(arg1
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28035 resultobj
= SWIG_FromInt((int)result
);
28042 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28043 PyObject
*resultobj
;
28044 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28046 PyObject
* obj0
= 0 ;
28047 char *kwnames
[] = {
28048 (char *) "self", NULL
28051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28056 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28058 wxPyEndAllowThreads(__tstate
);
28059 if (PyErr_Occurred()) SWIG_fail
;
28062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28070 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28071 PyObject
*resultobj
;
28072 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28074 PyObject
* obj0
= 0 ;
28075 char *kwnames
[] = {
28076 (char *) "self", NULL
28079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28086 wxPyEndAllowThreads(__tstate
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28090 wxRect
* resultptr
;
28091 resultptr
= new wxRect((wxRect
&) result
);
28092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28100 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
;
28102 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28104 PyObject
* obj0
= 0 ;
28105 char *kwnames
[] = {
28106 (char *) "self", NULL
28109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28114 result
= ((wxDisplay
const *)arg1
)->GetName();
28116 wxPyEndAllowThreads(__tstate
);
28117 if (PyErr_Occurred()) SWIG_fail
;
28121 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28123 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28132 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
;
28134 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28136 PyObject
* obj0
= 0 ;
28137 char *kwnames
[] = {
28138 (char *) "self", NULL
28141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28160 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28161 PyObject
*resultobj
;
28162 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28163 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28164 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28166 PyObject
* obj0
= 0 ;
28167 PyObject
* obj1
= 0 ;
28168 char *kwnames
[] = {
28169 (char *) "self",(char *) "mode", NULL
28172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28177 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28179 if (arg2
== NULL
) {
28180 PyErr_SetString(PyExc_TypeError
,"null reference");
28185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28186 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28188 wxPyEndAllowThreads(__tstate
);
28189 if (PyErr_Occurred()) SWIG_fail
;
28191 resultobj
= result
;
28198 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28199 PyObject
*resultobj
;
28200 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28201 wxVideoMode result
;
28202 PyObject
* obj0
= 0 ;
28203 char *kwnames
[] = {
28204 (char *) "self", NULL
28207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28212 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28214 wxPyEndAllowThreads(__tstate
);
28215 if (PyErr_Occurred()) SWIG_fail
;
28218 wxVideoMode
* resultptr
;
28219 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28228 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28229 PyObject
*resultobj
;
28230 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28231 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28232 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28234 PyObject
* obj0
= 0 ;
28235 PyObject
* obj1
= 0 ;
28236 char *kwnames
[] = {
28237 (char *) "self",(char *) "mode", NULL
28240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28244 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28245 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28247 if (arg2
== NULL
) {
28248 PyErr_SetString(PyExc_TypeError
,"null reference");
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28268 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28269 PyObject
*resultobj
;
28270 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28271 PyObject
* obj0
= 0 ;
28272 char *kwnames
[] = {
28273 (char *) "self", NULL
28276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28281 (arg1
)->ResetMode();
28283 wxPyEndAllowThreads(__tstate
);
28284 if (PyErr_Occurred()) SWIG_fail
;
28286 Py_INCREF(Py_None
); resultobj
= Py_None
;
28293 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28296 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28298 return Py_BuildValue((char *)"");
28300 static PyMethodDef SwigMethods
[] = {
28301 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28308 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28315 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28376 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28384 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28400 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28403 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28405 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28406 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28408 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28411 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28417 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28431 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28437 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28443 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28446 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28460 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28463 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28464 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28467 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28494 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28496 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28498 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28500 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28507 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28513 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28526 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28531 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28534 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28551 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28559 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28605 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28633 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28643 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28659 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28675 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28689 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28698 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28741 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28744 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28747 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28751 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28843 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28844 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28845 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28846 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28847 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28848 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28849 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28850 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28851 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28852 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28858 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28863 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28903 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28908 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28937 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28940 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28942 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28945 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28946 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28948 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28950 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28951 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28952 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28953 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28954 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28956 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28960 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28965 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28967 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28970 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28972 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28973 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28975 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28978 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28981 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28983 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28985 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28986 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28988 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28989 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28990 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28991 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28992 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28993 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28994 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28996 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28997 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28998 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28999 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
29000 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29001 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
29002 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29003 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
29005 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
29006 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29007 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
29008 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
29009 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
29010 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
29011 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
29012 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29013 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
29014 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29015 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29016 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
29017 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
29018 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
29019 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
29020 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29021 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29022 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29023 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29024 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29025 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29026 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29027 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29028 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29029 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29030 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
29031 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29032 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29033 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29034 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29035 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29036 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29037 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29038 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
29039 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29040 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29041 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29042 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29043 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29044 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29045 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29046 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
29047 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29048 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29049 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
29050 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
29051 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
29052 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
29053 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29054 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
29055 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29056 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29057 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
29058 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
29059 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
},
29060 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
29061 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29062 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29063 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
29064 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
29065 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29066 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29067 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
29068 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29069 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
29070 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
29071 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29072 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29073 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29074 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
29075 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
29076 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
29077 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
29078 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
29079 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
29080 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
29081 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
29082 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
29083 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
29084 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
29085 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29086 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
29087 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29088 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29089 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
29090 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
29091 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
29092 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
29093 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
29094 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
29095 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
29096 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
29101 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29103 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29104 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29106 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29107 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29109 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29110 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29112 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29113 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29115 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29116 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29118 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29119 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29121 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29122 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29124 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29125 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29127 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29128 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29130 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29131 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29133 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29134 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29136 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29137 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29139 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29140 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29142 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29143 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29145 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29146 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29148 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29149 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29151 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29152 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29154 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29155 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29157 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29158 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29160 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29161 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29163 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29164 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29166 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29167 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29169 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29170 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29172 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29173 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29175 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29176 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29178 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29179 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29181 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29182 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29184 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29185 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29187 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29188 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29190 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29191 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29193 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29194 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29196 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29197 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29199 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29200 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29202 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29203 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29205 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29206 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29208 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29209 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29211 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29212 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29214 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29215 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29217 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29218 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29220 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29221 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29223 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29224 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29226 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29227 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29229 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29230 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29232 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29233 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29235 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29236 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29238 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29239 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29241 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29242 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29244 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29245 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29247 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29248 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29250 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29251 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29253 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29254 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29256 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29257 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29259 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29260 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29262 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29263 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29265 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29266 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29268 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29269 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29271 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29272 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29274 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29275 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29277 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29278 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29280 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29281 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29283 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29284 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29286 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29287 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29289 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29290 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29292 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29293 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29295 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29296 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29298 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29299 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29301 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29302 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29304 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29305 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29307 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29308 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29310 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29311 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29313 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29314 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29316 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29317 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29319 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29320 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29322 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29323 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29325 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29326 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29328 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29329 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29331 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29332 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29334 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29335 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29337 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29338 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29340 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29341 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29343 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29344 return (void *)((wxObject
*) ((wxSizer
*) x
));
29346 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29347 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29349 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29350 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29352 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29353 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29355 static void *_p_wxEventTo_p_wxObject(void *x
) {
29356 return (void *)((wxObject
*) ((wxEvent
*) x
));
29358 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29359 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29361 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29362 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29364 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29365 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29367 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29368 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29370 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29371 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29373 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29374 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29376 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29377 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29379 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29380 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29382 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29383 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29385 static void *_p_wxControlTo_p_wxObject(void *x
) {
29386 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29388 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29389 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29391 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29392 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29394 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29395 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29397 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29398 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29400 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29401 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29403 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29404 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29406 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29407 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29409 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29410 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29412 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29413 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29415 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29416 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29418 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29419 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29421 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29422 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29424 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29425 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29427 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29428 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29430 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29431 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29433 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29434 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29436 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29437 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29439 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29440 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29442 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29443 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29445 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29446 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29448 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29449 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29451 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29452 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29454 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29455 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29457 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29458 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29460 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29461 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29463 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29464 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29466 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29467 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29469 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29470 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29472 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29473 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29475 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29476 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29478 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29479 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29481 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29482 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29484 static void *_p_wxImageTo_p_wxObject(void *x
) {
29485 return (void *)((wxObject
*) ((wxImage
*) x
));
29487 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29488 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29490 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29491 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29493 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29494 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29496 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29497 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29499 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29500 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29502 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29503 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29505 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29506 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29508 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29509 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29511 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29512 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29514 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29515 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29517 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29518 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29520 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29521 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29523 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29524 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29526 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29527 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29529 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29530 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29532 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29533 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29535 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29536 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29538 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29539 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29541 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29542 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29544 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29545 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29547 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29548 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29550 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29551 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29553 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29554 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29556 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29557 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29559 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29562 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29563 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29565 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29566 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29568 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29569 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29571 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29572 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29574 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29575 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29577 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29578 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29580 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29581 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29583 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29584 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29586 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29587 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29589 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29590 return (void *)((wxWindow
*) ((wxControl
*) x
));
29592 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29593 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29595 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29596 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29598 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29599 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29601 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29602 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29604 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}};
29605 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}};
29606 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}};
29607 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}};
29608 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}};
29609 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}};
29610 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}};
29611 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}};
29612 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}};
29613 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}};
29614 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}};
29615 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}};
29616 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}};
29617 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}};
29618 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}};
29619 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}};
29620 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}};
29621 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}};
29622 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}};
29623 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}};
29624 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}};
29625 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}};
29626 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}};
29627 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}};
29628 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}};
29629 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}};
29630 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}};
29631 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}};
29632 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}};
29633 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}};
29634 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}};
29635 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}};
29636 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}};
29637 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}};
29638 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}};
29639 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}};
29640 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}};
29641 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}};
29642 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}};
29643 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}};
29644 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}};
29645 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}};
29646 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}};
29647 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}};
29648 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}};
29649 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}};
29650 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}};
29651 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}};
29652 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}};
29653 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}};
29654 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}};
29655 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}};
29656 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}};
29657 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}};
29658 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}};
29659 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}};
29660 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}};
29661 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}};
29662 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}};
29663 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}};
29664 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}};
29665 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}};
29666 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}};
29667 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}};
29668 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}};
29669 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}};
29670 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}};
29671 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}};
29672 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}};
29673 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}};
29674 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}};
29675 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}};
29676 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}};
29677 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}};
29678 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}};
29679 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}};
29680 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}};
29681 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}};
29682 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}};
29683 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}};
29684 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}};
29685 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}};
29686 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}};
29687 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}};
29688 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}};
29689 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}};
29691 static swig_type_info
*swig_types_initial
[] = {
29692 _swigt__p_wxLogChain
,
29693 _swigt__p_wxMutexGuiLocker
,
29694 _swigt__p_wxMetafile
,
29695 _swigt__p_wxFileHistory
,
29697 _swigt__p_wxDateTime__TimeZone
,
29700 _swigt__p_wxConfigBase
,
29701 _swigt__p_wxDisplay
,
29702 _swigt__p_wxFileType
,
29703 _swigt__p_wxLogGui
,
29705 _swigt__p_wxDataFormat
,
29706 _swigt__p_wxTimerEvent
,
29710 _swigt__p_wxClipboard
,
29711 _swigt__p_wxStopWatch
,
29713 _swigt__p_wxClipboardLocker
,
29715 _swigt__p_wxLogStderr
,
29716 _swigt__p_wxLogTextCtrl
,
29717 _swigt__p_wxTextCtrl
,
29718 _swigt__p_wxBusyCursor
,
29719 _swigt__p_wxPyBitmapDataObject
,
29720 _swigt__p_wxPyTextDataObject
,
29721 _swigt__p_wxBitmapDataObject
,
29722 _swigt__p_wxTextDataObject
,
29723 _swigt__p_wxDataObject
,
29724 _swigt__p_wxFileDataObject
,
29725 _swigt__p_wxCustomDataObject
,
29726 _swigt__p_wxURLDataObject
,
29727 _swigt__p_wxMetafileDataObject
,
29729 _swigt__p_wxTimerRunner
,
29730 _swigt__p_wxLogWindow
,
29731 _swigt__p_wxTimeSpan
,
29732 _swigt__p_wxArrayString
,
29733 _swigt__p_wxWindowDisabler
,
29734 _swigt__p_wxToolTip
,
29735 _swigt__p_wxDataObjectComposite
,
29736 _swigt__p_wxFileConfig
,
29737 _swigt__p_wxSystemSettings
,
29738 _swigt__p_wxVideoMode
,
29739 _swigt__p_wxPyDataObjectSimple
,
29740 _swigt__p_wxDataObjectSimple
,
29741 _swigt__p_wxEvtHandler
,
29744 _swigt__p_wxSingleInstanceChecker
,
29745 _swigt__p_wxFileTypeInfo
,
29748 _swigt__p_wxMimeTypesManager
,
29749 _swigt__p_wxPyArtProvider
,
29750 _swigt__p_wxPyTipProvider
,
29751 _swigt__p_wxTipProvider
,
29752 _swigt__p_wxJoystick
,
29753 _swigt__p_wxSystemOptions
,
29755 _swigt__p_wxJoystickEvent
,
29756 _swigt__p_wxCursor
,
29757 _swigt__p_wxObject
,
29758 _swigt__p_wxOutputStream
,
29759 _swigt__p_wxDateTime
,
29760 _swigt__p_wxPyDropSource
,
29761 _swigt__p_wxWindow
,
29762 _swigt__p_wxString
,
29763 _swigt__p_wxPyProcess
,
29764 _swigt__p_wxBitmap
,
29765 _swigt__p_wxConfig
,
29767 _swigt__p_wxBusyInfo
,
29768 _swigt__p_wxPyDropTarget
,
29769 _swigt__p_wxPyTextDropTarget
,
29770 _swigt__p_wxPyFileDropTarget
,
29771 _swigt__p_wxProcessEvent
,
29773 _swigt__p_wxLogNull
,
29774 _swigt__p_wxColour
,
29775 _swigt__p_wxConfigPathChanger
,
29776 _swigt__p_wxPyTimer
,
29777 _swigt__p_wxDateSpan
,
29782 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29784 static swig_const_info swig_const_table
[] = {
29785 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29786 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29787 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29788 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29789 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29799 SWIGEXPORT(void) SWIG_init(void) {
29800 static PyObject
*SWIG_globals
= 0;
29801 static int typeinit
= 0;
29804 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29805 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29806 d
= PyModule_GetDict(m
);
29809 for (i
= 0; swig_types_initial
[i
]; i
++) {
29810 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29814 SWIG_InstallConstants(d
,swig_const_table
);
29816 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29817 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29818 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29819 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29820 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29821 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29822 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29823 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29824 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29825 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29826 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29827 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29828 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29829 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29830 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29831 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29832 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29833 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29834 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29835 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29836 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29837 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29838 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29839 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29840 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29841 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29842 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29843 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29844 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29845 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29846 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29847 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29848 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29849 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29850 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29851 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29852 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29853 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29854 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29855 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29856 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29857 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29858 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29859 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29860 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29861 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29862 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29863 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29864 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29865 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29866 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29867 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29868 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29869 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29870 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29871 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29872 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29873 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29874 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29875 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29876 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29877 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29878 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29879 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29880 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29881 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29882 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29883 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29884 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29885 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29886 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29887 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29888 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29889 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29890 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29891 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29892 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29893 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29894 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29895 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29896 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29897 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29898 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29899 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29900 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29901 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29902 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29903 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29904 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29905 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29906 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29907 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29908 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29909 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29910 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29911 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29912 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29913 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29914 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29915 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29917 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29919 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29920 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29921 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29922 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29923 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29924 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29925 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29926 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29927 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29928 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29929 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29930 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29931 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29932 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29933 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29934 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29935 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29936 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29937 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29938 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29939 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29940 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29941 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29942 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29943 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29944 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29945 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29946 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29947 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29948 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29949 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29950 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29951 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29952 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29953 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29954 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29955 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29956 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29957 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29958 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29959 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29960 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29961 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29962 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29963 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29964 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29965 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29966 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29967 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29968 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29970 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29972 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29973 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29974 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29975 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29976 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29977 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29978 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29979 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29980 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29981 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29982 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29983 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29984 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29985 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29986 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29987 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29988 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29989 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29990 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29991 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29994 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29995 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29996 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29997 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29998 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
29999 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
30000 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
30001 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
30002 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
30003 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
30004 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30005 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30006 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30007 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30008 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30009 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30010 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30011 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30012 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30013 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30014 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30015 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30016 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30017 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30018 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30019 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30020 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30021 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30022 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30023 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30024 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30025 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30026 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30027 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30028 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30029 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30030 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30032 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30034 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
30035 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
30036 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
30037 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30038 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
30039 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
30040 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
30041 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
30042 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
30043 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30044 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30045 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
30046 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
30047 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
30048 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
30049 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
30050 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
30051 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
30052 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
30053 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
30054 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
30055 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
30056 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
30057 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
30058 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
30059 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
30060 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
30061 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
30062 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
30063 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
30064 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
30065 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
30066 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
30067 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
30068 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
30069 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
30070 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
30071 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
30072 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
30073 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
30074 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
30075 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
30076 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
30077 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
30078 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
30079 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
30080 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
30081 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
30082 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
30083 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
30084 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
30085 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
30086 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
30087 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
30088 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
30089 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
30090 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
30091 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
30092 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
30093 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
30094 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
30095 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
30096 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
30097 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
30098 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
30099 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
30100 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
30101 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
30102 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
30103 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
30104 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
30105 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
30106 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
30107 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
30108 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
30109 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
30110 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
30111 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
30112 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
30113 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
30114 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
30115 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30116 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30117 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30118 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30119 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30120 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30121 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30122 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30123 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30124 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30125 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30126 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30127 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30128 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30129 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30130 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30131 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30132 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30133 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30134 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30135 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30136 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30137 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30138 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30139 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30140 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30141 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30142 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30143 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30144 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30145 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30146 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30147 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30148 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30149 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30150 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30151 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30152 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30153 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30154 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30155 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30156 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30157 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30158 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30159 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30160 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30161 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30162 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30163 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30164 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30165 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30166 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30167 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30168 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30169 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30170 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30171 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30172 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30173 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30174 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30175 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30176 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30177 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30178 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30179 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30180 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30181 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30182 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30183 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30184 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30185 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30186 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30187 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30188 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30189 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30190 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30191 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30192 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30193 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30194 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30195 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30196 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30197 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30198 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30199 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30200 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30201 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30202 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30203 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30204 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30205 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30206 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30207 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30208 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30209 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30210 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30211 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30212 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30213 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30214 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30215 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30216 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30217 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30218 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30219 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30220 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30221 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30222 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30223 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30224 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30225 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30226 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30227 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30228 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30229 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30230 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30231 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30232 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30233 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30235 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30236 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30237 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30238 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30240 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);