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()) {
425 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
426 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
427 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
429 SWIGSTATICINLINE(int)
430 SWIG_CheckLong(PyObject
* obj
)
433 if (PyErr_Occurred()) {
442 SWIGSTATICINLINE(bool)
443 SWIG_AsBool(PyObject
*obj
)
445 return PyObject_IsTrue(obj
) ? true : false;
449 SWIGSTATICINLINE(int)
450 SWIG_CheckBool(PyObject
* obj
)
453 if (PyErr_Occurred()) {
462 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
468 } else if (target
== Py_None
) {
472 if (!PyTuple_Check(target
)) {
474 target
= PyTuple_New(1);
475 PyTuple_SetItem(target
, 0, o2
);
478 PyTuple_SetItem(o3
, 0, o
);
481 target
= PySequence_Concat(o2
, o3
);
489 SWIGSTATICINLINE(unsigned long)
490 SWIG_AsUnsignedLong(PyObject
* obj
)
492 if (PyLong_Check(obj
)) {
493 return PyLong_AsUnsignedLong(obj
);
495 long i
= SWIG_AsLong(obj
);
496 if ( !PyErr_Occurred() && (i
< 0)) {
497 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
504 SWIGSTATICINLINE(int)
505 SWIG_CheckUnsignedLong(PyObject
* obj
)
507 SWIG_AsUnsignedLong(obj
);
508 if (PyErr_Occurred()) {
517 SWIGSTATICINLINE(PyObject
* )
518 SWIG_FromUnsignedLong(unsigned long value
)
520 return (value
> LONG_MAX
) ?
521 PyLong_FromUnsignedLong(value
)
522 : PyInt_FromLong(swig_numeric_cast(long,value
));
526 bool wxThread_IsMain() {
527 #ifdef WXP_WITH_THREAD
528 return wxThread::IsMain();
535 int wxCaret_GetBlinkTime() {
536 return wxCaret::GetBlinkTime();
539 void wxCaret_SetBlinkTime(int milliseconds
) {
540 wxCaret::SetBlinkTime(milliseconds
);
544 #include <wx/snglinst.h>
548 #include <wx/msw/private.h>
549 #include <wx/dynload.h>
554 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
561 // This one only partially works. Appears to be an undocumented
562 // "standard" convention that not all widgets adhear to. For
563 // example, for some widgets backgrounds or non-client areas may
565 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
569 // This one works much better, except for on XP. On Win2k nearly
570 // all widgets and their children are captured correctly[**]. On
571 // XP with Themes activated most native widgets draw only
572 // partially, if at all. Without themes it works just like on
575 // ** For example the radio buttons in a wxRadioBox are not its
576 // children by default, but you can capture it via the panel
577 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
578 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
579 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
580 PRF_ERASEBKGND
| PRF_OWNED
);
584 // This one is only defined in the latest SDK and is only
585 // available on XP. MSDN says it is similar to sending WM_PRINT
586 // so I expect that it will work similar to the above. Since it
587 // is avaialble only on XP, it can't be compiled like this and
588 // will have to be loaded dynamically.
589 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
594 // Use PrintWindow if available, or fallback to WM_PRINT
595 // otherwise. Unfortunately using PrintWindow is even worse than
596 // WM_PRINT. For most native widgets nothing is drawn to the dc
597 // at all, with or without Themes.
598 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
599 static bool s_triedToLoad
= False
;
600 static PrintWindow_t pfnPrintWindow
= NULL
;
601 if ( !s_triedToLoad
)
604 s_triedToLoad
= True
;
605 wxDynamicLibrary
dllUser32(_T("user32.dll"));
606 if ( dllUser32
.IsLoaded() )
608 wxLogNull nolog
; // Don't report errors here
609 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
614 printf("Using PrintWindow\n");
615 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
619 printf("Using WM_PRINT\n");
620 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
621 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
629 #include <wx/tipdlg.h>
632 class wxPyTipProvider
: public wxTipProvider
{
634 wxPyTipProvider(size_t currentTip
)
635 : wxTipProvider(currentTip
) {}
637 DEC_PYCALLBACK_STRING__pure(GetTip
);
638 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
642 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
643 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
646 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
648 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
650 void wxPyTimer::Notify() {
652 bool blocked
= wxPyBeginBlockThreads();
653 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
654 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked
);
659 void wxPyTimer::base_Notify() {
665 SWIGSTATICINLINE(PyObject
*)
666 SWIG_FromCharPtr(const char* cptr
)
668 size_t size
= cptr
? strlen(cptr
) : 0;
670 if (size
> INT_MAX
) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
672 SWIG_TypeQuery("char *"), 0);
674 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
683 SWIGSTATICINLINE(unsigned long)
684 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
685 unsigned long max_value
)
687 if (!PyErr_Occurred()) {
688 if (value
> max_value
) {
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value
, type
, max_value
);
692 PyErr_SetObject(PyExc_OverflowError
, err
);
700 #if UINT_MAX != ULONG_MAX
701 SWIGSTATICINLINE(unsigned int)
702 SWIG_AsUnsignedInt(PyObject
*obj
)
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
706 "unsigned int", UINT_MAX
));
709 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
713 SWIGSTATICINLINE(int)
714 SWIG_CheckUnsignedInt(PyObject
* obj
)
716 SWIG_AsUnsignedInt(obj
);
717 if (PyErr_Occurred()) {
725 wxString
Log_TimeStamp(){
727 wxLog::TimeStamp(&msg
);
730 void wxLog_Destroy(wxLog
*self
){ delete self
; }
732 // A wxLog class that can be derived from in wxPython
733 class wxPyLog
: public wxLog
{
735 wxPyLog() : wxLog() {}
737 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
739 bool blocked
= wxPyBeginBlockThreads();
740 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
741 PyObject
* s
= wx2PyString(szString
);
742 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
745 wxPyEndBlockThreads(blocked
);
747 wxLog::DoLog(level
, szString
, t
);
750 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
752 bool blocked
= wxPyBeginBlockThreads();
753 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
754 PyObject
* s
= wx2PyString(szString
);
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
758 wxPyEndBlockThreads(blocked
);
760 wxLog::DoLogString(szString
, t
);
769 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
772 #include <wx/joystick.h>
775 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776 // A C++ stub class for wxJoystick for platforms that don't have it.
777 class wxJoystick
: public wxObject
{
779 wxJoystick(int joystick
= wxJOYSTICK1
) {
780 bool blocked
= wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError
,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked
);
785 wxPoint
GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold
) {}
796 bool IsOk(void) { return False
; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
800 wxString
GetProductName() { return wxEmptyString
; }
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
820 bool HasRudder() { return False
; }
821 bool HasZ() { return False
; }
822 bool HasU() { return False
; }
823 bool HasV() { return False
; }
824 bool HasPOV() { return False
; }
825 bool HasPOV4Dir() { return False
; }
826 bool HasPOVCTS() { return False
; }
828 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
829 bool ReleaseCapture() { return False
; }
834 #include <wx/sound.h>
838 // A C++ stub class for wxWave for platforms that don't have it.
839 class wxSound
: public wxObject
843 bool blocked
= wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError
,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked
);
848 wxSound(const wxString
&/*, bool*/) {
849 bool blocked
= wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError
,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked
);
854 wxSound(int, const wxByte
*) {
855 bool blocked
= wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError
,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked
);
863 bool Create(const wxString
&/*, bool*/) { return false; }
864 bool Create(int, const wxByte
*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString
&, unsigned) { return false; }
868 static void Stop() {}
873 wxSound
*new_wxSound(wxString
const &fileName
){
874 if (fileName
.Length() == 0)
877 return new wxSound(fileName
);
879 wxSound
*new_wxSound(PyObject
*data
){
880 unsigned char* buffer
; int size
;
881 wxSound
*sound
= NULL
;
883 bool blocked
= wxPyBeginBlockThreads();
884 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
886 sound
= new wxSound(size
, buffer
);
888 wxPyEndBlockThreads(blocked
);
891 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
893 unsigned char* buffer
;
897 bool blocked
= wxPyBeginBlockThreads();
898 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
900 rv
= self
->Create(size
, buffer
);
902 wxPyEndBlockThreads(blocked
);
905 bool blocked
= wxPyBeginBlockThreads();
906 PyErr_SetString(PyExc_NotImplementedError
,
907 "Create from data is not available on this platform.");
908 wxPyEndBlockThreads(blocked
);
913 #include <wx/mimetype.h>
915 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
917 if (self
->GetMimeType(&str
))
918 return wx2PyString(str
);
922 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
924 if (self
->GetMimeTypes(arr
))
925 return wxArrayString2PyList_helper(arr
);
929 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
931 if (self
->GetExtensions(arr
))
932 return wxArrayString2PyList_helper(arr
);
936 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
938 if (self
->GetIcon(&loc
))
939 return new wxIcon(loc
);
943 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
945 if (self
->GetIcon(&loc
)) {
946 wxString iconFile
= loc
.GetFileName();
949 iconIndex
= loc
.GetIndex();
951 // Make a tuple and put the values in it
952 bool blocked
= wxPyBeginBlockThreads();
953 PyObject
* tuple
= PyTuple_New(3);
954 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
955 wxT("wxIcon"), True
));
956 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
957 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
958 wxPyEndBlockThreads(blocked
);
964 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
966 if (self
->GetDescription(&str
))
967 return wx2PyString(str
);
971 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
973 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
974 return wx2PyString(str
);
978 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
980 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
981 return wx2PyString(str
);
985 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
987 wxArrayString commands
;
988 if (self
->GetAllCommands(&verbs
, &commands
,
989 wxFileType::MessageParameters(filename
, mimetype
))) {
990 bool blocked
= wxPyBeginBlockThreads();
991 PyObject
* tuple
= PyTuple_New(2);
992 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
993 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
994 wxPyEndBlockThreads(blocked
);
1000 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1001 return wxFileType::ExpandCommand(command
,
1002 wxFileType::MessageParameters(filename
, mimetype
));
1004 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1006 self
->EnumAllFileTypes(arr
);
1007 return wxArrayString2PyList_helper(arr
);
1010 #include <wx/artprov.h>
1012 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1013 static const wxString
wxPyART_MENU(wxART_MENU
);
1014 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1015 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1016 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1017 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1018 static const wxString
wxPyART_BUTTON(wxART_BUTTON
);
1019 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1020 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1021 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1022 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1023 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1024 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1025 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1026 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1027 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1028 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1029 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1030 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1031 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1032 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1033 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1034 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1035 static const wxString
wxPyART_HELP(wxART_HELP
);
1036 static const wxString
wxPyART_TIP(wxART_TIP
);
1037 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1038 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1039 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1040 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1041 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1042 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1043 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1044 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1045 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1046 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1047 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1048 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1049 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1050 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1051 // Python aware wxArtProvider
1052 class wxPyArtProvider
: public wxArtProvider
{
1055 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1056 const wxArtClient
& client
,
1057 const wxSize
& size
) {
1058 wxBitmap rval
= wxNullBitmap
;
1059 bool blocked
= wxPyBeginBlockThreads();
1060 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1061 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1065 s1
= wx2PyString(id
);
1066 s2
= wx2PyString(client
);
1067 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1072 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1077 wxPyEndBlockThreads(blocked
);
1084 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1088 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1089 PyObject
* ret
= PyTuple_New(3);
1091 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1092 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1093 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1098 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1103 cont
= self
->GetFirstGroup(value
, index
);
1104 return __EnumerationHelper(cont
, value
, index
);
1106 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1110 cont
= self
->GetNextGroup(value
, index
);
1111 return __EnumerationHelper(cont
, value
, index
);
1113 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1118 cont
= self
->GetFirstEntry(value
, index
);
1119 return __EnumerationHelper(cont
, value
, index
);
1121 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1125 cont
= self
->GetNextEntry(value
, index
);
1126 return __EnumerationHelper(cont
, value
, index
);
1128 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1130 self
->Read(key
, &rv
, defaultVal
);
1134 SWIGSTATICINLINE(double)
1135 SWIG_AsDouble(PyObject
*obj
)
1137 if (PyNumber_Check(obj
))
1138 return PyFloat_AsDouble(obj
);
1140 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1141 obj
->ob_type
->tp_name
);
1142 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1149 SWIGSTATICINLINE(int)
1150 SWIG_CheckDouble(PyObject
* obj
)
1153 if (PyErr_Occurred()) {
1161 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1163 self
->Read(key
, &rv
, defaultVal
);
1166 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1168 self
->Read(key
, &rv
, defaultVal
);
1172 #include <wx/datetime.h>
1175 static const wxString
wxPyDateFormatStr(wxT("%c"));
1176 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1178 #define LOCAL_TZ wxDateTime::Local
1181 #if UINT_MAX < LONG_MAX
1182 #define SWIG_FromUnsignedInt SWIG_FromLong
1184 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1187 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1188 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1189 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1190 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1191 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1192 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1193 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1194 return (*self
< *other
);
1196 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1197 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1198 return (*self
<= *other
);
1200 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1201 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1202 return (*self
> *other
);
1204 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1205 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1206 return (*self
>= *other
);
1208 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1209 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1210 return (*self
== *other
);
1212 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1213 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1214 return (*self
!= *other
);
1216 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1218 const wxChar
* _date
= date
;
1219 rv
= self
->ParseRfc822Date(_date
);
1220 if (rv
== NULL
) return -1;
1223 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1225 const wxChar
* _date
= date
;
1226 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1227 if (rv
== NULL
) return -1;
1230 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1232 const wxChar
* _datetime
= datetime
;
1233 rv
= self
->ParseDateTime(_datetime
);
1234 if (rv
== NULL
) return -1;
1235 return rv
- _datetime
;
1237 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1239 const wxChar
* _date
= date
;
1240 rv
= self
->ParseDate(_date
);
1241 if (rv
== NULL
) return -1;
1244 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1246 const wxChar
* _time
= time
;
1247 rv
= self
->ParseTime(_time
);
1248 if (rv
== NULL
) return -1;
1251 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1252 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1253 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1254 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1255 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1256 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1257 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1258 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1259 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1260 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1261 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1262 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1263 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1264 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1265 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1266 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1268 #include <wx/dataobj.h>
1270 PyObject
*wxDataObject_GetAllFormats(wxDataObject
*self
,wxDataObject::Direction dir
){
1271 size_t count
= self
->GetFormatCount(dir
);
1272 wxDataFormat
* formats
= new wxDataFormat
[count
];
1273 self
->GetAllFormats(formats
, dir
);
1275 bool blocked
= wxPyBeginBlockThreads();
1276 PyObject
* list
= PyList_New(count
);
1277 for (size_t i
=0; i
<count
; i
++) {
1278 wxDataFormat
* format
= new wxDataFormat(formats
[i
]);
1279 PyObject
* obj
= wxPyConstructObject((void*)format
, wxT("wxDataFormat"), True
);
1280 PyList_Append(list
, obj
);
1283 wxPyEndBlockThreads(blocked
);
1287 PyObject
*wxDataObject_GetDataHere(wxDataObject
*self
,wxDataFormat
const &format
){
1288 PyObject
* rval
= NULL
;
1289 size_t size
= self
->GetDataSize(format
);
1290 bool blocked
= wxPyBeginBlockThreads();
1292 char* buf
= new char[size
];
1293 if (self
->GetDataHere(format
, buf
))
1294 rval
= PyString_FromStringAndSize(buf
, size
);
1301 wxPyEndBlockThreads(blocked
);
1304 bool wxDataObject_SetData(wxDataObject
*self
,wxDataFormat
const &format
,PyObject
*data
){
1306 bool blocked
= wxPyBeginBlockThreads();
1307 if (PyString_Check(data
)) {
1308 rval
= self
->SetData(format
, PyString_Size(data
), PyString_AsString(data
));
1311 // raise a TypeError if not a string
1312 PyErr_SetString(PyExc_TypeError
, "String expected.");
1315 wxPyEndBlockThreads(blocked
);
1318 PyObject
*wxDataObjectSimple_GetDataHere(wxDataObjectSimple
*self
){
1319 PyObject
* rval
= NULL
;
1320 size_t size
= self
->GetDataSize();
1321 bool blocked
= wxPyBeginBlockThreads();
1323 char* buf
= new char[size
];
1324 if (self
->GetDataHere(buf
))
1325 rval
= PyString_FromStringAndSize(buf
, size
);
1332 wxPyEndBlockThreads(blocked
);
1335 bool wxDataObjectSimple_SetData(wxDataObjectSimple
*self
,PyObject
*data
){
1337 bool blocked
= wxPyBeginBlockThreads();
1338 if (PyString_Check(data
)) {
1339 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1342 // raise a TypeError if not a string
1343 PyErr_SetString(PyExc_TypeError
, "String expected.");
1346 wxPyEndBlockThreads(blocked
);
1349 // Create a new class for wxPython to use
1350 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1352 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1353 : wxDataObjectSimple(format
) {}
1355 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1356 bool GetDataHere(void *buf
) const;
1357 bool SetData(size_t len
, const void *buf
) const;
1361 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1363 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1364 // We need to get the data for this object and write it to buf. I think
1365 // the best way to do this for wxPython is to have the Python method
1366 // return either a string or None and then act appropriately with the
1370 bool blocked
= wxPyBeginBlockThreads();
1371 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1373 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1375 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1377 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1381 wxPyEndBlockThreads(blocked
);
1385 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1386 // For this one we simply need to make a string from buf and len
1387 // and send it to the Python method.
1389 bool blocked
= wxPyBeginBlockThreads();
1390 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1391 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1392 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1395 wxPyEndBlockThreads(blocked
);
1399 // Create a new class for wxPython to use
1400 class wxPyTextDataObject
: public wxTextDataObject
{
1402 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1403 : wxTextDataObject(text
) {}
1405 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1406 DEC_PYCALLBACK_STRING__const(GetText
);
1407 DEC_PYCALLBACK__STRING(SetText
);
1411 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1412 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1413 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1416 // Create a new class for wxPython to use
1417 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1419 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1420 : wxBitmapDataObject(bitmap
) {}
1422 wxBitmap
GetBitmap() const;
1423 void SetBitmap(const wxBitmap
& bitmap
);
1427 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1428 wxBitmap
* rval
= &wxNullBitmap
;
1429 bool blocked
= wxPyBeginBlockThreads();
1430 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1433 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1435 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1440 wxPyEndBlockThreads(blocked
);
1444 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1445 bool blocked
= wxPyBeginBlockThreads();
1446 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1447 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1448 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1451 wxPyEndBlockThreads(blocked
);
1454 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1456 bool blocked
= wxPyBeginBlockThreads();
1457 if (PyString_Check(data
)) {
1458 rval
= self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1461 // raise a TypeError if not a string
1462 PyErr_SetString(PyExc_TypeError
, "String expected.");
1465 wxPyEndBlockThreads(blocked
);
1468 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1470 bool blocked
= wxPyBeginBlockThreads();
1471 obj
= PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1472 wxPyEndBlockThreads(blocked
);
1476 #include <wx/metafile.h>
1479 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1482 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1483 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1484 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1485 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1486 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1489 class wxPyTextDropTarget
: public wxTextDropTarget
{
1491 wxPyTextDropTarget() {}
1493 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1495 DEC_PYCALLBACK__(OnLeave
);
1496 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1497 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1498 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1499 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1504 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1505 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1506 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1507 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1508 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1509 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1513 class wxPyFileDropTarget
: public wxFileDropTarget
{
1515 wxPyFileDropTarget() {}
1517 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1519 DEC_PYCALLBACK__(OnLeave
);
1520 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1521 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1522 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1523 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1528 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1529 const wxArrayString
& filenames
) {
1531 bool blocked
= wxPyBeginBlockThreads();
1532 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1533 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1534 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1537 wxPyEndBlockThreads(blocked
);
1543 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1544 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1545 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1546 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1547 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1552 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1554 #include <wx/display.h>
1556 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1557 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1559 // dummy version of wxDisplay for when it is not enabled in the wxWidgets build
1561 #include <wx/dynarray.h>
1562 #include <wx/vidmode.h>
1564 WX_DECLARE_OBJARRAY(wxVideoMode
, wxArrayVideoModes
);
1565 #include "wx/arrimpl.cpp"
1566 WX_DEFINE_OBJARRAY(wxArrayVideoModes
);
1567 const wxVideoMode wxDefaultVideoMode
;
1572 wxDisplay(size_t index
= 0) { wxPyRaiseNotImplemented(); }
1575 static size_t GetCount()
1576 { wxPyRaiseNotImplemented(); return 0; }
1578 static int GetFromPoint(const wxPoint
& pt
)
1579 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1580 static int GetFromWindow(wxWindow
*window
)
1581 { wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1583 virtual bool IsOk() const { return false; }
1584 virtual wxRect
GetGeometry() const { wxRect r
; return r
; }
1585 virtual wxString
GetName() const { return wxEmptyString
; }
1586 bool IsPrimary() const { return false; }
1588 wxArrayVideoModes
GetModes(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1589 { wxArrayVideoModes a
; return a
; }
1591 virtual wxVideoMode
GetCurrentMode() const
1592 { return wxDefaultVideoMode
; }
1594 virtual bool ChangeMode(const wxVideoMode
& mode
= wxDefaultVideoMode
)
1601 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1602 PyObject
* pyList
= NULL
;
1603 wxArrayVideoModes arr
= self
->GetModes(mode
);
1604 bool blocked
= wxPyBeginBlockThreads();
1605 pyList
= PyList_New(0);
1606 for (int i
=0; i
< arr
.GetCount(); i
++) {
1607 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1608 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1609 PyList_Append(pyList
, pyObj
);
1612 wxPyEndBlockThreads(blocked
);
1618 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1619 PyObject
*resultobj
;
1622 PyObject
* obj0
= 0 ;
1624 (char *) "index", NULL
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1628 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1631 if (!wxPyCheckForApp()) SWIG_fail
;
1632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1633 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1635 wxPyEndAllowThreads(__tstate
);
1636 if (PyErr_Occurred()) SWIG_fail
;
1639 wxColour
* resultptr
;
1640 resultptr
= new wxColour((wxColour
&) result
);
1641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1649 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1650 PyObject
*resultobj
;
1653 PyObject
* obj0
= 0 ;
1655 (char *) "index", NULL
1658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1659 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1660 if (PyErr_Occurred()) SWIG_fail
;
1662 if (!wxPyCheckForApp()) SWIG_fail
;
1663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1664 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1666 wxPyEndAllowThreads(__tstate
);
1667 if (PyErr_Occurred()) SWIG_fail
;
1671 resultptr
= new wxFont((wxFont
&) result
);
1672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1680 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1684 PyObject
* obj0
= 0 ;
1686 (char *) "index", NULL
1689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1690 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1691 if (PyErr_Occurred()) SWIG_fail
;
1693 if (!wxPyCheckForApp()) SWIG_fail
;
1694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1695 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1697 wxPyEndAllowThreads(__tstate
);
1698 if (PyErr_Occurred()) SWIG_fail
;
1700 resultobj
= SWIG_FromInt((int)result
);
1707 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1708 PyObject
*resultobj
;
1711 PyObject
* obj0
= 0 ;
1713 (char *) "index", NULL
1716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1717 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1718 if (PyErr_Occurred()) SWIG_fail
;
1720 if (!wxPyCheckForApp()) SWIG_fail
;
1721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1722 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1724 wxPyEndAllowThreads(__tstate
);
1725 if (PyErr_Occurred()) SWIG_fail
;
1728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1736 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
*resultobj
;
1743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1745 if (!wxPyCheckForApp()) SWIG_fail
;
1746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1747 result
= (int)wxSystemSettings::GetScreenType();
1749 wxPyEndAllowThreads(__tstate
);
1750 if (PyErr_Occurred()) SWIG_fail
;
1752 resultobj
= SWIG_FromInt((int)result
);
1759 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1760 PyObject
*resultobj
;
1762 PyObject
* obj0
= 0 ;
1764 (char *) "screen", NULL
1767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1768 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1771 if (!wxPyCheckForApp()) SWIG_fail
;
1772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1773 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1775 wxPyEndAllowThreads(__tstate
);
1776 if (PyErr_Occurred()) SWIG_fail
;
1778 Py_INCREF(Py_None
); resultobj
= Py_None
;
1785 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1787 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1788 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1790 return Py_BuildValue((char *)"");
1792 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1793 PyObject
*resultobj
;
1794 wxSystemOptions
*result
;
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 result
= (wxSystemOptions
*)new wxSystemOptions();
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1807 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1814 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxString
*arg1
= 0 ;
1817 wxString
*arg2
= 0 ;
1818 bool temp1
= False
;
1819 bool temp2
= False
;
1820 PyObject
* obj0
= 0 ;
1821 PyObject
* obj1
= 0 ;
1823 (char *) "name",(char *) "value", NULL
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1828 arg1
= wxString_in_helper(obj0
);
1829 if (arg1
== NULL
) SWIG_fail
;
1833 arg2
= wxString_in_helper(obj1
);
1834 if (arg2
== NULL
) SWIG_fail
;
1838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1839 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1841 wxPyEndAllowThreads(__tstate
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1844 Py_INCREF(Py_None
); resultobj
= Py_None
;
1867 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxString
*arg1
= 0 ;
1871 bool temp1
= False
;
1872 PyObject
* obj0
= 0 ;
1873 PyObject
* obj1
= 0 ;
1875 (char *) "name",(char *) "value", NULL
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1880 arg1
= wxString_in_helper(obj0
);
1881 if (arg1
== NULL
) SWIG_fail
;
1884 arg2
= (int) SWIG_AsInt(obj1
);
1885 if (PyErr_Occurred()) SWIG_fail
;
1887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1888 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1890 wxPyEndAllowThreads(__tstate
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1893 Py_INCREF(Py_None
); resultobj
= Py_None
;
1908 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxString
*arg1
= 0 ;
1912 bool temp1
= False
;
1913 PyObject
* obj0
= 0 ;
1915 (char *) "name", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1920 arg1
= wxString_in_helper(obj0
);
1921 if (arg1
== NULL
) SWIG_fail
;
1925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1926 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1928 wxPyEndAllowThreads(__tstate
);
1929 if (PyErr_Occurred()) SWIG_fail
;
1933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1952 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1954 wxString
*arg1
= 0 ;
1956 bool temp1
= False
;
1957 PyObject
* obj0
= 0 ;
1959 (char *) "name", NULL
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1964 arg1
= wxString_in_helper(obj0
);
1965 if (arg1
== NULL
) SWIG_fail
;
1969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1970 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1972 wxPyEndAllowThreads(__tstate
);
1973 if (PyErr_Occurred()) SWIG_fail
;
1975 resultobj
= SWIG_FromInt((int)result
);
1990 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1992 wxString
*arg1
= 0 ;
1994 bool temp1
= False
;
1995 PyObject
* obj0
= 0 ;
1997 (char *) "name", NULL
2000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
2002 arg1
= wxString_in_helper(obj0
);
2003 if (arg1
== NULL
) SWIG_fail
;
2007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2008 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
2010 wxPyEndAllowThreads(__tstate
);
2011 if (PyErr_Occurred()) SWIG_fail
;
2014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2030 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
2032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2033 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
2035 return Py_BuildValue((char *)"");
2037 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
2038 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
2043 static PyObject
*_wrap_FileSelectorPromptStr_get() {
2048 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2050 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
2057 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
2058 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
2063 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
2068 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2070 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
2077 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
2078 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
2083 static PyObject
*_wrap_DirSelectorPromptStr_get() {
2088 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2090 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
2097 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
2106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2107 result
= (long)wxNewId();
2109 wxPyEndAllowThreads(__tstate
);
2110 if (PyErr_Occurred()) SWIG_fail
;
2112 resultobj
= SWIG_FromLong((long)result
);
2119 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2122 PyObject
* obj0
= 0 ;
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2128 arg1
= (long) SWIG_AsLong(obj0
);
2129 if (PyErr_Occurred()) SWIG_fail
;
2131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2134 wxPyEndAllowThreads(__tstate
);
2135 if (PyErr_Occurred()) SWIG_fail
;
2137 Py_INCREF(Py_None
); resultobj
= Py_None
;
2144 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2145 PyObject
*resultobj
;
2151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 result
= (long)wxGetCurrentId();
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 resultobj
= SWIG_FromLong((long)result
);
2166 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2174 if (!wxPyCheckForApp()) SWIG_fail
;
2175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2178 wxPyEndAllowThreads(__tstate
);
2179 if (PyErr_Occurred()) SWIG_fail
;
2181 Py_INCREF(Py_None
); resultobj
= Py_None
;
2188 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2189 PyObject
*resultobj
;
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2196 if (!wxPyCheckForApp()) SWIG_fail
;
2197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2200 wxPyEndAllowThreads(__tstate
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2203 Py_INCREF(Py_None
); resultobj
= Py_None
;
2210 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
*resultobj
;
2212 bool arg1
= (bool) True
;
2214 PyObject
* obj0
= 0 ;
2216 (char *) "resetTimer", NULL
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2221 arg1
= (bool) SWIG_AsBool(obj0
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2226 result
= (long)wxGetElapsedTime(arg1
);
2228 wxPyEndAllowThreads(__tstate
);
2229 if (PyErr_Occurred()) SWIG_fail
;
2231 resultobj
= SWIG_FromLong((long)result
);
2238 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
*resultobj
;
2240 int *arg1
= (int *) 0 ;
2241 int *arg2
= (int *) 0 ;
2250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2252 if (!wxPyCheckForApp()) SWIG_fail
;
2253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2254 wxGetMousePosition(arg1
,arg2
);
2256 wxPyEndAllowThreads(__tstate
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2259 Py_INCREF(Py_None
); resultobj
= Py_None
;
2261 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2262 resultobj
= t_output_helper(resultobj
,o
);
2265 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2266 resultobj
= t_output_helper(resultobj
,o
);
2274 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 result
= (bool)wxIsBusy();
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2298 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
*resultobj
;
2305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2326 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2329 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2331 bool temp1
= False
;
2332 PyObject
* obj0
= 0 ;
2334 (char *) "command", NULL
2337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2340 arg1
= wxString_in_helper(obj0
);
2341 if (arg1
== NULL
) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2347 result
= (bool)wxShell((wxString
const &)*arg1
);
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2369 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2380 wxPyEndAllowThreads(__tstate
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2383 Py_INCREF(Py_None
); resultobj
= Py_None
;
2390 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
*resultobj
;
2392 int *arg1
= (int *) 0 ;
2393 int *arg2
= (int *) 0 ;
2403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (int)wxGetOsVersion(arg1
,arg2
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2411 resultobj
= SWIG_FromInt((int)result
);
2413 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2414 resultobj
= t_output_helper(resultobj
,o
);
2417 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2418 resultobj
= t_output_helper(resultobj
,o
);
2426 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
*resultobj
;
2433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2436 result
= wxGetOsDescription();
2438 wxPyEndAllowThreads(__tstate
);
2439 if (PyErr_Occurred()) SWIG_fail
;
2443 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2445 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2454 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
*resultobj
;
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2464 result
= (long)wxGetFreeMemory();
2466 wxPyEndAllowThreads(__tstate
);
2467 if (PyErr_Occurred()) SWIG_fail
;
2469 resultobj
= SWIG_FromLong((long)result
);
2476 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2477 PyObject
*resultobj
;
2480 PyObject
* obj0
= 0 ;
2482 (char *) "wFlags", NULL
2485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2486 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2489 if (!wxPyCheckForApp()) SWIG_fail
;
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2505 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2506 PyObject
*resultobj
;
2508 PyObject
* obj0
= 0 ;
2510 (char *) "secs", NULL
2513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2514 arg1
= (int) SWIG_AsInt(obj0
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2523 Py_INCREF(Py_None
); resultobj
= Py_None
;
2530 static PyObject
*_wrap_MilliSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2531 PyObject
*resultobj
;
2532 unsigned long arg1
;
2533 PyObject
* obj0
= 0 ;
2535 (char *) "milliseconds", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MilliSleep",kwnames
,&obj0
)) goto fail
;
2539 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2548 Py_INCREF(Py_None
); resultobj
= Py_None
;
2555 static PyObject
*_wrap_MicroSleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2556 PyObject
*resultobj
;
2557 unsigned long arg1
;
2558 PyObject
* obj0
= 0 ;
2560 (char *) "microseconds", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MicroSleep",kwnames
,&obj0
)) goto fail
;
2564 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 wxPyEndAllowThreads(__tstate
);
2571 if (PyErr_Occurred()) SWIG_fail
;
2573 Py_INCREF(Py_None
); resultobj
= Py_None
;
2580 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2581 PyObject
*resultobj
;
2583 PyObject
* obj0
= 0 ;
2585 (char *) "enable", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2589 arg1
= (bool) SWIG_AsBool(obj0
);
2590 if (PyErr_Occurred()) SWIG_fail
;
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 wxEnableTopLevelWindows(arg1
);
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2598 Py_INCREF(Py_None
); resultobj
= Py_None
;
2605 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2606 PyObject
*resultobj
;
2607 wxString
*arg1
= 0 ;
2609 bool temp1
= False
;
2610 PyObject
* obj0
= 0 ;
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2617 arg1
= wxString_in_helper(obj0
);
2618 if (arg1
== NULL
) SWIG_fail
;
2622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2623 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2625 wxPyEndAllowThreads(__tstate
);
2626 if (PyErr_Occurred()) SWIG_fail
;
2630 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2632 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2649 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2650 PyObject
*resultobj
;
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2659 result
= wxGetEmailAddress();
2661 wxPyEndAllowThreads(__tstate
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2666 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2668 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2677 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2678 PyObject
*resultobj
;
2684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 result
= wxGetHostName();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2694 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2696 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2705 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2706 PyObject
*resultobj
;
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2715 result
= wxGetFullHostName();
2717 wxPyEndAllowThreads(__tstate
);
2718 if (PyErr_Occurred()) SWIG_fail
;
2722 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2724 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2733 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2743 result
= wxGetUserId();
2745 wxPyEndAllowThreads(__tstate
);
2746 if (PyErr_Occurred()) SWIG_fail
;
2750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2761 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2762 PyObject
*resultobj
;
2768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 result
= wxGetUserName();
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2789 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2790 PyObject
*resultobj
;
2796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2799 result
= wxGetHomeDir();
2801 wxPyEndAllowThreads(__tstate
);
2802 if (PyErr_Occurred()) SWIG_fail
;
2806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2817 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2820 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2822 bool temp1
= False
;
2823 PyObject
* obj0
= 0 ;
2825 (char *) "user", NULL
2828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2831 arg1
= wxString_in_helper(obj0
);
2832 if (arg1
== NULL
) SWIG_fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 result
= wxGetUserHome((wxString
const &)*arg1
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2845 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2847 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2864 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2865 PyObject
*resultobj
;
2866 unsigned long result
;
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2874 result
= (unsigned long)wxGetProcessId();
2876 wxPyEndAllowThreads(__tstate
);
2877 if (PyErr_Occurred()) SWIG_fail
;
2879 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2886 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2887 PyObject
*resultobj
;
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2900 Py_INCREF(Py_None
); resultobj
= Py_None
;
2907 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2910 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2911 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2912 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2913 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2914 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2915 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2916 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2917 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2918 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2919 int arg6
= (int) 0 ;
2920 wxWindow
*arg7
= (wxWindow
*) NULL
;
2921 int arg8
= (int) -1 ;
2922 int arg9
= (int) -1 ;
2924 bool temp1
= False
;
2925 bool temp2
= False
;
2926 bool temp3
= False
;
2927 bool temp4
= False
;
2928 bool temp5
= False
;
2929 PyObject
* obj0
= 0 ;
2930 PyObject
* obj1
= 0 ;
2931 PyObject
* obj2
= 0 ;
2932 PyObject
* obj3
= 0 ;
2933 PyObject
* obj4
= 0 ;
2934 PyObject
* obj5
= 0 ;
2935 PyObject
* obj6
= 0 ;
2936 PyObject
* obj7
= 0 ;
2937 PyObject
* obj8
= 0 ;
2939 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2945 arg1
= wxString_in_helper(obj0
);
2946 if (arg1
== NULL
) SWIG_fail
;
2952 arg2
= wxString_in_helper(obj1
);
2953 if (arg2
== NULL
) SWIG_fail
;
2959 arg3
= wxString_in_helper(obj2
);
2960 if (arg3
== NULL
) SWIG_fail
;
2966 arg4
= wxString_in_helper(obj3
);
2967 if (arg4
== NULL
) SWIG_fail
;
2973 arg5
= wxString_in_helper(obj4
);
2974 if (arg5
== NULL
) SWIG_fail
;
2979 arg6
= (int) SWIG_AsInt(obj5
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2983 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2987 arg8
= (int) SWIG_AsInt(obj7
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 arg9
= (int) SWIG_AsInt(obj8
);
2992 if (PyErr_Occurred()) SWIG_fail
;
2995 if (!wxPyCheckForApp()) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3055 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxString
*arg1
= 0 ;
3058 wxString
*arg2
= 0 ;
3059 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3060 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3061 wxWindow
*arg4
= (wxWindow
*) NULL
;
3063 bool temp1
= False
;
3064 bool temp2
= False
;
3065 bool temp3
= False
;
3066 PyObject
* obj0
= 0 ;
3067 PyObject
* obj1
= 0 ;
3068 PyObject
* obj2
= 0 ;
3069 PyObject
* obj3
= 0 ;
3071 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3076 arg1
= wxString_in_helper(obj0
);
3077 if (arg1
== NULL
) SWIG_fail
;
3081 arg2
= wxString_in_helper(obj1
);
3082 if (arg2
== NULL
) SWIG_fail
;
3087 arg3
= wxString_in_helper(obj2
);
3088 if (arg3
== NULL
) SWIG_fail
;
3093 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3097 if (!wxPyCheckForApp()) SWIG_fail
;
3098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3099 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3101 wxPyEndAllowThreads(__tstate
);
3102 if (PyErr_Occurred()) SWIG_fail
;
3106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3141 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxString
*arg1
= 0 ;
3144 wxString
*arg2
= 0 ;
3145 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3146 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3147 wxWindow
*arg4
= (wxWindow
*) NULL
;
3149 bool temp1
= False
;
3150 bool temp2
= False
;
3151 bool temp3
= False
;
3152 PyObject
* obj0
= 0 ;
3153 PyObject
* obj1
= 0 ;
3154 PyObject
* obj2
= 0 ;
3155 PyObject
* obj3
= 0 ;
3157 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3162 arg1
= wxString_in_helper(obj0
);
3163 if (arg1
== NULL
) SWIG_fail
;
3167 arg2
= wxString_in_helper(obj1
);
3168 if (arg2
== NULL
) SWIG_fail
;
3173 arg3
= wxString_in_helper(obj2
);
3174 if (arg3
== NULL
) SWIG_fail
;
3179 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3183 if (!wxPyCheckForApp()) SWIG_fail
;
3184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3185 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3187 wxPyEndAllowThreads(__tstate
);
3188 if (PyErr_Occurred()) SWIG_fail
;
3192 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3194 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3227 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3230 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3231 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3232 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3233 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3234 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3235 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3236 wxWindow
*arg5
= (wxWindow
*) NULL
;
3238 bool temp1
= False
;
3239 bool temp2
= False
;
3241 PyObject
* obj0
= 0 ;
3242 PyObject
* obj1
= 0 ;
3243 PyObject
* obj2
= 0 ;
3244 PyObject
* obj3
= 0 ;
3245 PyObject
* obj4
= 0 ;
3247 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3253 arg1
= wxString_in_helper(obj0
);
3254 if (arg1
== NULL
) SWIG_fail
;
3260 arg2
= wxString_in_helper(obj1
);
3261 if (arg2
== NULL
) SWIG_fail
;
3266 arg3
= (long) SWIG_AsLong(obj2
);
3267 if (PyErr_Occurred()) SWIG_fail
;
3272 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3276 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3280 if (!wxPyCheckForApp()) SWIG_fail
;
3281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3282 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3284 wxPyEndAllowThreads(__tstate
);
3285 if (PyErr_Occurred()) SWIG_fail
;
3289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3316 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 wxString
*arg1
= 0 ;
3319 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3320 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3321 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3322 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3323 wxWindow
*arg4
= (wxWindow
*) NULL
;
3324 int arg5
= (int) -1 ;
3325 int arg6
= (int) -1 ;
3326 bool arg7
= (bool) True
;
3328 bool temp1
= False
;
3329 bool temp2
= False
;
3330 bool temp3
= False
;
3331 PyObject
* obj0
= 0 ;
3332 PyObject
* obj1
= 0 ;
3333 PyObject
* obj2
= 0 ;
3334 PyObject
* obj3
= 0 ;
3335 PyObject
* obj4
= 0 ;
3336 PyObject
* obj5
= 0 ;
3337 PyObject
* obj6
= 0 ;
3339 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3344 arg1
= wxString_in_helper(obj0
);
3345 if (arg1
== NULL
) SWIG_fail
;
3350 arg2
= wxString_in_helper(obj1
);
3351 if (arg2
== NULL
) SWIG_fail
;
3357 arg3
= wxString_in_helper(obj2
);
3358 if (arg3
== NULL
) SWIG_fail
;
3363 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3367 arg5
= (int) SWIG_AsInt(obj4
);
3368 if (PyErr_Occurred()) SWIG_fail
;
3371 arg6
= (int) SWIG_AsInt(obj5
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3375 arg7
= (bool) SWIG_AsBool(obj6
);
3376 if (PyErr_Occurred()) SWIG_fail
;
3379 if (!wxPyCheckForApp()) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3423 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3424 PyObject
*resultobj
;
3425 wxString
*arg1
= 0 ;
3426 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3427 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3428 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3429 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3430 wxWindow
*arg4
= (wxWindow
*) NULL
;
3432 bool temp1
= False
;
3433 bool temp2
= False
;
3434 bool temp3
= False
;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj1
= 0 ;
3437 PyObject
* obj2
= 0 ;
3438 PyObject
* obj3
= 0 ;
3440 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3445 arg1
= wxString_in_helper(obj0
);
3446 if (arg1
== NULL
) SWIG_fail
;
3451 arg2
= wxString_in_helper(obj1
);
3452 if (arg2
== NULL
) SWIG_fail
;
3458 arg3
= wxString_in_helper(obj2
);
3459 if (arg3
== NULL
) SWIG_fail
;
3464 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3468 if (!wxPyCheckForApp()) SWIG_fail
;
3469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3470 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3472 wxPyEndAllowThreads(__tstate
);
3473 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3479 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3512 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxString
*arg1
= 0 ;
3515 wxString
*arg2
= 0 ;
3517 wxString
*arg4
= (wxString
*) 0 ;
3518 wxWindow
*arg5
= (wxWindow
*) NULL
;
3519 int arg6
= (int) -1 ;
3520 int arg7
= (int) -1 ;
3521 bool arg8
= (bool) True
;
3522 int arg9
= (int) 150 ;
3523 int arg10
= (int) 200 ;
3525 bool temp1
= False
;
3526 bool temp2
= False
;
3527 PyObject
* obj0
= 0 ;
3528 PyObject
* obj1
= 0 ;
3529 PyObject
* obj2
= 0 ;
3530 PyObject
* obj3
= 0 ;
3531 PyObject
* obj4
= 0 ;
3532 PyObject
* obj5
= 0 ;
3533 PyObject
* obj6
= 0 ;
3534 PyObject
* obj7
= 0 ;
3535 PyObject
* obj8
= 0 ;
3537 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3542 arg1
= wxString_in_helper(obj0
);
3543 if (arg1
== NULL
) SWIG_fail
;
3547 arg2
= wxString_in_helper(obj1
);
3548 if (arg2
== NULL
) SWIG_fail
;
3552 arg3
= PyList_Size(obj2
);
3553 arg4
= wxString_LIST_helper(obj2
);
3554 if (arg4
== NULL
) SWIG_fail
;
3557 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3561 arg6
= (int) SWIG_AsInt(obj4
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3565 arg7
= (int) SWIG_AsInt(obj5
);
3566 if (PyErr_Occurred()) SWIG_fail
;
3569 arg8
= (bool) SWIG_AsBool(obj6
);
3570 if (PyErr_Occurred()) SWIG_fail
;
3573 arg9
= (int) SWIG_AsInt(obj7
);
3574 if (PyErr_Occurred()) SWIG_fail
;
3577 arg10
= (int) SWIG_AsInt(obj8
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3581 if (!wxPyCheckForApp()) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3592 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3604 if (arg4
) delete [] arg4
;
3617 if (arg4
) delete [] arg4
;
3623 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxString
*arg1
= 0 ;
3626 wxString
*arg2
= 0 ;
3628 wxString
*arg4
= (wxString
*) 0 ;
3629 wxWindow
*arg5
= (wxWindow
*) NULL
;
3630 int arg6
= (int) -1 ;
3631 int arg7
= (int) -1 ;
3632 bool arg8
= (bool) True
;
3633 int arg9
= (int) 150 ;
3634 int arg10
= (int) 200 ;
3636 bool temp1
= False
;
3637 bool temp2
= False
;
3638 PyObject
* obj0
= 0 ;
3639 PyObject
* obj1
= 0 ;
3640 PyObject
* obj2
= 0 ;
3641 PyObject
* obj3
= 0 ;
3642 PyObject
* obj4
= 0 ;
3643 PyObject
* obj5
= 0 ;
3644 PyObject
* obj6
= 0 ;
3645 PyObject
* obj7
= 0 ;
3646 PyObject
* obj8
= 0 ;
3648 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3653 arg1
= wxString_in_helper(obj0
);
3654 if (arg1
== NULL
) SWIG_fail
;
3658 arg2
= wxString_in_helper(obj1
);
3659 if (arg2
== NULL
) SWIG_fail
;
3663 arg3
= PyList_Size(obj2
);
3664 arg4
= wxString_LIST_helper(obj2
);
3665 if (arg4
== NULL
) SWIG_fail
;
3668 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3672 arg6
= (int) SWIG_AsInt(obj4
);
3673 if (PyErr_Occurred()) SWIG_fail
;
3676 arg7
= (int) SWIG_AsInt(obj5
);
3677 if (PyErr_Occurred()) SWIG_fail
;
3680 arg8
= (bool) SWIG_AsBool(obj6
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3684 arg9
= (int) SWIG_AsInt(obj7
);
3685 if (PyErr_Occurred()) SWIG_fail
;
3688 arg10
= (int) SWIG_AsInt(obj8
);
3689 if (PyErr_Occurred()) SWIG_fail
;
3692 if (!wxPyCheckForApp()) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 resultobj
= SWIG_FromInt((int)result
);
3709 if (arg4
) delete [] arg4
;
3722 if (arg4
) delete [] arg4
;
3728 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3729 PyObject
*resultobj
;
3730 wxString
*arg1
= 0 ;
3731 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3732 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3733 int arg3
= (int) wxOK
|wxCENTRE
;
3734 wxWindow
*arg4
= (wxWindow
*) NULL
;
3735 int arg5
= (int) -1 ;
3736 int arg6
= (int) -1 ;
3738 bool temp1
= False
;
3739 bool temp2
= False
;
3740 PyObject
* obj0
= 0 ;
3741 PyObject
* obj1
= 0 ;
3742 PyObject
* obj2
= 0 ;
3743 PyObject
* obj3
= 0 ;
3744 PyObject
* obj4
= 0 ;
3745 PyObject
* obj5
= 0 ;
3747 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3752 arg1
= wxString_in_helper(obj0
);
3753 if (arg1
== NULL
) SWIG_fail
;
3758 arg2
= wxString_in_helper(obj1
);
3759 if (arg2
== NULL
) SWIG_fail
;
3764 arg3
= (int) SWIG_AsInt(obj2
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3768 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3772 arg5
= (int) SWIG_AsInt(obj4
);
3773 if (PyErr_Occurred()) SWIG_fail
;
3776 arg6
= (int) SWIG_AsInt(obj5
);
3777 if (PyErr_Occurred()) SWIG_fail
;
3780 if (!wxPyCheckForApp()) SWIG_fail
;
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 resultobj
= SWIG_FromInt((int)result
);
3810 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
;
3812 wxString
*arg1
= 0 ;
3813 wxString
*arg2
= 0 ;
3814 wxString
*arg3
= 0 ;
3816 long arg5
= (long) 0 ;
3817 long arg6
= (long) 100 ;
3818 wxWindow
*arg7
= (wxWindow
*) NULL
;
3819 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3820 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3822 bool temp1
= False
;
3823 bool temp2
= False
;
3824 bool temp3
= False
;
3826 PyObject
* obj0
= 0 ;
3827 PyObject
* obj1
= 0 ;
3828 PyObject
* obj2
= 0 ;
3829 PyObject
* obj3
= 0 ;
3830 PyObject
* obj4
= 0 ;
3831 PyObject
* obj5
= 0 ;
3832 PyObject
* obj6
= 0 ;
3833 PyObject
* obj7
= 0 ;
3835 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3840 arg1
= wxString_in_helper(obj0
);
3841 if (arg1
== NULL
) SWIG_fail
;
3845 arg2
= wxString_in_helper(obj1
);
3846 if (arg2
== NULL
) SWIG_fail
;
3850 arg3
= wxString_in_helper(obj2
);
3851 if (arg3
== NULL
) SWIG_fail
;
3854 arg4
= (long) SWIG_AsLong(obj3
);
3855 if (PyErr_Occurred()) SWIG_fail
;
3857 arg5
= (long) SWIG_AsLong(obj4
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3861 arg6
= (long) SWIG_AsLong(obj5
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3865 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3871 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3875 if (!wxPyCheckForApp()) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3882 resultobj
= SWIG_FromLong((long)result
);
3913 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3922 if (!wxPyCheckForApp()) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (bool)wxColourDisplay();
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3938 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3939 PyObject
*resultobj
;
3945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3947 if (!wxPyCheckForApp()) SWIG_fail
;
3948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3949 result
= (int)wxDisplayDepth();
3951 wxPyEndAllowThreads(__tstate
);
3952 if (PyErr_Occurred()) SWIG_fail
;
3954 resultobj
= SWIG_FromInt((int)result
);
3961 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3962 PyObject
*resultobj
;
3968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3970 if (!wxPyCheckForApp()) SWIG_fail
;
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3972 result
= (int)wxGetDisplayDepth();
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 resultobj
= SWIG_FromInt((int)result
);
3984 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 int *arg1
= (int *) 0 ;
3987 int *arg2
= (int *) 0 ;
3996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3998 if (!wxPyCheckForApp()) SWIG_fail
;
3999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4000 wxDisplaySize(arg1
,arg2
);
4002 wxPyEndAllowThreads(__tstate
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4005 Py_INCREF(Py_None
); resultobj
= Py_None
;
4007 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4008 resultobj
= t_output_helper(resultobj
,o
);
4011 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4012 resultobj
= t_output_helper(resultobj
,o
);
4020 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4021 PyObject
*resultobj
;
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
4029 if (!wxPyCheckForApp()) SWIG_fail
;
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4031 result
= wxGetDisplaySize();
4033 wxPyEndAllowThreads(__tstate
);
4034 if (PyErr_Occurred()) SWIG_fail
;
4038 resultptr
= new wxSize((wxSize
&) result
);
4039 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4047 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4048 PyObject
*resultobj
;
4049 int *arg1
= (int *) 0 ;
4050 int *arg2
= (int *) 0 ;
4059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
4061 if (!wxPyCheckForApp()) SWIG_fail
;
4062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4063 wxDisplaySizeMM(arg1
,arg2
);
4065 wxPyEndAllowThreads(__tstate
);
4066 if (PyErr_Occurred()) SWIG_fail
;
4068 Py_INCREF(Py_None
); resultobj
= Py_None
;
4070 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4071 resultobj
= t_output_helper(resultobj
,o
);
4074 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4075 resultobj
= t_output_helper(resultobj
,o
);
4083 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
;
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
4092 if (!wxPyCheckForApp()) SWIG_fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= wxGetDisplaySizeMM();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4101 resultptr
= new wxSize((wxSize
&) result
);
4102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4110 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 int *arg1
= (int *) 0 ;
4113 int *arg2
= (int *) 0 ;
4114 int *arg3
= (int *) 0 ;
4115 int *arg4
= (int *) 0 ;
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
4130 if (!wxPyCheckForApp()) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 Py_INCREF(Py_None
); resultobj
= Py_None
;
4139 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
4140 resultobj
= t_output_helper(resultobj
,o
);
4143 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4144 resultobj
= t_output_helper(resultobj
,o
);
4147 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4148 resultobj
= t_output_helper(resultobj
,o
);
4151 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
4152 resultobj
= t_output_helper(resultobj
,o
);
4160 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
;
4167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4169 if (!wxPyCheckForApp()) SWIG_fail
;
4170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4171 result
= wxGetClientDisplayRect();
4173 wxPyEndAllowThreads(__tstate
);
4174 if (PyErr_Occurred()) SWIG_fail
;
4178 resultptr
= new wxRect((wxRect
&) result
);
4179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4187 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4188 PyObject
*resultobj
;
4189 wxCursor
*arg1
= 0 ;
4190 PyObject
* obj0
= 0 ;
4192 (char *) "cursor", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4200 PyErr_SetString(PyExc_TypeError
,"null reference");
4204 if (!wxPyCheckForApp()) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 Py_INCREF(Py_None
); resultobj
= Py_None
;
4218 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4221 PyObject
* obj0
= 0 ;
4223 (char *) "cursor", NULL
4226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4232 if (!wxPyCheckForApp()) SWIG_fail
;
4233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4234 wxBeginBusyCursor(arg1
);
4236 wxPyEndAllowThreads(__tstate
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 Py_INCREF(Py_None
); resultobj
= Py_None
;
4246 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
;
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4255 if (!wxPyCheckForApp()) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 result
= (wxWindow
*)wxGetActiveWindow();
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= wxPyMake_wxObject(result
, 0);
4271 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
*resultobj
;
4276 PyObject
* obj0
= 0 ;
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4284 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4287 if (!wxPyCheckForApp()) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4291 wxPyEndAllowThreads(__tstate
);
4292 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= wxPyMake_wxObject(result
, 0);
4303 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4308 PyObject
* obj0
= 0 ;
4313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4316 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4319 if (!wxPyCheckForApp()) SWIG_fail
;
4320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4323 wxPyEndAllowThreads(__tstate
);
4324 if (PyErr_Occurred()) SWIG_fail
;
4327 resultobj
= wxPyMake_wxObject(result
, 0);
4335 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxWindow
*arg1
= (wxWindow
*) 0 ;
4339 PyObject
* obj0
= 0 ;
4341 (char *) "win", NULL
4344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4348 if (!wxPyCheckForApp()) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4350 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4352 wxPyEndAllowThreads(__tstate
);
4353 if (PyErr_Occurred()) SWIG_fail
;
4356 resultobj
= wxPyMake_wxObject(result
, 0);
4364 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4365 PyObject
*resultobj
;
4368 PyObject
* obj0
= 0 ;
4370 (char *) "key", NULL
4373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4374 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 if (!wxPyCheckForApp()) SWIG_fail
;
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4393 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4401 if (!wxPyCheckForApp()) SWIG_fail
;
4402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4403 wxWakeUpMainThread();
4405 wxPyEndAllowThreads(__tstate
);
4406 if (PyErr_Occurred()) SWIG_fail
;
4408 Py_INCREF(Py_None
); resultobj
= Py_None
;
4415 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4416 PyObject
*resultobj
;
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4423 if (!wxPyCheckForApp()) SWIG_fail
;
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 Py_INCREF(Py_None
); resultobj
= Py_None
;
4437 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4445 if (!wxPyCheckForApp()) SWIG_fail
;
4446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 wxPyEndAllowThreads(__tstate
);
4450 if (PyErr_Occurred()) SWIG_fail
;
4452 Py_INCREF(Py_None
); resultobj
= Py_None
;
4459 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4460 PyObject
*resultobj
;
4461 wxMutexGuiLocker
*result
;
4466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4468 if (!wxPyCheckForApp()) SWIG_fail
;
4469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4472 wxPyEndAllowThreads(__tstate
);
4473 if (PyErr_Occurred()) SWIG_fail
;
4475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4482 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4483 PyObject
*resultobj
;
4484 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4485 PyObject
* obj0
= 0 ;
4487 (char *) "self", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4497 wxPyEndAllowThreads(__tstate
);
4498 if (PyErr_Occurred()) SWIG_fail
;
4500 Py_INCREF(Py_None
); resultobj
= Py_None
;
4507 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4510 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4512 return Py_BuildValue((char *)"");
4514 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4515 PyObject
*resultobj
;
4521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 result
= (bool)wxThread_IsMain();
4526 wxPyEndAllowThreads(__tstate
);
4527 if (PyErr_Occurred()) SWIG_fail
;
4530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4538 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4539 PyObject
*resultobj
;
4540 wxString
*arg1
= 0 ;
4542 bool temp1
= False
;
4543 PyObject
* obj0
= 0 ;
4545 (char *) "tip", NULL
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4550 arg1
= wxString_in_helper(obj0
);
4551 if (arg1
== NULL
) SWIG_fail
;
4555 if (!wxPyCheckForApp()) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= wxPyMake_wxObject(result
, 1);
4579 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4582 wxString
*arg2
= 0 ;
4583 bool temp2
= False
;
4584 PyObject
* obj0
= 0 ;
4585 PyObject
* obj1
= 0 ;
4587 (char *) "self",(char *) "tip", NULL
4590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4594 arg2
= wxString_in_helper(obj1
);
4595 if (arg2
== NULL
) SWIG_fail
;
4599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4600 (arg1
)->SetTip((wxString
const &)*arg2
);
4602 wxPyEndAllowThreads(__tstate
);
4603 if (PyErr_Occurred()) SWIG_fail
;
4605 Py_INCREF(Py_None
); resultobj
= Py_None
;
4620 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4621 PyObject
*resultobj
;
4622 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4624 PyObject
* obj0
= 0 ;
4626 (char *) "self", NULL
4629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 result
= (arg1
)->GetTip();
4636 wxPyEndAllowThreads(__tstate
);
4637 if (PyErr_Occurred()) SWIG_fail
;
4641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4652 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4653 PyObject
*resultobj
;
4654 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4656 PyObject
* obj0
= 0 ;
4658 (char *) "self", NULL
4661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 result
= (wxWindow
*)(arg1
)->GetWindow();
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4672 resultobj
= wxPyMake_wxObject(result
, 0);
4680 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
;
4683 PyObject
* obj0
= 0 ;
4685 (char *) "flag", NULL
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4689 arg1
= (bool) SWIG_AsBool(obj0
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 wxToolTip::Enable(arg1
);
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4698 Py_INCREF(Py_None
); resultobj
= Py_None
;
4705 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4708 PyObject
* obj0
= 0 ;
4710 (char *) "milliseconds", NULL
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4714 arg1
= (long) SWIG_AsLong(obj0
);
4715 if (PyErr_Occurred()) SWIG_fail
;
4717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4718 wxToolTip::SetDelay(arg1
);
4720 wxPyEndAllowThreads(__tstate
);
4721 if (PyErr_Occurred()) SWIG_fail
;
4723 Py_INCREF(Py_None
); resultobj
= Py_None
;
4730 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4733 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4735 return Py_BuildValue((char *)"");
4737 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxWindow
*arg1
= (wxWindow
*) 0 ;
4743 PyObject
* obj0
= 0 ;
4744 PyObject
* obj1
= 0 ;
4746 (char *) "window",(char *) "size", NULL
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4754 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4757 if (!wxPyCheckForApp()) SWIG_fail
;
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4771 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 wxCaret
*arg1
= (wxCaret
*) 0 ;
4774 PyObject
* obj0
= 0 ;
4776 (char *) "self", NULL
4779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 Py_INCREF(Py_None
); resultobj
= Py_None
;
4796 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4798 wxCaret
*arg1
= (wxCaret
*) 0 ;
4800 PyObject
* obj0
= 0 ;
4802 (char *) "self", NULL
4805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4810 result
= (bool)(arg1
)->IsOk();
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4824 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4825 PyObject
*resultobj
;
4826 wxCaret
*arg1
= (wxCaret
*) 0 ;
4828 PyObject
* obj0
= 0 ;
4830 (char *) "self", NULL
4833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 result
= (bool)(arg1
)->IsVisible();
4840 wxPyEndAllowThreads(__tstate
);
4841 if (PyErr_Occurred()) SWIG_fail
;
4844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4852 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4853 PyObject
*resultobj
;
4854 wxCaret
*arg1
= (wxCaret
*) 0 ;
4856 PyObject
* obj0
= 0 ;
4858 (char *) "self", NULL
4861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 result
= (arg1
)->GetPosition();
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4872 wxPoint
* resultptr
;
4873 resultptr
= new wxPoint((wxPoint
&) result
);
4874 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4882 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
*resultobj
;
4884 wxCaret
*arg1
= (wxCaret
*) 0 ;
4885 int *arg2
= (int *) 0 ;
4886 int *arg3
= (int *) 0 ;
4889 PyObject
* obj0
= 0 ;
4891 (char *) "self", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 (arg1
)->GetPosition(arg2
,arg3
);
4903 wxPyEndAllowThreads(__tstate
);
4904 if (PyErr_Occurred()) SWIG_fail
;
4906 Py_INCREF(Py_None
); resultobj
= Py_None
;
4908 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4909 resultobj
= t_output_helper(resultobj
,o
);
4912 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4913 resultobj
= t_output_helper(resultobj
,o
);
4921 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4922 PyObject
*resultobj
;
4923 wxCaret
*arg1
= (wxCaret
*) 0 ;
4925 PyObject
* obj0
= 0 ;
4927 (char *) "self", NULL
4930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4935 result
= (arg1
)->GetSize();
4937 wxPyEndAllowThreads(__tstate
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4942 resultptr
= new wxSize((wxSize
&) result
);
4943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4951 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxCaret
*arg1
= (wxCaret
*) 0 ;
4954 int *arg2
= (int *) 0 ;
4955 int *arg3
= (int *) 0 ;
4958 PyObject
* obj0
= 0 ;
4960 (char *) "self", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 (arg1
)->GetSize(arg2
,arg3
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 Py_INCREF(Py_None
); resultobj
= Py_None
;
4977 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4978 resultobj
= t_output_helper(resultobj
,o
);
4981 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4982 resultobj
= t_output_helper(resultobj
,o
);
4990 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxCaret
*arg1
= (wxCaret
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4996 (char *) "self", NULL
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
5000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5004 result
= (wxWindow
*)(arg1
)->GetWindow();
5006 wxPyEndAllowThreads(__tstate
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= wxPyMake_wxObject(result
, 0);
5018 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
;
5020 wxCaret
*arg1
= (wxCaret
*) 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5025 PyObject
* obj2
= 0 ;
5027 (char *) "self",(char *) "x",(char *) "y", NULL
5030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5033 arg2
= (int) SWIG_AsInt(obj1
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5035 arg3
= (int) SWIG_AsInt(obj2
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 (arg1
)->Move(arg2
,arg3
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 Py_INCREF(Py_None
); resultobj
= Py_None
;
5051 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxCaret
*arg1
= (wxCaret
*) 0 ;
5056 PyObject
* obj0
= 0 ;
5057 PyObject
* obj1
= 0 ;
5059 (char *) "self",(char *) "pt", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5067 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 (arg1
)->Move((wxPoint
const &)*arg2
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 Py_INCREF(Py_None
); resultobj
= Py_None
;
5083 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxCaret
*arg1
= (wxCaret
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5089 PyObject
* obj1
= 0 ;
5090 PyObject
* obj2
= 0 ;
5092 (char *) "self",(char *) "width",(char *) "height", NULL
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5098 arg2
= (int) SWIG_AsInt(obj1
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5100 arg3
= (int) SWIG_AsInt(obj2
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 (arg1
)->SetSize(arg2
,arg3
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 Py_INCREF(Py_None
); resultobj
= Py_None
;
5116 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
*resultobj
;
5118 wxCaret
*arg1
= (wxCaret
*) 0 ;
5121 PyObject
* obj0
= 0 ;
5122 PyObject
* obj1
= 0 ;
5124 (char *) "self",(char *) "size", NULL
5127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
5128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5132 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 (arg1
)->SetSize((wxSize
const &)*arg2
);
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5141 Py_INCREF(Py_None
); resultobj
= Py_None
;
5148 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5149 PyObject
*resultobj
;
5150 wxCaret
*arg1
= (wxCaret
*) 0 ;
5151 int arg2
= (int) True
;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5155 (char *) "self",(char *) "show", NULL
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
5159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5162 arg2
= (int) SWIG_AsInt(obj1
);
5163 if (PyErr_Occurred()) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 Py_INCREF(Py_None
); resultobj
= Py_None
;
5179 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5180 PyObject
*resultobj
;
5181 wxCaret
*arg1
= (wxCaret
*) 0 ;
5182 PyObject
* obj0
= 0 ;
5184 (char *) "self", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 Py_INCREF(Py_None
); resultobj
= Py_None
;
5204 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5207 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5209 return Py_BuildValue((char *)"");
5211 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5221 result
= (int)wxCaret_GetBlinkTime();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_FromInt((int)result
);
5233 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5236 PyObject
* obj0
= 0 ;
5238 (char *) "milliseconds", NULL
5241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5242 arg1
= (int) SWIG_AsInt(obj0
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 wxCaret_SetBlinkTime(arg1
);
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5251 Py_INCREF(Py_None
); resultobj
= Py_None
;
5258 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5259 PyObject
*resultobj
;
5260 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5261 wxBusyCursor
*result
;
5262 PyObject
* obj0
= 0 ;
5264 (char *) "cursor", NULL
5267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5273 if (!wxPyCheckForApp()) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5275 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5277 wxPyEndAllowThreads(__tstate
);
5278 if (PyErr_Occurred()) SWIG_fail
;
5280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5287 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5288 PyObject
*resultobj
;
5289 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5290 PyObject
* obj0
= 0 ;
5292 (char *) "self", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 wxPyEndAllowThreads(__tstate
);
5303 if (PyErr_Occurred()) SWIG_fail
;
5305 Py_INCREF(Py_None
); resultobj
= Py_None
;
5312 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5315 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5317 return Py_BuildValue((char *)"");
5319 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5320 PyObject
*resultobj
;
5321 wxWindow
*arg1
= (wxWindow
*) NULL
;
5322 wxWindowDisabler
*result
;
5323 PyObject
* obj0
= 0 ;
5325 (char *) "winToSkip", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5334 if (!wxPyCheckForApp()) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5336 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5348 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5349 PyObject
*resultobj
;
5350 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5351 PyObject
* obj0
= 0 ;
5353 (char *) "self", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5363 wxPyEndAllowThreads(__tstate
);
5364 if (PyErr_Occurred()) SWIG_fail
;
5366 Py_INCREF(Py_None
); resultobj
= Py_None
;
5373 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5376 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5378 return Py_BuildValue((char *)"");
5380 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5381 PyObject
*resultobj
;
5382 wxString
*arg1
= 0 ;
5384 bool temp1
= False
;
5385 PyObject
* obj0
= 0 ;
5387 (char *) "message", NULL
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5392 arg1
= wxString_in_helper(obj0
);
5393 if (arg1
== NULL
) SWIG_fail
;
5397 if (!wxPyCheckForApp()) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5399 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5401 wxPyEndAllowThreads(__tstate
);
5402 if (PyErr_Occurred()) SWIG_fail
;
5404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5419 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5420 PyObject
*resultobj
;
5421 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5422 PyObject
* obj0
= 0 ;
5424 (char *) "self", NULL
5427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 Py_INCREF(Py_None
); resultobj
= Py_None
;
5444 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5447 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5449 return Py_BuildValue((char *)"");
5451 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxStopWatch
*result
;
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 result
= (wxStopWatch
*)new wxStopWatch();
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5473 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5474 PyObject
*resultobj
;
5475 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5476 long arg2
= (long) 0 ;
5477 PyObject
* obj0
= 0 ;
5478 PyObject
* obj1
= 0 ;
5480 (char *) "self",(char *) "t0", NULL
5483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5487 arg2
= (long) SWIG_AsLong(obj1
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 (arg1
)->Start(arg2
);
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5497 Py_INCREF(Py_None
); resultobj
= Py_None
;
5504 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5507 PyObject
* obj0
= 0 ;
5509 (char *) "self", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 Py_INCREF(Py_None
); resultobj
= Py_None
;
5529 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 Py_INCREF(Py_None
); resultobj
= Py_None
;
5554 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5560 (char *) "self", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5573 resultobj
= SWIG_FromLong((long)result
);
5580 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5583 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5585 return Py_BuildValue((char *)"");
5587 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 int arg1
= (int) 9 ;
5590 int arg2
= (int) wxID_FILE1
;
5591 wxFileHistory
*result
;
5592 PyObject
* obj0
= 0 ;
5593 PyObject
* obj1
= 0 ;
5595 (char *) "maxFiles",(char *) "idBase", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FileHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5600 arg1
= (int) SWIG_AsInt(obj0
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5604 arg2
= (int) SWIG_AsInt(obj1
);
5605 if (PyErr_Occurred()) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 result
= (wxFileHistory
*)new wxFileHistory(arg1
,arg2
);
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5621 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5623 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5624 PyObject
* obj0
= 0 ;
5626 (char *) "self", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5639 Py_INCREF(Py_None
); resultobj
= Py_None
;
5646 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5647 PyObject
*resultobj
;
5648 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5649 wxString
*arg2
= 0 ;
5650 bool temp2
= False
;
5651 PyObject
* obj0
= 0 ;
5652 PyObject
* obj1
= 0 ;
5654 (char *) "self",(char *) "file", NULL
5657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5661 arg2
= wxString_in_helper(obj1
);
5662 if (arg2
== NULL
) SWIG_fail
;
5666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5667 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5669 wxPyEndAllowThreads(__tstate
);
5670 if (PyErr_Occurred()) SWIG_fail
;
5672 Py_INCREF(Py_None
); resultobj
= Py_None
;
5687 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5688 PyObject
*resultobj
;
5689 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5691 PyObject
* obj0
= 0 ;
5692 PyObject
* obj1
= 0 ;
5694 (char *) "self",(char *) "i", NULL
5697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5700 arg2
= (int) SWIG_AsInt(obj1
);
5701 if (PyErr_Occurred()) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 (arg1
)->RemoveFileFromHistory(arg2
);
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5709 Py_INCREF(Py_None
); resultobj
= Py_None
;
5716 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5717 PyObject
*resultobj
;
5718 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5720 PyObject
* obj0
= 0 ;
5722 (char *) "self", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= SWIG_FromInt((int)result
);
5742 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5743 PyObject
*resultobj
;
5744 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5745 wxMenu
*arg2
= (wxMenu
*) 0 ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5749 (char *) "self",(char *) "menu", NULL
5752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5759 (arg1
)->UseMenu(arg2
);
5761 wxPyEndAllowThreads(__tstate
);
5762 if (PyErr_Occurred()) SWIG_fail
;
5764 Py_INCREF(Py_None
); resultobj
= Py_None
;
5771 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5772 PyObject
*resultobj
;
5773 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5774 wxMenu
*arg2
= (wxMenu
*) 0 ;
5775 PyObject
* obj0
= 0 ;
5776 PyObject
* obj1
= 0 ;
5778 (char *) "self",(char *) "menu", NULL
5781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 (arg1
)->RemoveMenu(arg2
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 Py_INCREF(Py_None
); resultobj
= Py_None
;
5800 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
;
5802 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5803 wxConfigBase
*arg2
= 0 ;
5804 PyObject
* obj0
= 0 ;
5805 PyObject
* obj1
= 0 ;
5807 (char *) "self",(char *) "config", NULL
5810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5817 PyErr_SetString(PyExc_TypeError
,"null reference");
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 (arg1
)->Load(*arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 Py_INCREF(Py_None
); resultobj
= Py_None
;
5834 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5837 wxConfigBase
*arg2
= 0 ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5841 (char *) "self",(char *) "config", NULL
5844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5851 PyErr_SetString(PyExc_TypeError
,"null reference");
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 (arg1
)->Save(*arg2
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 Py_INCREF(Py_None
); resultobj
= Py_None
;
5868 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5871 PyObject
* obj0
= 0 ;
5873 (char *) "self", NULL
5876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5881 (arg1
)->AddFilesToMenu();
5883 wxPyEndAllowThreads(__tstate
);
5884 if (PyErr_Occurred()) SWIG_fail
;
5886 Py_INCREF(Py_None
); resultobj
= Py_None
;
5893 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5894 PyObject
*resultobj
;
5895 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5896 wxMenu
*arg2
= (wxMenu
*) 0 ;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj1
= 0 ;
5900 (char *) "self",(char *) "menu", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 (arg1
)->AddFilesToMenu(arg2
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 Py_INCREF(Py_None
); resultobj
= Py_None
;
5922 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5927 PyObject
* obj0
= 0 ;
5928 PyObject
* obj1
= 0 ;
5930 (char *) "self",(char *) "i", NULL
5933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5936 arg2
= (int) SWIG_AsInt(obj1
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5940 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5942 wxPyEndAllowThreads(__tstate
);
5943 if (PyErr_Occurred()) SWIG_fail
;
5947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5958 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5964 (char *) "self", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_FromInt((int)result
);
5984 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5987 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5989 return Py_BuildValue((char *)"");
5991 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
;
5993 wxString
*arg1
= 0 ;
5994 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5995 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5996 wxSingleInstanceChecker
*result
;
5997 bool temp1
= False
;
5998 bool temp2
= False
;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6002 (char *) "name",(char *) "path", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
6007 arg1
= wxString_in_helper(obj0
);
6008 if (arg1
== NULL
) SWIG_fail
;
6013 arg2
= wxString_in_helper(obj1
);
6014 if (arg2
== NULL
) SWIG_fail
;
6019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6020 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
6022 wxPyEndAllowThreads(__tstate
);
6023 if (PyErr_Occurred()) SWIG_fail
;
6025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6048 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6049 PyObject
*resultobj
;
6050 wxSingleInstanceChecker
*result
;
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
6070 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6071 PyObject
*resultobj
;
6072 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6073 PyObject
* obj0
= 0 ;
6075 (char *) "self", NULL
6078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
6079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6085 wxPyEndAllowThreads(__tstate
);
6086 if (PyErr_Occurred()) SWIG_fail
;
6088 Py_INCREF(Py_None
); resultobj
= Py_None
;
6095 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6096 PyObject
*resultobj
;
6097 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6098 wxString
*arg2
= 0 ;
6099 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6100 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6102 bool temp2
= False
;
6103 bool temp3
= False
;
6104 PyObject
* obj0
= 0 ;
6105 PyObject
* obj1
= 0 ;
6106 PyObject
* obj2
= 0 ;
6108 (char *) "self",(char *) "name",(char *) "path", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6115 arg2
= wxString_in_helper(obj1
);
6116 if (arg2
== NULL
) SWIG_fail
;
6121 arg3
= wxString_in_helper(obj2
);
6122 if (arg3
== NULL
) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6158 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6159 PyObject
*resultobj
;
6160 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
6162 PyObject
* obj0
= 0 ;
6164 (char *) "self", NULL
6167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
6168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
6169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6172 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6186 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6189 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6191 return Py_BuildValue((char *)"");
6193 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxWindow
*arg1
= (wxWindow
*) 0 ;
6198 PyObject
* obj0
= 0 ;
6199 PyObject
* obj1
= 0 ;
6200 PyObject
* obj2
= 0 ;
6202 (char *) "window",(char *) "dc",(char *) "method", NULL
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6209 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6212 PyErr_SetString(PyExc_TypeError
,"null reference");
6215 arg3
= (int) SWIG_AsInt(obj2
);
6216 if (PyErr_Occurred()) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 Py_INCREF(Py_None
); resultobj
= Py_None
;
6231 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6232 PyObject
*resultobj
;
6233 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6234 PyObject
* obj0
= 0 ;
6236 (char *) "self", NULL
6239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 wxPyEndAllowThreads(__tstate
);
6247 if (PyErr_Occurred()) SWIG_fail
;
6249 Py_INCREF(Py_None
); resultobj
= Py_None
;
6256 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6257 PyObject
*resultobj
;
6258 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6260 PyObject
* obj0
= 0 ;
6262 (char *) "self", NULL
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6270 result
= (arg1
)->GetTip();
6272 wxPyEndAllowThreads(__tstate
);
6273 if (PyErr_Occurred()) SWIG_fail
;
6277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6288 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6289 PyObject
*resultobj
;
6290 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6292 PyObject
* obj0
= 0 ;
6294 (char *) "self", NULL
6297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6302 result
= (size_t)(arg1
)->GetCurrentTip();
6304 wxPyEndAllowThreads(__tstate
);
6305 if (PyErr_Occurred()) SWIG_fail
;
6307 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6314 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6315 PyObject
*resultobj
;
6316 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6317 wxString
*arg2
= 0 ;
6319 bool temp2
= False
;
6320 PyObject
* obj0
= 0 ;
6321 PyObject
* obj1
= 0 ;
6323 (char *) "self",(char *) "tip", NULL
6326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6330 arg2
= wxString_in_helper(obj1
);
6331 if (arg2
== NULL
) SWIG_fail
;
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6362 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6365 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6367 return Py_BuildValue((char *)"");
6369 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6370 PyObject
*resultobj
;
6372 wxPyTipProvider
*result
;
6373 PyObject
* obj0
= 0 ;
6375 (char *) "currentTip", NULL
6378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6379 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6383 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6385 wxPyEndAllowThreads(__tstate
);
6386 if (PyErr_Occurred()) SWIG_fail
;
6388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6395 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6398 PyObject
*arg2
= (PyObject
*) 0 ;
6399 PyObject
*arg3
= (PyObject
*) 0 ;
6400 PyObject
* obj0
= 0 ;
6401 PyObject
* obj1
= 0 ;
6402 PyObject
* obj2
= 0 ;
6404 (char *) "self",(char *) "self",(char *) "_class", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 Py_INCREF(Py_None
); resultobj
= Py_None
;
6426 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6428 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6429 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6431 return Py_BuildValue((char *)"");
6433 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxWindow
*arg1
= (wxWindow
*) 0 ;
6436 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6437 bool arg3
= (bool) True
;
6439 PyObject
* obj0
= 0 ;
6440 PyObject
* obj1
= 0 ;
6441 PyObject
* obj2
= 0 ;
6443 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6452 arg3
= (bool) SWIG_AsBool(obj2
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6456 if (!wxPyCheckForApp()) SWIG_fail
;
6457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6458 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6460 wxPyEndAllowThreads(__tstate
);
6461 if (PyErr_Occurred()) SWIG_fail
;
6464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6472 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6473 PyObject
*resultobj
;
6474 wxString
*arg1
= 0 ;
6476 wxTipProvider
*result
;
6477 bool temp1
= False
;
6478 PyObject
* obj0
= 0 ;
6479 PyObject
* obj1
= 0 ;
6481 (char *) "filename",(char *) "currentTip", NULL
6484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6486 arg1
= wxString_in_helper(obj0
);
6487 if (arg1
== NULL
) SWIG_fail
;
6490 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6491 if (PyErr_Occurred()) SWIG_fail
;
6493 if (!wxPyCheckForApp()) SWIG_fail
;
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6515 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6518 int arg2
= (int) -1 ;
6520 PyObject
* obj0
= 0 ;
6521 PyObject
* obj1
= 0 ;
6523 (char *) "owner",(char *) "id", NULL
6526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6532 arg2
= (int) SWIG_AsInt(obj1
);
6533 if (PyErr_Occurred()) SWIG_fail
;
6536 if (!wxPyCheckForApp()) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6550 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6551 PyObject
*resultobj
;
6552 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6553 PyObject
* obj0
= 0 ;
6555 (char *) "self", NULL
6558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 wxPyEndAllowThreads(__tstate
);
6566 if (PyErr_Occurred()) SWIG_fail
;
6568 Py_INCREF(Py_None
); resultobj
= Py_None
;
6575 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6576 PyObject
*resultobj
;
6577 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6578 PyObject
*arg2
= (PyObject
*) 0 ;
6579 PyObject
*arg3
= (PyObject
*) 0 ;
6580 int arg4
= (int) 1 ;
6581 PyObject
* obj0
= 0 ;
6582 PyObject
* obj1
= 0 ;
6583 PyObject
* obj2
= 0 ;
6584 PyObject
* obj3
= 0 ;
6586 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6595 arg4
= (int) SWIG_AsInt(obj3
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6600 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6602 wxPyEndAllowThreads(__tstate
);
6603 if (PyErr_Occurred()) SWIG_fail
;
6605 Py_INCREF(Py_None
); resultobj
= Py_None
;
6612 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6613 PyObject
*resultobj
;
6614 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6615 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6616 int arg3
= (int) -1 ;
6617 PyObject
* obj0
= 0 ;
6618 PyObject
* obj1
= 0 ;
6619 PyObject
* obj2
= 0 ;
6621 (char *) "self",(char *) "owner",(char *) "id", NULL
6624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6627 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6630 arg3
= (int) SWIG_AsInt(obj2
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6635 (arg1
)->SetOwner(arg2
,arg3
);
6637 wxPyEndAllowThreads(__tstate
);
6638 if (PyErr_Occurred()) SWIG_fail
;
6640 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6650 wxEvtHandler
*result
;
6651 PyObject
* obj0
= 0 ;
6653 (char *) "self", NULL
6656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6667 resultobj
= wxPyMake_wxObject(result
, 0);
6675 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6676 PyObject
*resultobj
;
6677 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6678 int arg2
= (int) -1 ;
6679 bool arg3
= (bool) False
;
6681 PyObject
* obj0
= 0 ;
6682 PyObject
* obj1
= 0 ;
6683 PyObject
* obj2
= 0 ;
6685 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6692 arg2
= (int) SWIG_AsInt(obj1
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6696 arg3
= (bool) SWIG_AsBool(obj2
);
6697 if (PyErr_Occurred()) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6715 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
;
6717 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6718 PyObject
* obj0
= 0 ;
6720 (char *) "self", NULL
6723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 Py_INCREF(Py_None
); resultobj
= Py_None
;
6740 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6744 PyObject
* obj0
= 0 ;
6746 (char *) "self", NULL
6749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6754 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6756 wxPyEndAllowThreads(__tstate
);
6757 if (PyErr_Occurred()) SWIG_fail
;
6760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6768 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6769 PyObject
*resultobj
;
6770 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6772 PyObject
* obj0
= 0 ;
6774 (char *) "self", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6782 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6784 wxPyEndAllowThreads(__tstate
);
6785 if (PyErr_Occurred()) SWIG_fail
;
6787 resultobj
= SWIG_FromInt((int)result
);
6794 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6796 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6798 PyObject
* obj0
= 0 ;
6800 (char *) "self", NULL
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6810 wxPyEndAllowThreads(__tstate
);
6811 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6822 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6823 PyObject
*resultobj
;
6824 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6826 PyObject
* obj0
= 0 ;
6828 (char *) "self", NULL
6831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6838 wxPyEndAllowThreads(__tstate
);
6839 if (PyErr_Occurred()) SWIG_fail
;
6841 resultobj
= SWIG_FromInt((int)result
);
6848 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6851 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6853 return Py_BuildValue((char *)"");
6855 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6856 PyObject
*resultobj
;
6857 int arg1
= (int) 0 ;
6858 int arg2
= (int) 0 ;
6859 wxTimerEvent
*result
;
6860 PyObject
* obj0
= 0 ;
6861 PyObject
* obj1
= 0 ;
6863 (char *) "timerid",(char *) "interval", NULL
6866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6868 arg1
= (int) SWIG_AsInt(obj0
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6872 arg2
= (int) SWIG_AsInt(obj1
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6877 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6879 wxPyEndAllowThreads(__tstate
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6889 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6890 PyObject
*resultobj
;
6891 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6893 PyObject
* obj0
= 0 ;
6895 (char *) "self", NULL
6898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= SWIG_FromInt((int)result
);
6915 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6918 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6920 return Py_BuildValue((char *)"");
6922 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6923 PyObject
*resultobj
;
6925 wxTimerRunner
*result
;
6926 PyObject
* obj0
= 0 ;
6928 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6933 PyErr_SetString(PyExc_TypeError
,"null reference");
6937 if (!wxPyCheckForApp()) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6951 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6952 PyObject
*resultobj
;
6955 bool arg3
= (bool) False
;
6956 wxTimerRunner
*result
;
6957 PyObject
* obj0
= 0 ;
6958 PyObject
* obj1
= 0 ;
6959 PyObject
* obj2
= 0 ;
6961 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6966 PyErr_SetString(PyExc_TypeError
,"null reference");
6969 arg2
= (int) SWIG_AsInt(obj1
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 arg3
= (bool) SWIG_AsBool(obj2
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6976 if (!wxPyCheckForApp()) SWIG_fail
;
6977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6980 wxPyEndAllowThreads(__tstate
);
6981 if (PyErr_Occurred()) SWIG_fail
;
6983 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6990 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6995 argc
= PyObject_Length(args
);
6996 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6997 argv
[ii
] = PyTuple_GetItem(args
,ii
);
7003 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7011 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
7014 if ((argc
>= 2) && (argc
<= 3)) {
7018 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
7026 _v
= SWIG_CheckInt(argv
[1]);
7029 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7031 _v
= SWIG_CheckBool(argv
[2]);
7033 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
7039 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
7044 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7047 PyObject
* obj0
= 0 ;
7049 (char *) "self", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7059 wxPyEndAllowThreads(__tstate
);
7060 if (PyErr_Occurred()) SWIG_fail
;
7062 Py_INCREF(Py_None
); resultobj
= Py_None
;
7069 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7070 PyObject
*resultobj
;
7071 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
7073 bool arg3
= (bool) False
;
7074 PyObject
* obj0
= 0 ;
7075 PyObject
* obj1
= 0 ;
7076 PyObject
* obj2
= 0 ;
7078 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
7081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
7083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7084 arg2
= (int) SWIG_AsInt(obj1
);
7085 if (PyErr_Occurred()) SWIG_fail
;
7087 arg3
= (bool) SWIG_AsBool(obj2
);
7088 if (PyErr_Occurred()) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 (arg1
)->Start(arg2
,arg3
);
7094 wxPyEndAllowThreads(__tstate
);
7095 if (PyErr_Occurred()) SWIG_fail
;
7097 Py_INCREF(Py_None
); resultobj
= Py_None
;
7104 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
7106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7107 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
7109 return Py_BuildValue((char *)"");
7111 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 result
= (wxLog
*)new wxLog();
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
7133 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 result
= (bool)wxLog::IsEnabled();
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7157 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7158 PyObject
*resultobj
;
7159 bool arg1
= (bool) True
;
7161 PyObject
* obj0
= 0 ;
7163 (char *) "doIt", NULL
7166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
7168 arg1
= (bool) SWIG_AsBool(obj0
);
7169 if (PyErr_Occurred()) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 result
= (bool)wxLog::EnableLogging(arg1
);
7175 wxPyEndAllowThreads(__tstate
);
7176 if (PyErr_Occurred()) SWIG_fail
;
7179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7187 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
;
7190 wxChar
*arg2
= (wxChar
*) 0 ;
7192 PyObject
* obj0
= 0 ;
7193 PyObject
* obj1
= 0 ;
7194 PyObject
* obj2
= 0 ;
7196 (char *) "level",(char *) "szString",(char *) "t", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7200 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7201 if (PyErr_Occurred()) SWIG_fail
;
7202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7204 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7205 if (PyErr_Occurred()) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 Py_INCREF(Py_None
); resultobj
= Py_None
;
7220 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7221 PyObject
*resultobj
;
7222 wxLog
*arg1
= (wxLog
*) 0 ;
7223 PyObject
* obj0
= 0 ;
7225 (char *) "self", NULL
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 Py_INCREF(Py_None
); resultobj
= Py_None
;
7245 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7246 PyObject
*resultobj
;
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 wxLog::FlushActive();
7256 wxPyEndAllowThreads(__tstate
);
7257 if (PyErr_Occurred()) SWIG_fail
;
7259 Py_INCREF(Py_None
); resultobj
= Py_None
;
7266 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7267 PyObject
*resultobj
;
7273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 result
= (wxLog
*)wxLog::GetActiveTarget();
7278 wxPyEndAllowThreads(__tstate
);
7279 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7288 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxLog
*arg1
= (wxLog
*) 0 ;
7292 PyObject
* obj0
= 0 ;
7294 (char *) "pLogger", NULL
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7302 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7314 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7315 PyObject
*resultobj
;
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7328 Py_INCREF(Py_None
); resultobj
= Py_None
;
7335 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
;
7341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7346 wxPyEndAllowThreads(__tstate
);
7347 if (PyErr_Occurred()) SWIG_fail
;
7349 Py_INCREF(Py_None
); resultobj
= Py_None
;
7356 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7357 PyObject
*resultobj
;
7358 bool arg1
= (bool) True
;
7359 PyObject
* obj0
= 0 ;
7361 (char *) "bVerbose", NULL
7364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7366 arg1
= (bool) SWIG_AsBool(obj0
);
7367 if (PyErr_Occurred()) SWIG_fail
;
7370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7371 wxLog::SetVerbose(arg1
);
7373 wxPyEndAllowThreads(__tstate
);
7374 if (PyErr_Occurred()) SWIG_fail
;
7376 Py_INCREF(Py_None
); resultobj
= Py_None
;
7383 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7384 PyObject
*resultobj
;
7386 PyObject
* obj0
= 0 ;
7388 (char *) "logLevel", NULL
7391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7392 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7393 if (PyErr_Occurred()) SWIG_fail
;
7395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7396 wxLog::SetLogLevel(arg1
);
7398 wxPyEndAllowThreads(__tstate
);
7399 if (PyErr_Occurred()) SWIG_fail
;
7401 Py_INCREF(Py_None
); resultobj
= Py_None
;
7408 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7409 PyObject
*resultobj
;
7414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7417 wxLog::DontCreateOnDemand();
7419 wxPyEndAllowThreads(__tstate
);
7420 if (PyErr_Occurred()) SWIG_fail
;
7422 Py_INCREF(Py_None
); resultobj
= Py_None
;
7429 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7432 PyObject
* obj0
= 0 ;
7434 (char *) "ulMask", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7438 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 wxLog::SetTraceMask(arg1
);
7444 wxPyEndAllowThreads(__tstate
);
7445 if (PyErr_Occurred()) SWIG_fail
;
7447 Py_INCREF(Py_None
); resultobj
= Py_None
;
7454 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxString
*arg1
= 0 ;
7457 bool temp1
= False
;
7458 PyObject
* obj0
= 0 ;
7460 (char *) "str", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7465 arg1
= wxString_in_helper(obj0
);
7466 if (arg1
== NULL
) SWIG_fail
;
7470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7471 wxLog::AddTraceMask((wxString
const &)*arg1
);
7473 wxPyEndAllowThreads(__tstate
);
7474 if (PyErr_Occurred()) SWIG_fail
;
7476 Py_INCREF(Py_None
); resultobj
= Py_None
;
7491 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxString
*arg1
= 0 ;
7494 bool temp1
= False
;
7495 PyObject
* obj0
= 0 ;
7497 (char *) "str", NULL
7500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7502 arg1
= wxString_in_helper(obj0
);
7503 if (arg1
== NULL
) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7513 Py_INCREF(Py_None
); resultobj
= Py_None
;
7528 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7529 PyObject
*resultobj
;
7534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 wxLog::ClearTraceMasks();
7539 wxPyEndAllowThreads(__tstate
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7542 Py_INCREF(Py_None
); resultobj
= Py_None
;
7549 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7550 PyObject
*resultobj
;
7551 wxArrayString
*result
;
7556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7560 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7561 result
= (wxArrayString
*) &_result_ref
;
7564 wxPyEndAllowThreads(__tstate
);
7565 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= wxArrayString2PyList_helper(*result
);
7576 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxChar
*arg1
= (wxChar
*) 0 ;
7579 PyObject
* obj0
= 0 ;
7584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7589 wxLog::SetTimestamp((wxChar
const *)arg1
);
7591 wxPyEndAllowThreads(__tstate
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 Py_INCREF(Py_None
); resultobj
= Py_None
;
7601 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (bool)wxLog::GetVerbose();
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7625 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7626 PyObject
*resultobj
;
7632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (wxTraceMask
)wxLog::GetTraceMask();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7647 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
;
7649 wxChar
*arg1
= (wxChar
*) 0 ;
7651 PyObject
* obj0
= 0 ;
7653 (char *) "mask", NULL
7656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7661 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7663 wxPyEndAllowThreads(__tstate
);
7664 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7675 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7676 PyObject
*resultobj
;
7682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 result
= (wxLogLevel
)wxLog::GetLogLevel();
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7697 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7698 PyObject
*resultobj
;
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= (wxChar
*)wxLog::GetTimestamp();
7709 wxPyEndAllowThreads(__tstate
);
7710 if (PyErr_Occurred()) SWIG_fail
;
7712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7719 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7720 PyObject
*resultobj
;
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 result
= Log_TimeStamp();
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7736 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7738 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7747 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxLog
*arg1
= (wxLog
*) 0 ;
7750 PyObject
* obj0
= 0 ;
7752 (char *) "self", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 wxLog_Destroy(arg1
);
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 Py_INCREF(Py_None
); resultobj
= Py_None
;
7772 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7774 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7775 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7777 return Py_BuildValue((char *)"");
7779 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7780 PyObject
*resultobj
;
7781 wxLogStderr
*result
;
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 result
= (wxLogStderr
*)new wxLogStderr();
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7801 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7804 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7806 return Py_BuildValue((char *)"");
7808 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7811 wxLogTextCtrl
*result
;
7812 PyObject
* obj0
= 0 ;
7814 (char *) "pTextCtrl", NULL
7817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7822 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7834 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7837 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7839 return Py_BuildValue((char *)"");
7841 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7842 PyObject
*resultobj
;
7848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 result
= (wxLogGui
*)new wxLogGui();
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7863 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7866 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7868 return Py_BuildValue((char *)"");
7870 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7871 PyObject
*resultobj
;
7872 wxFrame
*arg1
= (wxFrame
*) 0 ;
7873 wxString
*arg2
= 0 ;
7874 bool arg3
= (bool) True
;
7875 bool arg4
= (bool) True
;
7876 wxLogWindow
*result
;
7877 bool temp2
= False
;
7878 PyObject
* obj0
= 0 ;
7879 PyObject
* obj1
= 0 ;
7880 PyObject
* obj2
= 0 ;
7881 PyObject
* obj3
= 0 ;
7883 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7890 arg2
= wxString_in_helper(obj1
);
7891 if (arg2
== NULL
) SWIG_fail
;
7895 arg3
= (bool) SWIG_AsBool(obj2
);
7896 if (PyErr_Occurred()) SWIG_fail
;
7899 arg4
= (bool) SWIG_AsBool(obj3
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7904 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7906 wxPyEndAllowThreads(__tstate
);
7907 if (PyErr_Occurred()) SWIG_fail
;
7909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7924 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7927 bool arg2
= (bool) True
;
7928 PyObject
* obj0
= 0 ;
7929 PyObject
* obj1
= 0 ;
7931 (char *) "self",(char *) "bShow", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7938 arg2
= (bool) SWIG_AsBool(obj1
);
7939 if (PyErr_Occurred()) SWIG_fail
;
7942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7945 wxPyEndAllowThreads(__tstate
);
7946 if (PyErr_Occurred()) SWIG_fail
;
7948 Py_INCREF(Py_None
); resultobj
= Py_None
;
7955 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7956 PyObject
*resultobj
;
7957 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7959 PyObject
* obj0
= 0 ;
7961 (char *) "self", NULL
7964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7969 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7971 wxPyEndAllowThreads(__tstate
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= wxPyMake_wxObject(result
, 0);
7983 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7987 PyObject
* obj0
= 0 ;
7989 (char *) "self", NULL
7992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7997 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7999 wxPyEndAllowThreads(__tstate
);
8000 if (PyErr_Occurred()) SWIG_fail
;
8002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8009 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8010 PyObject
*resultobj
;
8011 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8013 PyObject
* obj0
= 0 ;
8015 (char *) "self", NULL
8018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8037 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8038 PyObject
*resultobj
;
8039 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
8041 PyObject
* obj0
= 0 ;
8042 PyObject
* obj1
= 0 ;
8044 (char *) "self",(char *) "bDoPass", NULL
8047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
8049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8050 arg2
= (bool) SWIG_AsBool(obj1
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 (arg1
)->PassMessages(arg2
);
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8059 Py_INCREF(Py_None
); resultobj
= Py_None
;
8066 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
8068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8069 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
8071 return Py_BuildValue((char *)"");
8073 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxLog
*arg1
= (wxLog
*) 0 ;
8077 PyObject
* obj0
= 0 ;
8079 (char *) "logger", NULL
8082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
8083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
8084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (wxLogChain
*)new wxLogChain(arg1
);
8089 wxPyEndAllowThreads(__tstate
);
8090 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
8099 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8102 wxLog
*arg2
= (wxLog
*) 0 ;
8103 PyObject
* obj0
= 0 ;
8104 PyObject
* obj1
= 0 ;
8106 (char *) "self",(char *) "logger", NULL
8109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
8110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
8113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8116 (arg1
)->SetLog(arg2
);
8118 wxPyEndAllowThreads(__tstate
);
8119 if (PyErr_Occurred()) SWIG_fail
;
8121 Py_INCREF(Py_None
); resultobj
= Py_None
;
8128 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8129 PyObject
*resultobj
;
8130 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8135 (char *) "self",(char *) "bDoPass", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8141 arg2
= (bool) SWIG_AsBool(obj1
);
8142 if (PyErr_Occurred()) SWIG_fail
;
8144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8145 (arg1
)->PassMessages(arg2
);
8147 wxPyEndAllowThreads(__tstate
);
8148 if (PyErr_Occurred()) SWIG_fail
;
8150 Py_INCREF(Py_None
); resultobj
= Py_None
;
8157 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8161 PyObject
* obj0
= 0 ;
8163 (char *) "self", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
8167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8171 result
= (bool)(arg1
)->IsPassingMessages();
8173 wxPyEndAllowThreads(__tstate
);
8174 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8185 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8186 PyObject
*resultobj
;
8187 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8189 PyObject
* obj0
= 0 ;
8191 (char *) "self", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (wxLog
*)(arg1
)->GetOldLog();
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8211 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8214 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8216 return Py_BuildValue((char *)"");
8218 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
;
8220 unsigned long result
;
8225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8228 result
= (unsigned long)wxSysErrorCode();
8230 wxPyEndAllowThreads(__tstate
);
8231 if (PyErr_Occurred()) SWIG_fail
;
8233 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8240 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
;
8242 unsigned long arg1
= (unsigned long) 0 ;
8244 PyObject
* obj0
= 0 ;
8246 (char *) "nErrCode", NULL
8249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8251 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8256 result
= wxSysErrorMsg(arg1
);
8258 wxPyEndAllowThreads(__tstate
);
8259 if (PyErr_Occurred()) SWIG_fail
;
8263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8274 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8275 PyObject
*resultobj
;
8276 wxString
*arg1
= 0 ;
8277 bool temp1
= False
;
8278 PyObject
* obj0
= 0 ;
8280 (char *) "msg", NULL
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8285 arg1
= wxString_in_helper(obj0
);
8286 if (arg1
== NULL
) SWIG_fail
;
8290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8291 wxLogFatalError((wxString
const &)*arg1
);
8293 wxPyEndAllowThreads(__tstate
);
8294 if (PyErr_Occurred()) SWIG_fail
;
8296 Py_INCREF(Py_None
); resultobj
= Py_None
;
8311 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxString
*arg1
= 0 ;
8314 bool temp1
= False
;
8315 PyObject
* obj0
= 0 ;
8317 (char *) "msg", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8322 arg1
= wxString_in_helper(obj0
);
8323 if (arg1
== NULL
) SWIG_fail
;
8327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8328 wxLogError((wxString
const &)*arg1
);
8330 wxPyEndAllowThreads(__tstate
);
8331 if (PyErr_Occurred()) SWIG_fail
;
8333 Py_INCREF(Py_None
); resultobj
= Py_None
;
8348 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8349 PyObject
*resultobj
;
8350 wxString
*arg1
= 0 ;
8351 bool temp1
= False
;
8352 PyObject
* obj0
= 0 ;
8354 (char *) "msg", NULL
8357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8359 arg1
= wxString_in_helper(obj0
);
8360 if (arg1
== NULL
) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 wxLogWarning((wxString
const &)*arg1
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 Py_INCREF(Py_None
); resultobj
= Py_None
;
8385 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxString
*arg1
= 0 ;
8388 bool temp1
= False
;
8389 PyObject
* obj0
= 0 ;
8391 (char *) "msg", NULL
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8396 arg1
= wxString_in_helper(obj0
);
8397 if (arg1
== NULL
) SWIG_fail
;
8401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8402 wxLogMessage((wxString
const &)*arg1
);
8404 wxPyEndAllowThreads(__tstate
);
8405 if (PyErr_Occurred()) SWIG_fail
;
8407 Py_INCREF(Py_None
); resultobj
= Py_None
;
8422 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
;
8424 wxString
*arg1
= 0 ;
8425 bool temp1
= False
;
8426 PyObject
* obj0
= 0 ;
8428 (char *) "msg", NULL
8431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8433 arg1
= wxString_in_helper(obj0
);
8434 if (arg1
== NULL
) SWIG_fail
;
8438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8439 wxLogInfo((wxString
const &)*arg1
);
8441 wxPyEndAllowThreads(__tstate
);
8442 if (PyErr_Occurred()) SWIG_fail
;
8444 Py_INCREF(Py_None
); resultobj
= Py_None
;
8459 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxString
*arg1
= 0 ;
8462 bool temp1
= False
;
8463 PyObject
* obj0
= 0 ;
8465 (char *) "msg", NULL
8468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8470 arg1
= wxString_in_helper(obj0
);
8471 if (arg1
== NULL
) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 wxLogDebug((wxString
const &)*arg1
);
8478 wxPyEndAllowThreads(__tstate
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8481 Py_INCREF(Py_None
); resultobj
= Py_None
;
8496 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8497 PyObject
*resultobj
;
8498 wxString
*arg1
= 0 ;
8499 bool temp1
= False
;
8500 PyObject
* obj0
= 0 ;
8502 (char *) "msg", NULL
8505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8507 arg1
= wxString_in_helper(obj0
);
8508 if (arg1
== NULL
) SWIG_fail
;
8512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8513 wxLogVerbose((wxString
const &)*arg1
);
8515 wxPyEndAllowThreads(__tstate
);
8516 if (PyErr_Occurred()) SWIG_fail
;
8518 Py_INCREF(Py_None
); resultobj
= Py_None
;
8533 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8534 PyObject
*resultobj
;
8535 wxString
*arg1
= 0 ;
8536 bool temp1
= False
;
8537 PyObject
* obj0
= 0 ;
8539 (char *) "msg", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8544 arg1
= wxString_in_helper(obj0
);
8545 if (arg1
== NULL
) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 wxLogStatus((wxString
const &)*arg1
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 Py_INCREF(Py_None
); resultobj
= Py_None
;
8570 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxFrame
*arg1
= (wxFrame
*) 0 ;
8573 wxString
*arg2
= 0 ;
8574 bool temp2
= False
;
8575 PyObject
* obj0
= 0 ;
8576 PyObject
* obj1
= 0 ;
8578 (char *) "pFrame",(char *) "msg", NULL
8581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8585 arg2
= wxString_in_helper(obj1
);
8586 if (arg2
== NULL
) SWIG_fail
;
8590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8591 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8593 wxPyEndAllowThreads(__tstate
);
8594 if (PyErr_Occurred()) SWIG_fail
;
8596 Py_INCREF(Py_None
); resultobj
= Py_None
;
8611 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxString
*arg1
= 0 ;
8614 bool temp1
= False
;
8615 PyObject
* obj0
= 0 ;
8617 (char *) "msg", NULL
8620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8622 arg1
= wxString_in_helper(obj0
);
8623 if (arg1
== NULL
) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 wxLogSysError((wxString
const &)*arg1
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 Py_INCREF(Py_None
); resultobj
= Py_None
;
8648 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8649 PyObject
*resultobj
;
8650 unsigned long arg1
;
8651 wxString
*arg2
= 0 ;
8652 bool temp2
= False
;
8653 PyObject
* obj0
= 0 ;
8654 PyObject
* obj1
= 0 ;
8656 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8657 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8658 if (PyErr_Occurred()) SWIG_fail
;
8660 arg2
= wxString_in_helper(obj1
);
8661 if (arg2
== NULL
) SWIG_fail
;
8665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8666 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8668 wxPyEndAllowThreads(__tstate
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8687 PyObject
*resultobj
;
8688 wxString
*arg1
= 0 ;
8689 wxString
*arg2
= 0 ;
8690 bool temp1
= False
;
8691 bool temp2
= False
;
8692 PyObject
* obj0
= 0 ;
8693 PyObject
* obj1
= 0 ;
8695 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8697 arg1
= wxString_in_helper(obj0
);
8698 if (arg1
== NULL
) SWIG_fail
;
8702 arg2
= wxString_in_helper(obj1
);
8703 if (arg2
== NULL
) SWIG_fail
;
8707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8708 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8710 wxPyEndAllowThreads(__tstate
);
8711 if (PyErr_Occurred()) SWIG_fail
;
8713 Py_INCREF(Py_None
); resultobj
= Py_None
;
8736 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8741 argc
= PyObject_Length(args
);
8742 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8743 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8748 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8752 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8755 return _wrap_LogTrace__SWIG_1(self
,args
);
8761 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8764 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8767 return _wrap_LogTrace__SWIG_0(self
,args
);
8772 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8777 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8778 PyObject
*resultobj
;
8779 unsigned long arg1
;
8780 wxString
*arg2
= 0 ;
8781 bool temp2
= False
;
8782 PyObject
* obj0
= 0 ;
8783 PyObject
* obj1
= 0 ;
8785 (char *) "level",(char *) "msg", NULL
8788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8789 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 arg2
= wxString_in_helper(obj1
);
8793 if (arg2
== NULL
) SWIG_fail
;
8797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8798 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8800 wxPyEndAllowThreads(__tstate
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8803 Py_INCREF(Py_None
); resultobj
= Py_None
;
8818 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxString
*arg1
= 0 ;
8821 wxString
*arg2
= 0 ;
8822 bool temp1
= False
;
8823 bool temp2
= False
;
8824 PyObject
* obj0
= 0 ;
8825 PyObject
* obj1
= 0 ;
8827 (char *) "title",(char *) "text", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8832 arg1
= wxString_in_helper(obj0
);
8833 if (arg1
== NULL
) SWIG_fail
;
8837 arg2
= wxString_in_helper(obj1
);
8838 if (arg2
== NULL
) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 Py_INCREF(Py_None
); resultobj
= Py_None
;
8871 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8872 PyObject
*resultobj
;
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8881 result
= (wxLogNull
*)new wxLogNull();
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8893 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8896 PyObject
* obj0
= 0 ;
8898 (char *) "self", NULL
8901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 Py_INCREF(Py_None
); resultobj
= Py_None
;
8918 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8921 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8923 return Py_BuildValue((char *)"");
8925 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8935 result
= (wxPyLog
*)new wxPyLog();
8937 wxPyEndAllowThreads(__tstate
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8947 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8948 PyObject
*resultobj
;
8949 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8950 PyObject
*arg2
= (PyObject
*) 0 ;
8951 PyObject
*arg3
= (PyObject
*) 0 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 PyObject
* obj2
= 0 ;
8956 (char *) "self",(char *) "self",(char *) "_class", NULL
8959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8966 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 Py_INCREF(Py_None
); resultobj
= Py_None
;
8978 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8980 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8981 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8983 return Py_BuildValue((char *)"");
8985 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8986 PyObject
*resultobj
;
8988 int arg2
= (int) wxSIGTERM
;
8990 PyObject
* obj0
= 0 ;
8991 PyObject
* obj1
= 0 ;
8993 (char *) "pid",(char *) "sig", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8997 arg1
= (int) SWIG_AsInt(obj0
);
8998 if (PyErr_Occurred()) SWIG_fail
;
9000 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
9001 if (PyErr_Occurred()) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= SWIG_FromInt((int)result
);
9017 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9021 PyObject
* obj0
= 0 ;
9023 (char *) "pid", NULL
9026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
9027 arg1
= (int) SWIG_AsInt(obj0
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (bool)wxPyProcess::Exists(arg1
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9045 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxString
*arg1
= 0 ;
9048 int arg2
= (int) wxEXEC_ASYNC
;
9049 wxPyProcess
*result
;
9050 bool temp1
= False
;
9051 PyObject
* obj0
= 0 ;
9052 PyObject
* obj1
= 0 ;
9054 (char *) "cmd",(char *) "flags", NULL
9057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
9059 arg1
= wxString_in_helper(obj0
);
9060 if (arg1
== NULL
) SWIG_fail
;
9064 arg2
= (int) SWIG_AsInt(obj1
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9069 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
9089 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
9092 int arg2
= (int) -1 ;
9093 wxPyProcess
*result
;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9097 (char *) "parent",(char *) "id", NULL
9100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
9102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
9103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9106 arg2
= (int) SWIG_AsInt(obj1
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
9123 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9126 PyObject
*arg2
= (PyObject
*) 0 ;
9127 PyObject
*arg3
= (PyObject
*) 0 ;
9128 PyObject
* obj0
= 0 ;
9129 PyObject
* obj1
= 0 ;
9130 PyObject
* obj2
= 0 ;
9132 (char *) "self",(char *) "self",(char *) "_class", NULL
9135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 (arg1
)->_setCallbackInfo(arg2
,arg3
);
9144 wxPyEndAllowThreads(__tstate
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 Py_INCREF(Py_None
); resultobj
= Py_None
;
9154 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9155 PyObject
*resultobj
;
9156 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 PyObject
* obj2
= 0 ;
9163 (char *) "self",(char *) "pid",(char *) "status", NULL
9166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9169 arg2
= (int) SWIG_AsInt(obj1
);
9170 if (PyErr_Occurred()) SWIG_fail
;
9171 arg3
= (int) SWIG_AsInt(obj2
);
9172 if (PyErr_Occurred()) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 (arg1
)->base_OnTerminate(arg2
,arg3
);
9177 wxPyEndAllowThreads(__tstate
);
9178 if (PyErr_Occurred()) SWIG_fail
;
9180 Py_INCREF(Py_None
); resultobj
= Py_None
;
9187 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9188 PyObject
*resultobj
;
9189 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9190 PyObject
* obj0
= 0 ;
9192 (char *) "self", NULL
9195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 Py_INCREF(Py_None
); resultobj
= Py_None
;
9212 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9216 PyObject
* obj0
= 0 ;
9218 (char *) "self", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= (bool)(arg1
)->IsRedirected();
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9240 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9243 PyObject
* obj0
= 0 ;
9245 (char *) "self", NULL
9248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9255 wxPyEndAllowThreads(__tstate
);
9256 if (PyErr_Occurred()) SWIG_fail
;
9258 Py_INCREF(Py_None
); resultobj
= Py_None
;
9265 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9266 PyObject
*resultobj
;
9267 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9268 wxInputStream
*result
;
9269 PyObject
* obj0
= 0 ;
9271 (char *) "self", NULL
9274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9285 wxPyInputStream
* _ptr
= NULL
;
9288 _ptr
= new wxPyInputStream(result
);
9290 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9298 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9301 wxInputStream
*result
;
9302 PyObject
* obj0
= 0 ;
9304 (char *) "self", NULL
9307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 wxPyInputStream
* _ptr
= NULL
;
9321 _ptr
= new wxPyInputStream(result
);
9323 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9331 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9332 PyObject
*resultobj
;
9333 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9334 wxOutputStream
*result
;
9335 PyObject
* obj0
= 0 ;
9337 (char *) "self", NULL
9340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9345 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9347 wxPyEndAllowThreads(__tstate
);
9348 if (PyErr_Occurred()) SWIG_fail
;
9350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9357 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9358 PyObject
*resultobj
;
9359 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9360 PyObject
* obj0
= 0 ;
9362 (char *) "self", NULL
9365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9370 (arg1
)->CloseOutput();
9372 wxPyEndAllowThreads(__tstate
);
9373 if (PyErr_Occurred()) SWIG_fail
;
9375 Py_INCREF(Py_None
); resultobj
= Py_None
;
9382 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9386 PyObject
* obj0
= 0 ;
9388 (char *) "self", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9396 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9398 wxPyEndAllowThreads(__tstate
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9410 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
;
9412 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9414 PyObject
* obj0
= 0 ;
9416 (char *) "self", NULL
9419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9424 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9426 wxPyEndAllowThreads(__tstate
);
9427 if (PyErr_Occurred()) SWIG_fail
;
9430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9438 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9444 (char *) "self", NULL
9447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9454 wxPyEndAllowThreads(__tstate
);
9455 if (PyErr_Occurred()) SWIG_fail
;
9458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9466 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9469 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9471 return Py_BuildValue((char *)"");
9473 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9474 PyObject
*resultobj
;
9475 int arg1
= (int) 0 ;
9476 int arg2
= (int) 0 ;
9477 int arg3
= (int) 0 ;
9478 wxProcessEvent
*result
;
9479 PyObject
* obj0
= 0 ;
9480 PyObject
* obj1
= 0 ;
9481 PyObject
* obj2
= 0 ;
9483 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9488 arg1
= (int) SWIG_AsInt(obj0
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9492 arg2
= (int) SWIG_AsInt(obj1
);
9493 if (PyErr_Occurred()) SWIG_fail
;
9496 arg3
= (int) SWIG_AsInt(obj2
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9513 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9517 PyObject
* obj0
= 0 ;
9519 (char *) "self", NULL
9522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 result
= (int)(arg1
)->GetPid();
9529 wxPyEndAllowThreads(__tstate
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9532 resultobj
= SWIG_FromInt((int)result
);
9539 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9540 PyObject
*resultobj
;
9541 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9543 PyObject
* obj0
= 0 ;
9545 (char *) "self", NULL
9548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9553 result
= (int)(arg1
)->GetExitCode();
9555 wxPyEndAllowThreads(__tstate
);
9556 if (PyErr_Occurred()) SWIG_fail
;
9558 resultobj
= SWIG_FromInt((int)result
);
9565 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9566 PyObject
*resultobj
;
9567 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9572 (char *) "self",(char *) "m_pid", NULL
9575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 arg2
= (int) SWIG_AsInt(obj1
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9580 if (arg1
) (arg1
)->m_pid
= arg2
;
9582 Py_INCREF(Py_None
); resultobj
= Py_None
;
9589 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9593 PyObject
* obj0
= 0 ;
9595 (char *) "self", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9601 result
= (int) ((arg1
)->m_pid
);
9603 resultobj
= SWIG_FromInt((int)result
);
9610 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
;
9612 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9614 PyObject
* obj0
= 0 ;
9615 PyObject
* obj1
= 0 ;
9617 (char *) "self",(char *) "m_exitcode", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9623 arg2
= (int) SWIG_AsInt(obj1
);
9624 if (PyErr_Occurred()) SWIG_fail
;
9625 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9627 Py_INCREF(Py_None
); resultobj
= Py_None
;
9634 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9640 (char *) "self", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9646 result
= (int) ((arg1
)->m_exitcode
);
9648 resultobj
= SWIG_FromInt((int)result
);
9655 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9658 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9660 return Py_BuildValue((char *)"");
9662 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
;
9664 wxString
*arg1
= 0 ;
9665 int arg2
= (int) wxEXEC_ASYNC
;
9666 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9668 bool temp1
= False
;
9669 PyObject
* obj0
= 0 ;
9670 PyObject
* obj1
= 0 ;
9671 PyObject
* obj2
= 0 ;
9673 (char *) "command",(char *) "flags",(char *) "process", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9678 arg1
= wxString_in_helper(obj0
);
9679 if (arg1
== NULL
) SWIG_fail
;
9683 arg2
= (int) SWIG_AsInt(obj1
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9687 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9691 if (!wxPyCheckForApp()) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9698 resultobj
= SWIG_FromLong((long)result
);
9713 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9714 PyObject
*resultobj
;
9715 int arg1
= (int) wxJOYSTICK1
;
9717 PyObject
* obj0
= 0 ;
9719 (char *) "joystick", NULL
9722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9724 arg1
= (int) SWIG_AsInt(obj0
);
9725 if (PyErr_Occurred()) SWIG_fail
;
9728 if (!wxPyCheckForApp()) SWIG_fail
;
9729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9730 result
= (wxJoystick
*)new wxJoystick(arg1
);
9732 wxPyEndAllowThreads(__tstate
);
9733 if (PyErr_Occurred()) SWIG_fail
;
9735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9742 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9743 PyObject
*resultobj
;
9744 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9745 PyObject
* obj0
= 0 ;
9747 (char *) "self", NULL
9750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 wxPyEndAllowThreads(__tstate
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9760 Py_INCREF(Py_None
); resultobj
= Py_None
;
9767 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
;
9769 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9773 (char *) "self", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (arg1
)->GetPosition();
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9787 wxPoint
* resultptr
;
9788 resultptr
= new wxPoint((wxPoint
&) result
);
9789 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9797 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (int)(arg1
)->GetZPosition();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9816 resultobj
= SWIG_FromInt((int)result
);
9823 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9824 PyObject
*resultobj
;
9825 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9827 PyObject
* obj0
= 0 ;
9829 (char *) "self", NULL
9832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 result
= (int)(arg1
)->GetButtonState();
9839 wxPyEndAllowThreads(__tstate
);
9840 if (PyErr_Occurred()) SWIG_fail
;
9842 resultobj
= SWIG_FromInt((int)result
);
9849 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9850 PyObject
*resultobj
;
9851 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9853 PyObject
* obj0
= 0 ;
9855 (char *) "self", NULL
9858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9863 result
= (int)(arg1
)->GetPOVPosition();
9865 wxPyEndAllowThreads(__tstate
);
9866 if (PyErr_Occurred()) SWIG_fail
;
9868 resultobj
= SWIG_FromInt((int)result
);
9875 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9876 PyObject
*resultobj
;
9877 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9879 PyObject
* obj0
= 0 ;
9881 (char *) "self", NULL
9884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (int)(arg1
)->GetPOVCTSPosition();
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9894 resultobj
= SWIG_FromInt((int)result
);
9901 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9902 PyObject
*resultobj
;
9903 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9905 PyObject
* obj0
= 0 ;
9907 (char *) "self", NULL
9910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (int)(arg1
)->GetRudderPosition();
9917 wxPyEndAllowThreads(__tstate
);
9918 if (PyErr_Occurred()) SWIG_fail
;
9920 resultobj
= SWIG_FromInt((int)result
);
9927 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9928 PyObject
*resultobj
;
9929 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9931 PyObject
* obj0
= 0 ;
9933 (char *) "self", NULL
9936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9941 result
= (int)(arg1
)->GetUPosition();
9943 wxPyEndAllowThreads(__tstate
);
9944 if (PyErr_Occurred()) SWIG_fail
;
9946 resultobj
= SWIG_FromInt((int)result
);
9953 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9954 PyObject
*resultobj
;
9955 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9957 PyObject
* obj0
= 0 ;
9959 (char *) "self", NULL
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9967 result
= (int)(arg1
)->GetVPosition();
9969 wxPyEndAllowThreads(__tstate
);
9970 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= SWIG_FromInt((int)result
);
9979 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (int)(arg1
)->GetMovementThreshold();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= SWIG_FromInt((int)result
);
10005 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
;
10007 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 char *kwnames
[] = {
10012 (char *) "self",(char *) "threshold", NULL
10015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
10016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 arg2
= (int) SWIG_AsInt(obj1
);
10019 if (PyErr_Occurred()) SWIG_fail
;
10021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10022 (arg1
)->SetMovementThreshold(arg2
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10027 Py_INCREF(Py_None
); resultobj
= Py_None
;
10034 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10035 PyObject
*resultobj
;
10036 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10038 PyObject
* obj0
= 0 ;
10039 char *kwnames
[] = {
10040 (char *) "self", NULL
10043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
10044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10048 result
= (bool)(arg1
)->IsOk();
10050 wxPyEndAllowThreads(__tstate
);
10051 if (PyErr_Occurred()) SWIG_fail
;
10054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10062 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10066 PyObject
* obj0
= 0 ;
10067 char *kwnames
[] = {
10068 (char *) "self", NULL
10071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
10072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10076 result
= (int)(arg1
)->GetNumberJoysticks();
10078 wxPyEndAllowThreads(__tstate
);
10079 if (PyErr_Occurred()) SWIG_fail
;
10081 resultobj
= SWIG_FromInt((int)result
);
10088 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10089 PyObject
*resultobj
;
10090 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 char *kwnames
[] = {
10094 (char *) "self", NULL
10097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
10098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 result
= (int)(arg1
)->GetManufacturerId();
10104 wxPyEndAllowThreads(__tstate
);
10105 if (PyErr_Occurred()) SWIG_fail
;
10107 resultobj
= SWIG_FromInt((int)result
);
10114 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10115 PyObject
*resultobj
;
10116 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10118 PyObject
* obj0
= 0 ;
10119 char *kwnames
[] = {
10120 (char *) "self", NULL
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
10124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (int)(arg1
)->GetProductId();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_FromInt((int)result
);
10140 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10141 PyObject
*resultobj
;
10142 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10144 PyObject
* obj0
= 0 ;
10145 char *kwnames
[] = {
10146 (char *) "self", NULL
10149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
10150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 result
= (arg1
)->GetProductName();
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10172 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (int)(arg1
)->GetXMin();
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= SWIG_FromInt((int)result
);
10198 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 char *kwnames
[] = {
10204 (char *) "self", NULL
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 result
= (int)(arg1
)->GetYMin();
10214 wxPyEndAllowThreads(__tstate
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 resultobj
= SWIG_FromInt((int)result
);
10224 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10225 PyObject
*resultobj
;
10226 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10228 PyObject
* obj0
= 0 ;
10229 char *kwnames
[] = {
10230 (char *) "self", NULL
10233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10238 result
= (int)(arg1
)->GetZMin();
10240 wxPyEndAllowThreads(__tstate
);
10241 if (PyErr_Occurred()) SWIG_fail
;
10243 resultobj
= SWIG_FromInt((int)result
);
10250 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10251 PyObject
*resultobj
;
10252 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10254 PyObject
* obj0
= 0 ;
10255 char *kwnames
[] = {
10256 (char *) "self", NULL
10259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (int)(arg1
)->GetXMax();
10266 wxPyEndAllowThreads(__tstate
);
10267 if (PyErr_Occurred()) SWIG_fail
;
10269 resultobj
= SWIG_FromInt((int)result
);
10276 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10277 PyObject
*resultobj
;
10278 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10280 PyObject
* obj0
= 0 ;
10281 char *kwnames
[] = {
10282 (char *) "self", NULL
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 result
= (int)(arg1
)->GetYMax();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_FromInt((int)result
);
10302 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
;
10304 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10306 PyObject
* obj0
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "self", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= (int)(arg1
)->GetZMax();
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 resultobj
= SWIG_FromInt((int)result
);
10328 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10330 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10332 PyObject
* obj0
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (int)(arg1
)->GetNumberButtons();
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= SWIG_FromInt((int)result
);
10354 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (int)(arg1
)->GetNumberAxes();
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= SWIG_FromInt((int)result
);
10380 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10384 PyObject
* obj0
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 result
= (int)(arg1
)->GetMaxButtons();
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 resultobj
= SWIG_FromInt((int)result
);
10406 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10410 PyObject
* obj0
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "self", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (int)(arg1
)->GetMaxAxes();
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= SWIG_FromInt((int)result
);
10432 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10433 PyObject
*resultobj
;
10434 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10436 PyObject
* obj0
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "self", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (int)(arg1
)->GetPollingMin();
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 resultobj
= SWIG_FromInt((int)result
);
10458 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10462 PyObject
* obj0
= 0 ;
10463 char *kwnames
[] = {
10464 (char *) "self", NULL
10467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (int)(arg1
)->GetPollingMax();
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_FromInt((int)result
);
10484 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
;
10486 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10488 PyObject
* obj0
= 0 ;
10489 char *kwnames
[] = {
10490 (char *) "self", NULL
10493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10498 result
= (int)(arg1
)->GetRudderMin();
10500 wxPyEndAllowThreads(__tstate
);
10501 if (PyErr_Occurred()) SWIG_fail
;
10503 resultobj
= SWIG_FromInt((int)result
);
10510 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10511 PyObject
*resultobj
;
10512 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10524 result
= (int)(arg1
)->GetRudderMax();
10526 wxPyEndAllowThreads(__tstate
);
10527 if (PyErr_Occurred()) SWIG_fail
;
10529 resultobj
= SWIG_FromInt((int)result
);
10536 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 char *kwnames
[] = {
10542 (char *) "self", NULL
10545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (int)(arg1
)->GetUMin();
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= SWIG_FromInt((int)result
);
10562 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10563 PyObject
*resultobj
;
10564 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10566 PyObject
* obj0
= 0 ;
10567 char *kwnames
[] = {
10568 (char *) "self", NULL
10571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10576 result
= (int)(arg1
)->GetUMax();
10578 wxPyEndAllowThreads(__tstate
);
10579 if (PyErr_Occurred()) SWIG_fail
;
10581 resultobj
= SWIG_FromInt((int)result
);
10588 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10589 PyObject
*resultobj
;
10590 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10592 PyObject
* obj0
= 0 ;
10593 char *kwnames
[] = {
10594 (char *) "self", NULL
10597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10602 result
= (int)(arg1
)->GetVMin();
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_FromInt((int)result
);
10614 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10615 PyObject
*resultobj
;
10616 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10618 PyObject
* obj0
= 0 ;
10619 char *kwnames
[] = {
10620 (char *) "self", NULL
10623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 result
= (int)(arg1
)->GetVMax();
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 resultobj
= SWIG_FromInt((int)result
);
10640 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10644 PyObject
* obj0
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= (bool)(arg1
)->HasRudder();
10656 wxPyEndAllowThreads(__tstate
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10668 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
;
10670 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10672 PyObject
* obj0
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 result
= (bool)(arg1
)->HasZ();
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10696 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10700 PyObject
* obj0
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= (bool)(arg1
)->HasU();
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10724 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10728 PyObject
* obj0
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10738 result
= (bool)(arg1
)->HasV();
10740 wxPyEndAllowThreads(__tstate
);
10741 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10752 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10756 PyObject
* obj0
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (bool)(arg1
)->HasPOV();
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10780 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10781 PyObject
*resultobj
;
10782 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10784 PyObject
* obj0
= 0 ;
10785 char *kwnames
[] = {
10786 (char *) "self", NULL
10789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 result
= (bool)(arg1
)->HasPOV4Dir();
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10808 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10809 PyObject
*resultobj
;
10810 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10812 PyObject
* obj0
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10822 result
= (bool)(arg1
)->HasPOVCTS();
10824 wxPyEndAllowThreads(__tstate
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10836 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10839 wxWindow
*arg2
= (wxWindow
*) 0 ;
10840 int arg3
= (int) 0 ;
10842 PyObject
* obj0
= 0 ;
10843 PyObject
* obj1
= 0 ;
10844 PyObject
* obj2
= 0 ;
10845 char *kwnames
[] = {
10846 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10855 arg3
= (int) SWIG_AsInt(obj2
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10860 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10862 wxPyEndAllowThreads(__tstate
);
10863 if (PyErr_Occurred()) SWIG_fail
;
10866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10874 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10878 PyObject
* obj0
= 0 ;
10879 char *kwnames
[] = {
10880 (char *) "self", NULL
10883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 result
= (bool)(arg1
)->ReleaseCapture();
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10902 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10905 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10907 return Py_BuildValue((char *)"");
10909 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10910 PyObject
*resultobj
;
10911 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10912 wxPoint
*arg2
= (wxPoint
*) 0 ;
10913 PyObject
* obj0
= 0 ;
10914 PyObject
* obj1
= 0 ;
10915 char *kwnames
[] = {
10916 (char *) "self",(char *) "m_pos", NULL
10919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10924 if (arg1
) (arg1
)->m_pos
= *arg2
;
10926 Py_INCREF(Py_None
); resultobj
= Py_None
;
10933 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10934 PyObject
*resultobj
;
10935 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10937 PyObject
* obj0
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10945 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10954 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
;
10956 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10958 PyObject
* obj0
= 0 ;
10959 PyObject
* obj1
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self",(char *) "m_zPosition", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10967 arg2
= (int) SWIG_AsInt(obj1
);
10968 if (PyErr_Occurred()) SWIG_fail
;
10969 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10971 Py_INCREF(Py_None
); resultobj
= Py_None
;
10978 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10982 PyObject
* obj0
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10990 result
= (int) ((arg1
)->m_zPosition
);
10992 resultobj
= SWIG_FromInt((int)result
);
10999 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11000 PyObject
*resultobj
;
11001 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11003 PyObject
* obj0
= 0 ;
11004 PyObject
* obj1
= 0 ;
11005 char *kwnames
[] = {
11006 (char *) "self",(char *) "m_buttonChange", NULL
11009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11012 arg2
= (int) SWIG_AsInt(obj1
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11014 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
11016 Py_INCREF(Py_None
); resultobj
= Py_None
;
11023 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11024 PyObject
*resultobj
;
11025 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11027 PyObject
* obj0
= 0 ;
11028 char *kwnames
[] = {
11029 (char *) "self", NULL
11032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
11033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11035 result
= (int) ((arg1
)->m_buttonChange
);
11037 resultobj
= SWIG_FromInt((int)result
);
11044 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11045 PyObject
*resultobj
;
11046 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11048 PyObject
* obj0
= 0 ;
11049 PyObject
* obj1
= 0 ;
11050 char *kwnames
[] = {
11051 (char *) "self",(char *) "m_buttonState", NULL
11054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11057 arg2
= (int) SWIG_AsInt(obj1
);
11058 if (PyErr_Occurred()) SWIG_fail
;
11059 if (arg1
) (arg1
)->m_buttonState
= arg2
;
11061 Py_INCREF(Py_None
); resultobj
= Py_None
;
11068 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11069 PyObject
*resultobj
;
11070 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11072 PyObject
* obj0
= 0 ;
11073 char *kwnames
[] = {
11074 (char *) "self", NULL
11077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
11078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11080 result
= (int) ((arg1
)->m_buttonState
);
11082 resultobj
= SWIG_FromInt((int)result
);
11089 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11090 PyObject
*resultobj
;
11091 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 PyObject
* obj1
= 0 ;
11095 char *kwnames
[] = {
11096 (char *) "self",(char *) "m_joyStick", NULL
11099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
11100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11102 arg2
= (int) SWIG_AsInt(obj1
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11104 if (arg1
) (arg1
)->m_joyStick
= arg2
;
11106 Py_INCREF(Py_None
); resultobj
= Py_None
;
11113 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11114 PyObject
*resultobj
;
11115 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11117 PyObject
* obj0
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11125 result
= (int) ((arg1
)->m_joyStick
);
11127 resultobj
= SWIG_FromInt((int)result
);
11134 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11135 PyObject
*resultobj
;
11136 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11137 int arg2
= (int) 0 ;
11138 int arg3
= (int) wxJOYSTICK1
;
11139 int arg4
= (int) 0 ;
11140 wxJoystickEvent
*result
;
11141 PyObject
* obj0
= 0 ;
11142 PyObject
* obj1
= 0 ;
11143 PyObject
* obj2
= 0 ;
11144 PyObject
* obj3
= 0 ;
11145 char *kwnames
[] = {
11146 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
11149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11151 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11155 arg2
= (int) SWIG_AsInt(obj1
);
11156 if (PyErr_Occurred()) SWIG_fail
;
11159 arg3
= (int) SWIG_AsInt(obj2
);
11160 if (PyErr_Occurred()) SWIG_fail
;
11163 arg4
= (int) SWIG_AsInt(obj3
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
11170 wxPyEndAllowThreads(__tstate
);
11171 if (PyErr_Occurred()) SWIG_fail
;
11173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
11180 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
;
11182 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11184 PyObject
* obj0
= 0 ;
11185 char *kwnames
[] = {
11186 (char *) "self", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11200 wxPoint
* resultptr
;
11201 resultptr
= new wxPoint((wxPoint
&) result
);
11202 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11210 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
;
11212 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11214 PyObject
* obj0
= 0 ;
11215 char *kwnames
[] = {
11216 (char *) "self", NULL
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11224 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11226 wxPyEndAllowThreads(__tstate
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11229 resultobj
= SWIG_FromInt((int)result
);
11236 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11237 PyObject
*resultobj
;
11238 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11240 PyObject
* obj0
= 0 ;
11241 char *kwnames
[] = {
11242 (char *) "self", NULL
11245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11252 wxPyEndAllowThreads(__tstate
);
11253 if (PyErr_Occurred()) SWIG_fail
;
11255 resultobj
= SWIG_FromInt((int)result
);
11262 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11263 PyObject
*resultobj
;
11264 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11266 PyObject
* obj0
= 0 ;
11267 char *kwnames
[] = {
11268 (char *) "self", NULL
11271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11281 resultobj
= SWIG_FromInt((int)result
);
11288 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11289 PyObject
*resultobj
;
11290 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11292 PyObject
* obj0
= 0 ;
11293 char *kwnames
[] = {
11294 (char *) "self", NULL
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_FromInt((int)result
);
11314 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11318 PyObject
* obj0
= 0 ;
11319 PyObject
* obj1
= 0 ;
11320 char *kwnames
[] = {
11321 (char *) "self",(char *) "stick", NULL
11324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11327 arg2
= (int) SWIG_AsInt(obj1
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 (arg1
)->SetJoystick(arg2
);
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 Py_INCREF(Py_None
); resultobj
= Py_None
;
11343 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11347 PyObject
* obj0
= 0 ;
11348 PyObject
* obj1
= 0 ;
11349 char *kwnames
[] = {
11350 (char *) "self",(char *) "state", NULL
11353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11356 arg2
= (int) SWIG_AsInt(obj1
);
11357 if (PyErr_Occurred()) SWIG_fail
;
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 (arg1
)->SetButtonState(arg2
);
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11365 Py_INCREF(Py_None
); resultobj
= Py_None
;
11372 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11373 PyObject
*resultobj
;
11374 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11376 PyObject
* obj0
= 0 ;
11377 PyObject
* obj1
= 0 ;
11378 char *kwnames
[] = {
11379 (char *) "self",(char *) "change", NULL
11382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11385 arg2
= (int) SWIG_AsInt(obj1
);
11386 if (PyErr_Occurred()) SWIG_fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 (arg1
)->SetButtonChange(arg2
);
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 Py_INCREF(Py_None
); resultobj
= Py_None
;
11401 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11404 wxPoint
*arg2
= 0 ;
11406 PyObject
* obj0
= 0 ;
11407 PyObject
* obj1
= 0 ;
11408 char *kwnames
[] = {
11409 (char *) "self",(char *) "pos", NULL
11412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11417 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11421 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11423 wxPyEndAllowThreads(__tstate
);
11424 if (PyErr_Occurred()) SWIG_fail
;
11426 Py_INCREF(Py_None
); resultobj
= Py_None
;
11433 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11434 PyObject
*resultobj
;
11435 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11437 PyObject
* obj0
= 0 ;
11438 PyObject
* obj1
= 0 ;
11439 char *kwnames
[] = {
11440 (char *) "self",(char *) "zPos", NULL
11443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11446 arg2
= (int) SWIG_AsInt(obj1
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11450 (arg1
)->SetZPosition(arg2
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 Py_INCREF(Py_None
); resultobj
= Py_None
;
11462 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11466 PyObject
* obj0
= 0 ;
11467 char *kwnames
[] = {
11468 (char *) "self", NULL
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11490 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11494 PyObject
* obj0
= 0 ;
11495 char *kwnames
[] = {
11496 (char *) "self", NULL
11499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11504 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11506 wxPyEndAllowThreads(__tstate
);
11507 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11518 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
;
11520 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11522 PyObject
* obj0
= 0 ;
11523 char *kwnames
[] = {
11524 (char *) "self", NULL
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11546 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11547 PyObject
*resultobj
;
11548 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11549 int arg2
= (int) wxJOY_BUTTON_ANY
;
11551 PyObject
* obj0
= 0 ;
11552 PyObject
* obj1
= 0 ;
11553 char *kwnames
[] = {
11554 (char *) "self",(char *) "but", NULL
11557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11561 arg2
= (int) SWIG_AsInt(obj1
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11566 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11568 wxPyEndAllowThreads(__tstate
);
11569 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11580 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11583 int arg2
= (int) wxJOY_BUTTON_ANY
;
11585 PyObject
* obj0
= 0 ;
11586 PyObject
* obj1
= 0 ;
11587 char *kwnames
[] = {
11588 (char *) "self",(char *) "but", NULL
11591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11595 arg2
= (int) SWIG_AsInt(obj1
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11614 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11617 int arg2
= (int) wxJOY_BUTTON_ANY
;
11619 PyObject
* obj0
= 0 ;
11620 PyObject
* obj1
= 0 ;
11621 char *kwnames
[] = {
11622 (char *) "self",(char *) "but", NULL
11625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11629 arg2
= (int) SWIG_AsInt(obj1
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11648 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11651 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11653 return Py_BuildValue((char *)"");
11655 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
;
11657 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11658 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11660 bool temp1
= False
;
11661 PyObject
* obj0
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "fileName", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11669 arg1
= wxString_in_helper(obj0
);
11670 if (arg1
== NULL
) SWIG_fail
;
11675 if (!wxPyCheckForApp()) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11697 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
;
11699 PyObject
*arg1
= (PyObject
*) 0 ;
11701 PyObject
* obj0
= 0 ;
11702 char *kwnames
[] = {
11703 (char *) "data", NULL
11706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11709 if (!wxPyCheckForApp()) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 result
= (wxSound
*)new_wxSound(arg1
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11723 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxSound
*arg1
= (wxSound
*) 0 ;
11726 PyObject
* obj0
= 0 ;
11727 char *kwnames
[] = {
11728 (char *) "self", NULL
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 wxPyEndAllowThreads(__tstate
);
11739 if (PyErr_Occurred()) SWIG_fail
;
11741 Py_INCREF(Py_None
); resultobj
= Py_None
;
11748 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11749 PyObject
*resultobj
;
11750 wxSound
*arg1
= (wxSound
*) 0 ;
11751 wxString
*arg2
= 0 ;
11753 bool temp2
= False
;
11754 PyObject
* obj0
= 0 ;
11755 PyObject
* obj1
= 0 ;
11756 char *kwnames
[] = {
11757 (char *) "self",(char *) "fileName", NULL
11760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11764 arg2
= wxString_in_helper(obj1
);
11765 if (arg2
== NULL
) SWIG_fail
;
11769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11770 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11772 wxPyEndAllowThreads(__tstate
);
11773 if (PyErr_Occurred()) SWIG_fail
;
11776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11792 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxSound
*arg1
= (wxSound
*) 0 ;
11795 PyObject
*arg2
= (PyObject
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 PyObject
* obj1
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self",(char *) "data", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11823 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11824 PyObject
*resultobj
;
11825 wxSound
*arg1
= (wxSound
*) 0 ;
11827 PyObject
* obj0
= 0 ;
11828 char *kwnames
[] = {
11829 (char *) "self", NULL
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 result
= (bool)(arg1
)->IsOk();
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11851 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxSound
*arg1
= (wxSound
*) 0 ;
11854 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11856 PyObject
* obj0
= 0 ;
11857 PyObject
* obj1
= 0 ;
11858 char *kwnames
[] = {
11859 (char *) "self",(char *) "flags", NULL
11862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11866 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 if (!wxPyCheckForApp()) SWIG_fail
;
11871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11872 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11874 wxPyEndAllowThreads(__tstate
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11886 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxString
*arg1
= 0 ;
11889 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11891 bool temp1
= False
;
11892 PyObject
* obj0
= 0 ;
11893 PyObject
* obj1
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "filename",(char *) "flags", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11900 arg1
= wxString_in_helper(obj0
);
11901 if (arg1
== NULL
) SWIG_fail
;
11905 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11909 if (!wxPyCheckForApp()) SWIG_fail
;
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11913 wxPyEndAllowThreads(__tstate
);
11914 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11933 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
;
11935 char *kwnames
[] = {
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11941 if (!wxPyCheckForApp()) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 Py_INCREF(Py_None
); resultobj
= Py_None
;
11955 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11958 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11960 return Py_BuildValue((char *)"");
11962 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11963 PyObject
*resultobj
;
11964 wxString
*arg1
= 0 ;
11965 wxString
*arg2
= 0 ;
11966 wxString
*arg3
= 0 ;
11967 wxString
*arg4
= 0 ;
11968 wxFileTypeInfo
*result
;
11969 bool temp1
= False
;
11970 bool temp2
= False
;
11971 bool temp3
= False
;
11972 bool temp4
= False
;
11973 PyObject
* obj0
= 0 ;
11974 PyObject
* obj1
= 0 ;
11975 PyObject
* obj2
= 0 ;
11976 PyObject
* obj3
= 0 ;
11977 char *kwnames
[] = {
11978 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11983 arg1
= wxString_in_helper(obj0
);
11984 if (arg1
== NULL
) SWIG_fail
;
11988 arg2
= wxString_in_helper(obj1
);
11989 if (arg2
== NULL
) SWIG_fail
;
11993 arg3
= wxString_in_helper(obj2
);
11994 if (arg3
== NULL
) SWIG_fail
;
11998 arg4
= wxString_in_helper(obj3
);
11999 if (arg4
== NULL
) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12048 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12049 PyObject
*resultobj
;
12050 wxArrayString
*arg1
= 0 ;
12051 wxFileTypeInfo
*result
;
12052 bool temp1
= False
;
12053 PyObject
* obj0
= 0 ;
12054 char *kwnames
[] = {
12055 (char *) "sArray", NULL
12058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
12060 if (! PySequence_Check(obj0
)) {
12061 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
12064 arg1
= new wxArrayString
;
12066 int i
, len
=PySequence_Length(obj0
);
12067 for (i
=0; i
<len
; i
++) {
12068 PyObject
* item
= PySequence_GetItem(obj0
, i
);
12070 PyObject
* str
= PyObject_Unicode(item
);
12072 PyObject
* str
= PyObject_Str(item
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12075 arg1
->Add(Py2wxString(str
));
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12089 if (temp1
) delete arg1
;
12094 if (temp1
) delete arg1
;
12100 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12101 PyObject
*resultobj
;
12102 wxFileTypeInfo
*result
;
12103 char *kwnames
[] = {
12107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
12109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12110 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
12122 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12123 PyObject
*resultobj
;
12124 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12126 PyObject
* obj0
= 0 ;
12127 char *kwnames
[] = {
12128 (char *) "self", NULL
12131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
12132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12136 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12150 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12151 PyObject
*resultobj
;
12152 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12153 wxString
*arg2
= 0 ;
12154 int arg3
= (int) 0 ;
12155 bool temp2
= False
;
12156 PyObject
* obj0
= 0 ;
12157 PyObject
* obj1
= 0 ;
12158 PyObject
* obj2
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12167 arg2
= wxString_in_helper(obj1
);
12168 if (arg2
== NULL
) SWIG_fail
;
12172 arg3
= (int) SWIG_AsInt(obj2
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12177 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12179 wxPyEndAllowThreads(__tstate
);
12180 if (PyErr_Occurred()) SWIG_fail
;
12182 Py_INCREF(Py_None
); resultobj
= Py_None
;
12197 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12198 PyObject
*resultobj
;
12199 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12200 wxString
*arg2
= 0 ;
12201 bool temp2
= False
;
12202 PyObject
* obj0
= 0 ;
12203 PyObject
* obj1
= 0 ;
12204 char *kwnames
[] = {
12205 (char *) "self",(char *) "shortDesc", NULL
12208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12212 arg2
= wxString_in_helper(obj1
);
12213 if (arg2
== NULL
) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 Py_INCREF(Py_None
); resultobj
= Py_None
;
12238 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12239 PyObject
*resultobj
;
12240 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12242 PyObject
* obj0
= 0 ;
12243 char *kwnames
[] = {
12244 (char *) "self", NULL
12247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12253 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12254 result
= (wxString
*) &_result_ref
;
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12264 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12273 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12288 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12289 result
= (wxString
*) &_result_ref
;
12292 wxPyEndAllowThreads(__tstate
);
12293 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12299 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12308 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12323 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12324 result
= (wxString
*) &_result_ref
;
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12334 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12343 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
;
12345 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12347 PyObject
* obj0
= 0 ;
12348 char *kwnames
[] = {
12349 (char *) "self", NULL
12352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12359 result
= (wxString
*) &_result_ref
;
12362 wxPyEndAllowThreads(__tstate
);
12363 if (PyErr_Occurred()) SWIG_fail
;
12367 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12369 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12378 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12379 PyObject
*resultobj
;
12380 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12382 PyObject
* obj0
= 0 ;
12383 char *kwnames
[] = {
12384 (char *) "self", NULL
12387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12394 result
= (wxString
*) &_result_ref
;
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12402 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12404 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12413 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12416 wxArrayString
*result
;
12417 PyObject
* obj0
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12428 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12429 result
= (wxArrayString
*) &_result_ref
;
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12436 resultobj
= wxArrayString2PyList_helper(*result
);
12444 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12445 PyObject
*resultobj
;
12446 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12448 PyObject
* obj0
= 0 ;
12449 char *kwnames
[] = {
12450 (char *) "self", NULL
12453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12458 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12460 wxPyEndAllowThreads(__tstate
);
12461 if (PyErr_Occurred()) SWIG_fail
;
12463 resultobj
= SWIG_FromInt((int)result
);
12470 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12471 PyObject
*resultobj
;
12472 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12474 PyObject
* obj0
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12486 result
= (wxString
*) &_result_ref
;
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12496 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12505 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12506 PyObject
*resultobj
;
12507 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12509 PyObject
* obj0
= 0 ;
12510 char *kwnames
[] = {
12511 (char *) "self", NULL
12514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= SWIG_FromInt((int)result
);
12531 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12533 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12534 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12536 return Py_BuildValue((char *)"");
12538 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12539 PyObject
*resultobj
;
12540 wxFileTypeInfo
*arg1
= 0 ;
12541 wxFileType
*result
;
12542 PyObject
* obj0
= 0 ;
12543 char *kwnames
[] = {
12544 (char *) "ftInfo", NULL
12547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12551 if (arg1
== NULL
) {
12552 PyErr_SetString(PyExc_TypeError
,"null reference");
12556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12557 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12559 wxPyEndAllowThreads(__tstate
);
12560 if (PyErr_Occurred()) SWIG_fail
;
12562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12569 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12570 PyObject
*resultobj
;
12571 wxFileType
*arg1
= (wxFileType
*) 0 ;
12572 PyObject
* obj0
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 wxPyEndAllowThreads(__tstate
);
12585 if (PyErr_Occurred()) SWIG_fail
;
12587 Py_INCREF(Py_None
); resultobj
= Py_None
;
12594 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12595 PyObject
*resultobj
;
12596 wxFileType
*arg1
= (wxFileType
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 resultobj
= result
;
12620 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12621 PyObject
*resultobj
;
12622 wxFileType
*arg1
= (wxFileType
*) 0 ;
12624 PyObject
* obj0
= 0 ;
12625 char *kwnames
[] = {
12626 (char *) "self", NULL
12629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12636 wxPyEndAllowThreads(__tstate
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= result
;
12646 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12647 PyObject
*resultobj
;
12648 wxFileType
*arg1
= (wxFileType
*) 0 ;
12650 PyObject
* obj0
= 0 ;
12651 char *kwnames
[] = {
12652 (char *) "self", NULL
12655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= result
;
12672 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
;
12674 wxFileType
*arg1
= (wxFileType
*) 0 ;
12676 PyObject
* obj0
= 0 ;
12677 char *kwnames
[] = {
12678 (char *) "self", NULL
12681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12686 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12688 wxPyEndAllowThreads(__tstate
);
12689 if (PyErr_Occurred()) SWIG_fail
;
12691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12698 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12699 PyObject
*resultobj
;
12700 wxFileType
*arg1
= (wxFileType
*) 0 ;
12702 PyObject
* obj0
= 0 ;
12703 char *kwnames
[] = {
12704 (char *) "self", NULL
12707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12712 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12714 wxPyEndAllowThreads(__tstate
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12717 resultobj
= result
;
12724 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 wxFileType
*arg1
= (wxFileType
*) 0 ;
12728 PyObject
* obj0
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "self", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= result
;
12750 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
;
12752 wxFileType
*arg1
= (wxFileType
*) 0 ;
12753 wxString
*arg2
= 0 ;
12754 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12755 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12757 bool temp2
= False
;
12758 bool temp3
= False
;
12759 PyObject
* obj0
= 0 ;
12760 PyObject
* obj1
= 0 ;
12761 PyObject
* obj2
= 0 ;
12762 char *kwnames
[] = {
12763 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12770 arg2
= wxString_in_helper(obj1
);
12771 if (arg2
== NULL
) SWIG_fail
;
12776 arg3
= wxString_in_helper(obj2
);
12777 if (arg3
== NULL
) SWIG_fail
;
12782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12783 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12785 wxPyEndAllowThreads(__tstate
);
12786 if (PyErr_Occurred()) SWIG_fail
;
12788 resultobj
= result
;
12811 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12812 PyObject
*resultobj
;
12813 wxFileType
*arg1
= (wxFileType
*) 0 ;
12814 wxString
*arg2
= 0 ;
12815 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12816 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12818 bool temp2
= False
;
12819 bool temp3
= False
;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 PyObject
* obj2
= 0 ;
12823 char *kwnames
[] = {
12824 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12831 arg2
= wxString_in_helper(obj1
);
12832 if (arg2
== NULL
) SWIG_fail
;
12837 arg3
= wxString_in_helper(obj2
);
12838 if (arg3
== NULL
) SWIG_fail
;
12843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12844 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12849 resultobj
= result
;
12872 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12873 PyObject
*resultobj
;
12874 wxFileType
*arg1
= (wxFileType
*) 0 ;
12875 wxString
*arg2
= 0 ;
12876 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12877 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12879 bool temp2
= False
;
12880 bool temp3
= False
;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 PyObject
* obj2
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12892 arg2
= wxString_in_helper(obj1
);
12893 if (arg2
== NULL
) SWIG_fail
;
12898 arg3
= wxString_in_helper(obj2
);
12899 if (arg3
== NULL
) SWIG_fail
;
12904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12905 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12907 wxPyEndAllowThreads(__tstate
);
12908 if (PyErr_Occurred()) SWIG_fail
;
12910 resultobj
= result
;
12933 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxFileType
*arg1
= (wxFileType
*) 0 ;
12936 wxString
*arg2
= 0 ;
12937 wxString
*arg3
= 0 ;
12938 bool arg4
= (bool) True
;
12940 bool temp2
= False
;
12941 bool temp3
= False
;
12942 PyObject
* obj0
= 0 ;
12943 PyObject
* obj1
= 0 ;
12944 PyObject
* obj2
= 0 ;
12945 PyObject
* obj3
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12954 arg2
= wxString_in_helper(obj1
);
12955 if (arg2
== NULL
) SWIG_fail
;
12959 arg3
= wxString_in_helper(obj2
);
12960 if (arg3
== NULL
) SWIG_fail
;
12964 arg4
= (bool) SWIG_AsBool(obj3
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12969 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12971 wxPyEndAllowThreads(__tstate
);
12972 if (PyErr_Occurred()) SWIG_fail
;
12975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12999 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxFileType
*arg1
= (wxFileType
*) 0 ;
13002 wxString
const &arg2_defvalue
= wxPyEmptyString
;
13003 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
13004 int arg3
= (int) 0 ;
13006 bool temp2
= False
;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 PyObject
* obj2
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "self",(char *) "cmd",(char *) "index", NULL
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13019 arg2
= wxString_in_helper(obj1
);
13020 if (arg2
== NULL
) SWIG_fail
;
13025 arg3
= (int) SWIG_AsInt(obj2
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13052 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13053 PyObject
*resultobj
;
13054 wxFileType
*arg1
= (wxFileType
*) 0 ;
13056 PyObject
* obj0
= 0 ;
13057 char *kwnames
[] = {
13058 (char *) "self", NULL
13061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
13062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
13063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13066 result
= (bool)(arg1
)->Unassociate();
13068 wxPyEndAllowThreads(__tstate
);
13069 if (PyErr_Occurred()) SWIG_fail
;
13072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13080 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13081 PyObject
*resultobj
;
13082 wxString
*arg1
= 0 ;
13083 wxString
*arg2
= 0 ;
13084 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13085 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13087 bool temp1
= False
;
13088 bool temp2
= False
;
13089 bool temp3
= False
;
13090 PyObject
* obj0
= 0 ;
13091 PyObject
* obj1
= 0 ;
13092 PyObject
* obj2
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13099 arg1
= wxString_in_helper(obj0
);
13100 if (arg1
== NULL
) SWIG_fail
;
13104 arg2
= wxString_in_helper(obj1
);
13105 if (arg2
== NULL
) SWIG_fail
;
13110 arg3
= wxString_in_helper(obj2
);
13111 if (arg3
== NULL
) SWIG_fail
;
13116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13117 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13159 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13162 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13164 return Py_BuildValue((char *)"");
13166 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13167 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13172 static PyObject
*_wrap_TheMimeTypesManager_get() {
13175 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13180 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxString
*arg1
= 0 ;
13183 wxString
*arg2
= 0 ;
13185 bool temp1
= False
;
13186 bool temp2
= False
;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "mimeType",(char *) "wildcard", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13195 arg1
= wxString_in_helper(obj0
);
13196 if (arg1
== NULL
) SWIG_fail
;
13200 arg2
= wxString_in_helper(obj1
);
13201 if (arg2
== NULL
) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13236 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
;
13238 wxMimeTypesManager
*result
;
13239 char *kwnames
[] = {
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13258 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13261 int arg2
= (int) wxMAILCAP_ALL
;
13262 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13263 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13264 bool temp3
= False
;
13265 PyObject
* obj0
= 0 ;
13266 PyObject
* obj1
= 0 ;
13267 PyObject
* obj2
= 0 ;
13268 char *kwnames
[] = {
13269 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13276 arg2
= (int) SWIG_AsInt(obj1
);
13277 if (PyErr_Occurred()) SWIG_fail
;
13281 arg3
= wxString_in_helper(obj2
);
13282 if (arg3
== NULL
) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13288 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 Py_INCREF(Py_None
); resultobj
= Py_None
;
13308 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13309 PyObject
*resultobj
;
13310 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 (arg1
)->ClearData();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 Py_INCREF(Py_None
); resultobj
= Py_None
;
13333 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
;
13335 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13336 wxString
*arg2
= 0 ;
13337 wxFileType
*result
;
13338 bool temp2
= False
;
13339 PyObject
* obj0
= 0 ;
13340 PyObject
* obj1
= 0 ;
13341 char *kwnames
[] = {
13342 (char *) "self",(char *) "ext", NULL
13345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13349 arg2
= wxString_in_helper(obj1
);
13350 if (arg2
== NULL
) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13375 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13378 wxString
*arg2
= 0 ;
13379 wxFileType
*result
;
13380 bool temp2
= False
;
13381 PyObject
* obj0
= 0 ;
13382 PyObject
* obj1
= 0 ;
13383 char *kwnames
[] = {
13384 (char *) "self",(char *) "mimeType", NULL
13387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13391 arg2
= wxString_in_helper(obj1
);
13392 if (arg2
== NULL
) SWIG_fail
;
13396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13397 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13399 wxPyEndAllowThreads(__tstate
);
13400 if (PyErr_Occurred()) SWIG_fail
;
13402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13417 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13420 wxString
*arg2
= 0 ;
13421 bool arg3
= (bool) False
;
13423 bool temp2
= False
;
13424 PyObject
* obj0
= 0 ;
13425 PyObject
* obj1
= 0 ;
13426 PyObject
* obj2
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13435 arg2
= wxString_in_helper(obj1
);
13436 if (arg2
== NULL
) SWIG_fail
;
13440 arg3
= (bool) SWIG_AsBool(obj2
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13467 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
;
13469 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13470 wxString
*arg2
= 0 ;
13472 bool temp2
= False
;
13473 PyObject
* obj0
= 0 ;
13474 PyObject
* obj1
= 0 ;
13475 char *kwnames
[] = {
13476 (char *) "self",(char *) "filename", NULL
13479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13483 arg2
= wxString_in_helper(obj1
);
13484 if (arg2
== NULL
) SWIG_fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13511 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13512 PyObject
*resultobj
;
13513 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13515 PyObject
* obj0
= 0 ;
13516 char *kwnames
[] = {
13517 (char *) "self", NULL
13520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13525 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13527 wxPyEndAllowThreads(__tstate
);
13528 if (PyErr_Occurred()) SWIG_fail
;
13530 resultobj
= result
;
13537 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13538 PyObject
*resultobj
;
13539 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13540 wxFileTypeInfo
*arg2
= 0 ;
13541 PyObject
* obj0
= 0 ;
13542 PyObject
* obj1
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self",(char *) "ft", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13551 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13553 if (arg2
== NULL
) {
13554 PyErr_SetString(PyExc_TypeError
,"null reference");
13558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13559 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13561 wxPyEndAllowThreads(__tstate
);
13562 if (PyErr_Occurred()) SWIG_fail
;
13564 Py_INCREF(Py_None
); resultobj
= Py_None
;
13571 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13572 PyObject
*resultobj
;
13573 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13574 wxFileTypeInfo
*arg2
= 0 ;
13575 wxFileType
*result
;
13576 PyObject
* obj0
= 0 ;
13577 PyObject
* obj1
= 0 ;
13578 char *kwnames
[] = {
13579 (char *) "self",(char *) "ftInfo", NULL
13582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13588 if (arg2
== NULL
) {
13589 PyErr_SetString(PyExc_TypeError
,"null reference");
13593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13594 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13596 wxPyEndAllowThreads(__tstate
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13606 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13607 PyObject
*resultobj
;
13608 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13609 wxFileType
*arg2
= (wxFileType
*) 0 ;
13611 PyObject
* obj0
= 0 ;
13612 PyObject
* obj1
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self",(char *) "ft", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (bool)(arg1
)->Unassociate(arg2
);
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13638 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13639 PyObject
*resultobj
;
13640 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13641 PyObject
* obj0
= 0 ;
13642 char *kwnames
[] = {
13643 (char *) "self", NULL
13646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13653 wxPyEndAllowThreads(__tstate
);
13654 if (PyErr_Occurred()) SWIG_fail
;
13656 Py_INCREF(Py_None
); resultobj
= Py_None
;
13663 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13666 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13668 return Py_BuildValue((char *)"");
13670 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13671 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13676 static PyObject
*_wrap_ART_TOOLBAR_get() {
13681 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13683 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13690 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13691 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13696 static PyObject
*_wrap_ART_MENU_get() {
13701 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13703 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13710 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13711 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13716 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13721 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13723 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13730 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13731 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13736 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13741 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13743 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13750 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13751 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13756 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13761 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13763 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13770 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13771 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13776 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13781 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13783 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13790 static int _wrap_ART_BUTTON_set(PyObject
*_val
) {
13791 PyErr_SetString(PyExc_TypeError
,"Variable ART_BUTTON is read-only.");
13796 static PyObject
*_wrap_ART_BUTTON_get() {
13801 pyobj
= PyUnicode_FromWideChar((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
13803 pyobj
= PyString_FromStringAndSize((&wxPyART_BUTTON
)->c_str(), (&wxPyART_BUTTON
)->Len());
13810 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13811 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13816 static PyObject
*_wrap_ART_OTHER_get() {
13821 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13823 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13830 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13831 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13836 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13841 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13843 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13850 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13851 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13856 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13861 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13863 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13870 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13871 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13876 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13881 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13883 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13890 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13891 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13896 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13901 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13903 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13910 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13911 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13916 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13921 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13923 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13930 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13931 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13936 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13941 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13943 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13950 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13951 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13956 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13961 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13963 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13970 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13971 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13976 static PyObject
*_wrap_ART_GO_BACK_get() {
13981 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13983 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13990 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13991 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13996 static PyObject
*_wrap_ART_GO_FORWARD_get() {
14001 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14003 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
14010 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
14011 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
14016 static PyObject
*_wrap_ART_GO_UP_get() {
14021 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14023 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
14030 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
14031 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
14036 static PyObject
*_wrap_ART_GO_DOWN_get() {
14041 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14043 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
14050 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
14051 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
14056 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
14061 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14063 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
14070 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
14071 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
14076 static PyObject
*_wrap_ART_GO_HOME_get() {
14081 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14083 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
14090 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
14091 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
14096 static PyObject
*_wrap_ART_FILE_OPEN_get() {
14101 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14103 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
14110 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
14111 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
14116 static PyObject
*_wrap_ART_PRINT_get() {
14121 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14123 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
14130 static int _wrap_ART_HELP_set(PyObject
*_val
) {
14131 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
14136 static PyObject
*_wrap_ART_HELP_get() {
14141 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14143 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
14150 static int _wrap_ART_TIP_set(PyObject
*_val
) {
14151 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
14156 static PyObject
*_wrap_ART_TIP_get() {
14161 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14163 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
14170 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
14171 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14176 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14181 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14183 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14190 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14191 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14196 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14201 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14203 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14210 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14211 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14216 static PyObject
*_wrap_ART_NEW_DIR_get() {
14221 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14223 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14230 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14231 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14236 static PyObject
*_wrap_ART_FOLDER_get() {
14241 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14243 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14250 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14251 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14256 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14261 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14263 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14270 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14271 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14276 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14281 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14283 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14290 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14291 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14296 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14301 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14303 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14310 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14311 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14316 static PyObject
*_wrap_ART_TICK_MARK_get() {
14321 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14323 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14330 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14331 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14336 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14341 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14343 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14350 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14351 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14356 static PyObject
*_wrap_ART_ERROR_get() {
14361 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14363 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14370 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14371 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14376 static PyObject
*_wrap_ART_QUESTION_get() {
14381 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14383 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14390 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14391 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14396 static PyObject
*_wrap_ART_WARNING_get() {
14401 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14403 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14410 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14411 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14416 static PyObject
*_wrap_ART_INFORMATION_get() {
14421 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14423 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14430 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14431 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14436 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14441 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14443 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14450 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14451 PyObject
*resultobj
;
14452 wxPyArtProvider
*result
;
14453 char *kwnames
[] = {
14457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14459 if (!wxPyCheckForApp()) SWIG_fail
;
14460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14461 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14473 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14476 PyObject
*arg2
= (PyObject
*) 0 ;
14477 PyObject
*arg3
= (PyObject
*) 0 ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 PyObject
* obj2
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self",(char *) "self",(char *) "_class", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14492 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14497 Py_INCREF(Py_None
); resultobj
= Py_None
;
14504 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14505 PyObject
*resultobj
;
14506 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14507 PyObject
* obj0
= 0 ;
14508 char *kwnames
[] = {
14509 (char *) "provider", NULL
14512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 wxPyArtProvider::PushProvider(arg1
);
14519 wxPyEndAllowThreads(__tstate
);
14520 if (PyErr_Occurred()) SWIG_fail
;
14522 Py_INCREF(Py_None
); resultobj
= Py_None
;
14529 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14532 char *kwnames
[] = {
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14539 result
= (bool)wxPyArtProvider::PopProvider();
14541 wxPyEndAllowThreads(__tstate
);
14542 if (PyErr_Occurred()) SWIG_fail
;
14545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14553 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "provider", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14567 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14569 wxPyEndAllowThreads(__tstate
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14581 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14582 PyObject
*resultobj
;
14583 wxString
*arg1
= 0 ;
14584 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14585 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14586 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14587 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14589 bool temp1
= False
;
14590 bool temp2
= False
;
14592 PyObject
* obj0
= 0 ;
14593 PyObject
* obj1
= 0 ;
14594 PyObject
* obj2
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "id",(char *) "client",(char *) "size", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14601 arg1
= wxString_in_helper(obj0
);
14602 if (arg1
== NULL
) SWIG_fail
;
14607 arg2
= wxString_in_helper(obj1
);
14608 if (arg2
== NULL
) SWIG_fail
;
14615 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14619 if (!wxPyCheckForApp()) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14627 wxBitmap
* resultptr
;
14628 resultptr
= new wxBitmap((wxBitmap
&) result
);
14629 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14653 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxString
*arg1
= 0 ;
14656 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14657 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14658 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14659 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14661 bool temp1
= False
;
14662 bool temp2
= False
;
14664 PyObject
* obj0
= 0 ;
14665 PyObject
* obj1
= 0 ;
14666 PyObject
* obj2
= 0 ;
14667 char *kwnames
[] = {
14668 (char *) "id",(char *) "client",(char *) "size", NULL
14671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14673 arg1
= wxString_in_helper(obj0
);
14674 if (arg1
== NULL
) SWIG_fail
;
14679 arg2
= wxString_in_helper(obj1
);
14680 if (arg2
== NULL
) SWIG_fail
;
14687 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14691 if (!wxPyCheckForApp()) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14699 wxIcon
* resultptr
;
14700 resultptr
= new wxIcon((wxIcon
&) result
);
14701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14725 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14738 wxPyArtProvider_Destroy(arg1
);
14740 wxPyEndAllowThreads(__tstate
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14743 Py_INCREF(Py_None
); resultobj
= Py_None
;
14750 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14753 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14755 return Py_BuildValue((char *)"");
14757 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14758 PyObject
*resultobj
;
14759 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14760 PyObject
* obj0
= 0 ;
14761 char *kwnames
[] = {
14762 (char *) "self", NULL
14765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14772 wxPyEndAllowThreads(__tstate
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14775 Py_INCREF(Py_None
); resultobj
= Py_None
;
14782 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14783 PyObject
*resultobj
;
14784 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14785 wxConfigBase
*result
;
14786 PyObject
* obj0
= 0 ;
14787 char *kwnames
[] = {
14788 (char *) "config", NULL
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14808 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 bool arg1
= (bool) True
;
14811 wxConfigBase
*result
;
14812 PyObject
* obj0
= 0 ;
14813 char *kwnames
[] = {
14814 (char *) "createOnDemand", NULL
14817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14819 arg1
= (bool) SWIG_AsBool(obj0
);
14820 if (PyErr_Occurred()) SWIG_fail
;
14823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14824 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14826 wxPyEndAllowThreads(__tstate
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14836 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14837 PyObject
*resultobj
;
14838 wxConfigBase
*result
;
14839 char *kwnames
[] = {
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14846 result
= (wxConfigBase
*)wxConfigBase::Create();
14848 wxPyEndAllowThreads(__tstate
);
14849 if (PyErr_Occurred()) SWIG_fail
;
14851 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14858 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14859 PyObject
*resultobj
;
14860 char *kwnames
[] = {
14864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 wxConfigBase::DontCreateOnDemand();
14869 wxPyEndAllowThreads(__tstate
);
14870 if (PyErr_Occurred()) SWIG_fail
;
14872 Py_INCREF(Py_None
); resultobj
= Py_None
;
14879 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14880 PyObject
*resultobj
;
14881 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14882 wxString
*arg2
= 0 ;
14883 bool temp2
= False
;
14884 PyObject
* obj0
= 0 ;
14885 PyObject
* obj1
= 0 ;
14886 char *kwnames
[] = {
14887 (char *) "self",(char *) "path", NULL
14890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14894 arg2
= wxString_in_helper(obj1
);
14895 if (arg2
== NULL
) SWIG_fail
;
14899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14900 (arg1
)->SetPath((wxString
const &)*arg2
);
14902 wxPyEndAllowThreads(__tstate
);
14903 if (PyErr_Occurred()) SWIG_fail
;
14905 Py_INCREF(Py_None
); resultobj
= Py_None
;
14920 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14936 result
= (wxString
*) &_result_ref
;
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14944 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14946 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14955 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14956 PyObject
*resultobj
;
14957 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14959 PyObject
* obj0
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 resultobj
= result
;
14981 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14986 PyObject
* obj0
= 0 ;
14987 PyObject
* obj1
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self",(char *) "index", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14995 arg2
= (long) SWIG_AsLong(obj1
);
14996 if (PyErr_Occurred()) SWIG_fail
;
14998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14999 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
15001 wxPyEndAllowThreads(__tstate
);
15002 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= result
;
15011 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15012 PyObject
*resultobj
;
15013 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15015 PyObject
* obj0
= 0 ;
15016 char *kwnames
[] = {
15017 (char *) "self", NULL
15020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
15021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15025 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
15027 wxPyEndAllowThreads(__tstate
);
15028 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= result
;
15037 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15042 PyObject
* obj0
= 0 ;
15043 PyObject
* obj1
= 0 ;
15044 char *kwnames
[] = {
15045 (char *) "self",(char *) "index", NULL
15048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15051 arg2
= (long) SWIG_AsLong(obj1
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15055 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
15057 wxPyEndAllowThreads(__tstate
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15060 resultobj
= result
;
15067 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15068 PyObject
*resultobj
;
15069 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15070 bool arg2
= (bool) False
;
15072 PyObject
* obj0
= 0 ;
15073 PyObject
* obj1
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self",(char *) "recursive", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
15079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15082 arg2
= (bool) SWIG_AsBool(obj1
);
15083 if (PyErr_Occurred()) SWIG_fail
;
15086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15087 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
15089 wxPyEndAllowThreads(__tstate
);
15090 if (PyErr_Occurred()) SWIG_fail
;
15092 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15099 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15102 bool arg2
= (bool) False
;
15104 PyObject
* obj0
= 0 ;
15105 PyObject
* obj1
= 0 ;
15106 char *kwnames
[] = {
15107 (char *) "self",(char *) "recursive", NULL
15110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
15111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15114 arg2
= (bool) SWIG_AsBool(obj1
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15119 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
15121 wxPyEndAllowThreads(__tstate
);
15122 if (PyErr_Occurred()) SWIG_fail
;
15124 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
15131 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
;
15133 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15134 wxString
*arg2
= 0 ;
15136 bool temp2
= False
;
15137 PyObject
* obj0
= 0 ;
15138 PyObject
* obj1
= 0 ;
15139 char *kwnames
[] = {
15140 (char *) "self",(char *) "name", NULL
15143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15147 arg2
= wxString_in_helper(obj1
);
15148 if (arg2
== NULL
) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15175 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
;
15177 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15178 wxString
*arg2
= 0 ;
15180 bool temp2
= False
;
15181 PyObject
* obj0
= 0 ;
15182 PyObject
* obj1
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self",(char *) "name", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15191 arg2
= wxString_in_helper(obj1
);
15192 if (arg2
== NULL
) SWIG_fail
;
15196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15197 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15199 wxPyEndAllowThreads(__tstate
);
15200 if (PyErr_Occurred()) SWIG_fail
;
15203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15219 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15222 wxString
*arg2
= 0 ;
15224 bool temp2
= False
;
15225 PyObject
* obj0
= 0 ;
15226 PyObject
* obj1
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "self",(char *) "name", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15235 arg2
= wxString_in_helper(obj1
);
15236 if (arg2
== NULL
) SWIG_fail
;
15240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15241 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15243 wxPyEndAllowThreads(__tstate
);
15244 if (PyErr_Occurred()) SWIG_fail
;
15247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15263 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15264 PyObject
*resultobj
;
15265 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15266 wxString
*arg2
= 0 ;
15268 bool temp2
= False
;
15269 PyObject
* obj0
= 0 ;
15270 PyObject
* obj1
= 0 ;
15271 char *kwnames
[] = {
15272 (char *) "self",(char *) "name", NULL
15275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15279 arg2
= wxString_in_helper(obj1
);
15280 if (arg2
== NULL
) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= SWIG_FromInt((int)result
);
15305 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15308 wxString
*arg2
= 0 ;
15309 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15310 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15312 bool temp2
= False
;
15313 bool temp3
= False
;
15314 PyObject
* obj0
= 0 ;
15315 PyObject
* obj1
= 0 ;
15316 PyObject
* obj2
= 0 ;
15317 char *kwnames
[] = {
15318 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15325 arg2
= wxString_in_helper(obj1
);
15326 if (arg2
== NULL
) SWIG_fail
;
15331 arg3
= wxString_in_helper(obj2
);
15332 if (arg3
== NULL
) SWIG_fail
;
15337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15338 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15340 wxPyEndAllowThreads(__tstate
);
15341 if (PyErr_Occurred()) SWIG_fail
;
15345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15372 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15375 wxString
*arg2
= 0 ;
15376 long arg3
= (long) 0 ;
15378 bool temp2
= False
;
15379 PyObject
* obj0
= 0 ;
15380 PyObject
* obj1
= 0 ;
15381 PyObject
* obj2
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15390 arg2
= wxString_in_helper(obj1
);
15391 if (arg2
== NULL
) SWIG_fail
;
15395 arg3
= (long) SWIG_AsLong(obj2
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15400 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15402 wxPyEndAllowThreads(__tstate
);
15403 if (PyErr_Occurred()) SWIG_fail
;
15405 resultobj
= SWIG_FromLong((long)result
);
15420 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15423 wxString
*arg2
= 0 ;
15424 double arg3
= (double) 0.0 ;
15426 bool temp2
= False
;
15427 PyObject
* obj0
= 0 ;
15428 PyObject
* obj1
= 0 ;
15429 PyObject
* obj2
= 0 ;
15430 char *kwnames
[] = {
15431 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15438 arg2
= wxString_in_helper(obj1
);
15439 if (arg2
== NULL
) SWIG_fail
;
15443 arg3
= (double) SWIG_AsDouble(obj2
);
15444 if (PyErr_Occurred()) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_FromDouble((double)result
);
15468 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15471 wxString
*arg2
= 0 ;
15472 bool arg3
= (bool) False
;
15474 bool temp2
= False
;
15475 PyObject
* obj0
= 0 ;
15476 PyObject
* obj1
= 0 ;
15477 PyObject
* obj2
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15486 arg2
= wxString_in_helper(obj1
);
15487 if (arg2
== NULL
) SWIG_fail
;
15491 arg3
= (bool) SWIG_AsBool(obj2
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15496 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15502 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15518 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15521 wxString
*arg2
= 0 ;
15522 wxString
*arg3
= 0 ;
15524 bool temp2
= False
;
15525 bool temp3
= False
;
15526 PyObject
* obj0
= 0 ;
15527 PyObject
* obj1
= 0 ;
15528 PyObject
* obj2
= 0 ;
15529 char *kwnames
[] = {
15530 (char *) "self",(char *) "key",(char *) "value", NULL
15533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15537 arg2
= wxString_in_helper(obj1
);
15538 if (arg2
== NULL
) SWIG_fail
;
15542 arg3
= wxString_in_helper(obj2
);
15543 if (arg3
== NULL
) SWIG_fail
;
15547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15548 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15578 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15581 wxString
*arg2
= 0 ;
15584 bool temp2
= False
;
15585 PyObject
* obj0
= 0 ;
15586 PyObject
* obj1
= 0 ;
15587 PyObject
* obj2
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "self",(char *) "key",(char *) "value", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15596 arg2
= wxString_in_helper(obj1
);
15597 if (arg2
== NULL
) SWIG_fail
;
15600 arg3
= (long) SWIG_AsLong(obj2
);
15601 if (PyErr_Occurred()) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15626 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15627 PyObject
*resultobj
;
15628 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15629 wxString
*arg2
= 0 ;
15632 bool temp2
= False
;
15633 PyObject
* obj0
= 0 ;
15634 PyObject
* obj1
= 0 ;
15635 PyObject
* obj2
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self",(char *) "key",(char *) "value", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15644 arg2
= wxString_in_helper(obj1
);
15645 if (arg2
== NULL
) SWIG_fail
;
15648 arg3
= (double) SWIG_AsDouble(obj2
);
15649 if (PyErr_Occurred()) SWIG_fail
;
15651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15652 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15654 wxPyEndAllowThreads(__tstate
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15674 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15675 PyObject
*resultobj
;
15676 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15677 wxString
*arg2
= 0 ;
15680 bool temp2
= False
;
15681 PyObject
* obj0
= 0 ;
15682 PyObject
* obj1
= 0 ;
15683 PyObject
* obj2
= 0 ;
15684 char *kwnames
[] = {
15685 (char *) "self",(char *) "key",(char *) "value", NULL
15688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15692 arg2
= wxString_in_helper(obj1
);
15693 if (arg2
== NULL
) SWIG_fail
;
15696 arg3
= (bool) SWIG_AsBool(obj2
);
15697 if (PyErr_Occurred()) SWIG_fail
;
15699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15700 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15702 wxPyEndAllowThreads(__tstate
);
15703 if (PyErr_Occurred()) SWIG_fail
;
15706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15722 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15723 PyObject
*resultobj
;
15724 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15725 bool arg2
= (bool) False
;
15727 PyObject
* obj0
= 0 ;
15728 PyObject
* obj1
= 0 ;
15729 char *kwnames
[] = {
15730 (char *) "self",(char *) "currentOnly", NULL
15733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15737 arg2
= (bool) SWIG_AsBool(obj1
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (bool)(arg1
)->Flush(arg2
);
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15756 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15757 PyObject
*resultobj
;
15758 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15759 wxString
*arg2
= 0 ;
15760 wxString
*arg3
= 0 ;
15762 bool temp2
= False
;
15763 bool temp3
= False
;
15764 PyObject
* obj0
= 0 ;
15765 PyObject
* obj1
= 0 ;
15766 PyObject
* obj2
= 0 ;
15767 char *kwnames
[] = {
15768 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15775 arg2
= wxString_in_helper(obj1
);
15776 if (arg2
== NULL
) SWIG_fail
;
15780 arg3
= wxString_in_helper(obj2
);
15781 if (arg3
== NULL
) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15788 wxPyEndAllowThreads(__tstate
);
15789 if (PyErr_Occurred()) SWIG_fail
;
15792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15816 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15817 PyObject
*resultobj
;
15818 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15819 wxString
*arg2
= 0 ;
15820 wxString
*arg3
= 0 ;
15822 bool temp2
= False
;
15823 bool temp3
= False
;
15824 PyObject
* obj0
= 0 ;
15825 PyObject
* obj1
= 0 ;
15826 PyObject
* obj2
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15835 arg2
= wxString_in_helper(obj1
);
15836 if (arg2
== NULL
) SWIG_fail
;
15840 arg3
= wxString_in_helper(obj2
);
15841 if (arg3
== NULL
) SWIG_fail
;
15845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15846 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15848 wxPyEndAllowThreads(__tstate
);
15849 if (PyErr_Occurred()) SWIG_fail
;
15852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15876 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15879 wxString
*arg2
= 0 ;
15880 bool arg3
= (bool) True
;
15882 bool temp2
= False
;
15883 PyObject
* obj0
= 0 ;
15884 PyObject
* obj1
= 0 ;
15885 PyObject
* obj2
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15894 arg2
= wxString_in_helper(obj1
);
15895 if (arg2
== NULL
) SWIG_fail
;
15899 arg3
= (bool) SWIG_AsBool(obj2
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15904 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15906 wxPyEndAllowThreads(__tstate
);
15907 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15926 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15929 wxString
*arg2
= 0 ;
15931 bool temp2
= False
;
15932 PyObject
* obj0
= 0 ;
15933 PyObject
* obj1
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self",(char *) "key", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15942 arg2
= wxString_in_helper(obj1
);
15943 if (arg2
== NULL
) SWIG_fail
;
15947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15948 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15950 wxPyEndAllowThreads(__tstate
);
15951 if (PyErr_Occurred()) SWIG_fail
;
15954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15970 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15972 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 char *kwnames
[] = {
15976 (char *) "self", NULL
15979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15984 result
= (bool)(arg1
)->DeleteAll();
15986 wxPyEndAllowThreads(__tstate
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15998 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15999 PyObject
*resultobj
;
16000 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16001 bool arg2
= (bool) True
;
16002 PyObject
* obj0
= 0 ;
16003 PyObject
* obj1
= 0 ;
16004 char *kwnames
[] = {
16005 (char *) "self",(char *) "doIt", NULL
16008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16012 arg2
= (bool) SWIG_AsBool(obj1
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16017 (arg1
)->SetExpandEnvVars(arg2
);
16019 wxPyEndAllowThreads(__tstate
);
16020 if (PyErr_Occurred()) SWIG_fail
;
16022 Py_INCREF(Py_None
); resultobj
= Py_None
;
16029 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16033 PyObject
* obj0
= 0 ;
16034 char *kwnames
[] = {
16035 (char *) "self", NULL
16038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
16039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16043 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
16045 wxPyEndAllowThreads(__tstate
);
16046 if (PyErr_Occurred()) SWIG_fail
;
16049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16057 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16058 PyObject
*resultobj
;
16059 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16060 bool arg2
= (bool) True
;
16061 PyObject
* obj0
= 0 ;
16062 PyObject
* obj1
= 0 ;
16063 char *kwnames
[] = {
16064 (char *) "self",(char *) "doIt", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
16068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16071 arg2
= (bool) SWIG_AsBool(obj1
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16076 (arg1
)->SetRecordDefaults(arg2
);
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16081 Py_INCREF(Py_None
); resultobj
= Py_None
;
16088 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16089 PyObject
*resultobj
;
16090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 char *kwnames
[] = {
16094 (char *) "self", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
16098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16116 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
;
16118 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16119 wxString
*arg2
= 0 ;
16121 bool temp2
= False
;
16122 PyObject
* obj0
= 0 ;
16123 PyObject
* obj1
= 0 ;
16124 char *kwnames
[] = {
16125 (char *) "self",(char *) "str", NULL
16128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
16129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16132 arg2
= wxString_in_helper(obj1
);
16133 if (arg2
== NULL
) SWIG_fail
;
16137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16138 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
16140 wxPyEndAllowThreads(__tstate
);
16141 if (PyErr_Occurred()) SWIG_fail
;
16145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16164 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16165 PyObject
*resultobj
;
16166 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16168 PyObject
* obj0
= 0 ;
16169 char *kwnames
[] = {
16170 (char *) "self", NULL
16173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
16174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16178 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16180 wxPyEndAllowThreads(__tstate
);
16181 if (PyErr_Occurred()) SWIG_fail
;
16185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16196 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16219 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16228 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16231 wxString
*arg2
= 0 ;
16232 bool temp2
= False
;
16233 PyObject
* obj0
= 0 ;
16234 PyObject
* obj1
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self",(char *) "appName", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16243 arg2
= wxString_in_helper(obj1
);
16244 if (arg2
== NULL
) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 (arg1
)->SetAppName((wxString
const &)*arg2
);
16251 wxPyEndAllowThreads(__tstate
);
16252 if (PyErr_Occurred()) SWIG_fail
;
16254 Py_INCREF(Py_None
); resultobj
= Py_None
;
16269 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16270 PyObject
*resultobj
;
16271 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16272 wxString
*arg2
= 0 ;
16273 bool temp2
= False
;
16274 PyObject
* obj0
= 0 ;
16275 PyObject
* obj1
= 0 ;
16276 char *kwnames
[] = {
16277 (char *) "self",(char *) "vendorName", NULL
16280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16284 arg2
= wxString_in_helper(obj1
);
16285 if (arg2
== NULL
) SWIG_fail
;
16289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16290 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16292 wxPyEndAllowThreads(__tstate
);
16293 if (PyErr_Occurred()) SWIG_fail
;
16295 Py_INCREF(Py_None
); resultobj
= Py_None
;
16310 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16311 PyObject
*resultobj
;
16312 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16314 PyObject
* obj0
= 0 ;
16315 PyObject
* obj1
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self",(char *) "style", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16323 arg2
= (long) SWIG_AsLong(obj1
);
16324 if (PyErr_Occurred()) SWIG_fail
;
16326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16327 (arg1
)->SetStyle(arg2
);
16329 wxPyEndAllowThreads(__tstate
);
16330 if (PyErr_Occurred()) SWIG_fail
;
16332 Py_INCREF(Py_None
); resultobj
= Py_None
;
16339 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16353 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16355 wxPyEndAllowThreads(__tstate
);
16356 if (PyErr_Occurred()) SWIG_fail
;
16358 resultobj
= SWIG_FromLong((long)result
);
16365 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16368 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16370 return Py_BuildValue((char *)"");
16372 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16375 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16376 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16377 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16378 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16379 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16380 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16381 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16382 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16384 bool temp1
= False
;
16385 bool temp2
= False
;
16386 bool temp3
= False
;
16387 bool temp4
= False
;
16388 PyObject
* obj0
= 0 ;
16389 PyObject
* obj1
= 0 ;
16390 PyObject
* obj2
= 0 ;
16391 PyObject
* obj3
= 0 ;
16392 PyObject
* obj4
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16400 arg1
= wxString_in_helper(obj0
);
16401 if (arg1
== NULL
) SWIG_fail
;
16407 arg2
= wxString_in_helper(obj1
);
16408 if (arg2
== NULL
) SWIG_fail
;
16414 arg3
= wxString_in_helper(obj2
);
16415 if (arg3
== NULL
) SWIG_fail
;
16421 arg4
= wxString_in_helper(obj3
);
16422 if (arg4
== NULL
) SWIG_fail
;
16427 arg5
= (long) SWIG_AsLong(obj4
);
16428 if (PyErr_Occurred()) SWIG_fail
;
16431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16432 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16434 wxPyEndAllowThreads(__tstate
);
16435 if (PyErr_Occurred()) SWIG_fail
;
16437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16476 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16477 PyObject
*resultobj
;
16478 wxConfig
*arg1
= (wxConfig
*) 0 ;
16479 PyObject
* obj0
= 0 ;
16480 char *kwnames
[] = {
16481 (char *) "self", NULL
16484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 Py_INCREF(Py_None
); resultobj
= Py_None
;
16501 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16504 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16506 return Py_BuildValue((char *)"");
16508 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16509 PyObject
*resultobj
;
16510 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16511 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16512 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16513 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16514 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16515 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16516 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16517 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16518 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16519 wxFileConfig
*result
;
16520 bool temp1
= False
;
16521 bool temp2
= False
;
16522 bool temp3
= False
;
16523 bool temp4
= False
;
16524 PyObject
* obj0
= 0 ;
16525 PyObject
* obj1
= 0 ;
16526 PyObject
* obj2
= 0 ;
16527 PyObject
* obj3
= 0 ;
16528 PyObject
* obj4
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16536 arg1
= wxString_in_helper(obj0
);
16537 if (arg1
== NULL
) SWIG_fail
;
16543 arg2
= wxString_in_helper(obj1
);
16544 if (arg2
== NULL
) SWIG_fail
;
16550 arg3
= wxString_in_helper(obj2
);
16551 if (arg3
== NULL
) SWIG_fail
;
16557 arg4
= wxString_in_helper(obj3
);
16558 if (arg4
== NULL
) SWIG_fail
;
16563 arg5
= (long) SWIG_AsLong(obj4
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16612 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
;
16614 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16615 PyObject
* obj0
= 0 ;
16616 char *kwnames
[] = {
16617 (char *) "self", NULL
16620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 wxPyEndAllowThreads(__tstate
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 Py_INCREF(Py_None
); resultobj
= Py_None
;
16637 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16640 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16642 return Py_BuildValue((char *)"");
16644 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16645 PyObject
*resultobj
;
16646 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16647 wxString
*arg2
= 0 ;
16648 wxConfigPathChanger
*result
;
16649 bool temp2
= False
;
16650 PyObject
* obj0
= 0 ;
16651 PyObject
* obj1
= 0 ;
16652 char *kwnames
[] = {
16653 (char *) "config",(char *) "entry", NULL
16656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16660 arg2
= wxString_in_helper(obj1
);
16661 if (arg2
== NULL
) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16671 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16686 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16689 PyObject
* obj0
= 0 ;
16690 char *kwnames
[] = {
16691 (char *) "self", NULL
16694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 wxPyEndAllowThreads(__tstate
);
16702 if (PyErr_Occurred()) SWIG_fail
;
16704 Py_INCREF(Py_None
); resultobj
= Py_None
;
16711 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16712 PyObject
*resultobj
;
16713 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16715 PyObject
* obj0
= 0 ;
16716 char *kwnames
[] = {
16717 (char *) "self", NULL
16720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16727 result
= (wxString
*) &_result_ref
;
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16737 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16746 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16749 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16751 return Py_BuildValue((char *)"");
16753 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16754 PyObject
*resultobj
;
16755 wxString
*arg1
= 0 ;
16757 bool temp1
= False
;
16758 PyObject
* obj0
= 0 ;
16759 char *kwnames
[] = {
16760 (char *) "sz", NULL
16763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16765 arg1
= wxString_in_helper(obj0
);
16766 if (arg1
== NULL
) SWIG_fail
;
16770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16771 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16773 wxPyEndAllowThreads(__tstate
);
16774 if (PyErr_Occurred()) SWIG_fail
;
16778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16797 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16798 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16803 static PyObject
*_wrap_DateFormatStr_get() {
16808 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16810 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16817 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16818 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16823 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16828 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16830 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16837 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16838 PyObject
*resultobj
;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "country", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16846 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 Py_INCREF(Py_None
); resultobj
= Py_None
;
16862 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16865 char *kwnames
[] = {
16869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16872 result
= (int)wxDateTime::GetCountry();
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= SWIG_FromInt((int)result
);
16884 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16885 PyObject
*resultobj
;
16886 int arg1
= (int) wxDateTime::Country_Default
;
16888 PyObject
* obj0
= 0 ;
16889 char *kwnames
[] = {
16890 (char *) "country", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16895 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16900 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16902 wxPyEndAllowThreads(__tstate
);
16903 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16914 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16915 PyObject
*resultobj
;
16916 int arg1
= (int) wxDateTime::Gregorian
;
16918 PyObject
* obj0
= 0 ;
16919 char *kwnames
[] = {
16920 (char *) "cal", NULL
16923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16925 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= SWIG_FromInt((int)result
);
16942 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16943 PyObject
*resultobj
;
16946 PyObject
* obj0
= 0 ;
16947 char *kwnames
[] = {
16948 (char *) "year", NULL
16951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16952 arg1
= (int) SWIG_AsInt(obj0
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16956 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_FromInt((int)result
);
16968 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16969 PyObject
*resultobj
;
16970 int arg1
= (int) wxDateTime::Gregorian
;
16972 PyObject
* obj0
= 0 ;
16973 char *kwnames
[] = {
16974 (char *) "cal", NULL
16977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16979 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16984 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16986 wxPyEndAllowThreads(__tstate
);
16987 if (PyErr_Occurred()) SWIG_fail
;
16989 resultobj
= SWIG_FromInt((int)result
);
16996 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16997 PyObject
*resultobj
;
16998 int arg1
= (int) wxDateTime::Inv_Year
;
16999 int arg2
= (int) wxDateTime::Gregorian
;
17001 PyObject
* obj0
= 0 ;
17002 PyObject
* obj1
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "year",(char *) "cal", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17009 arg1
= (int) SWIG_AsInt(obj0
);
17010 if (PyErr_Occurred()) SWIG_fail
;
17013 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17018 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
17020 wxPyEndAllowThreads(__tstate
);
17021 if (PyErr_Occurred()) SWIG_fail
;
17024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17032 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 int arg1
= (int) wxDateTime::Inv_Year
;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "year", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
17043 arg1
= (int) SWIG_AsInt(obj0
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= (int)wxDateTime::GetCentury(arg1
);
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17053 resultobj
= SWIG_FromInt((int)result
);
17060 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17063 int arg2
= (int) wxDateTime::Gregorian
;
17065 PyObject
* obj0
= 0 ;
17066 PyObject
* obj1
= 0 ;
17067 char *kwnames
[] = {
17068 (char *) "year",(char *) "cal", NULL
17071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17072 arg1
= (int) SWIG_AsInt(obj0
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
17076 if (PyErr_Occurred()) SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17085 resultobj
= SWIG_FromInt((int)result
);
17092 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17095 int arg2
= (int) wxDateTime::Inv_Year
;
17096 int arg3
= (int) wxDateTime::Gregorian
;
17098 PyObject
* obj0
= 0 ;
17099 PyObject
* obj1
= 0 ;
17100 PyObject
* obj2
= 0 ;
17101 char *kwnames
[] = {
17102 (char *) "month",(char *) "year",(char *) "cal", NULL
17105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17106 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17109 arg2
= (int) SWIG_AsInt(obj1
);
17110 if (PyErr_Occurred()) SWIG_fail
;
17113 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 resultobj
= SWIG_FromInt((int)result
);
17130 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17133 int arg2
= (int) wxDateTime::Name_Full
;
17135 PyObject
* obj0
= 0 ;
17136 PyObject
* obj1
= 0 ;
17137 char *kwnames
[] = {
17138 (char *) "month",(char *) "flags", NULL
17141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
17142 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17145 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17159 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17168 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17171 int arg2
= (int) wxDateTime::Name_Full
;
17173 PyObject
* obj0
= 0 ;
17174 PyObject
* obj1
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "weekday",(char *) "flags", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17180 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17206 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxString
*arg1
= (wxString
*) 0 ;
17209 wxString
*arg2
= (wxString
*) 0 ;
17210 bool temp1
= False
;
17211 bool temp2
= False
;
17212 PyObject
* obj0
= 0 ;
17213 PyObject
* obj1
= 0 ;
17214 char *kwnames
[] = {
17215 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17220 arg1
= wxString_in_helper(obj0
);
17221 if (arg1
== NULL
) SWIG_fail
;
17225 arg2
= wxString_in_helper(obj1
);
17226 if (arg2
== NULL
) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 Py_INCREF(Py_None
); resultobj
= Py_None
;
17259 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
;
17261 int arg1
= (int) wxDateTime::Inv_Year
;
17262 int arg2
= (int) wxDateTime::Country_Default
;
17264 PyObject
* obj0
= 0 ;
17265 PyObject
* obj1
= 0 ;
17266 char *kwnames
[] = {
17267 (char *) "year",(char *) "country", NULL
17270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17272 arg1
= (int) SWIG_AsInt(obj0
);
17273 if (PyErr_Occurred()) SWIG_fail
;
17276 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17283 wxPyEndAllowThreads(__tstate
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17295 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17296 PyObject
*resultobj
;
17297 int arg1
= (int) wxDateTime::Inv_Year
;
17298 int arg2
= (int) wxDateTime::Country_Default
;
17300 PyObject
* obj0
= 0 ;
17301 PyObject
* obj1
= 0 ;
17302 char *kwnames
[] = {
17303 (char *) "year",(char *) "country", NULL
17306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17308 arg1
= (int) SWIG_AsInt(obj0
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17312 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17317 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17319 wxPyEndAllowThreads(__tstate
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17323 wxDateTime
* resultptr
;
17324 resultptr
= new wxDateTime((wxDateTime
&) result
);
17325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17333 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17334 PyObject
*resultobj
;
17335 int arg1
= (int) wxDateTime::Inv_Year
;
17336 int arg2
= (int) wxDateTime::Country_Default
;
17338 PyObject
* obj0
= 0 ;
17339 PyObject
* obj1
= 0 ;
17340 char *kwnames
[] = {
17341 (char *) "year",(char *) "country", NULL
17344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17346 arg1
= (int) SWIG_AsInt(obj0
);
17347 if (PyErr_Occurred()) SWIG_fail
;
17350 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17351 if (PyErr_Occurred()) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 wxDateTime
* resultptr
;
17362 resultptr
= new wxDateTime((wxDateTime
&) result
);
17363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17371 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17374 char *kwnames
[] = {
17378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17381 result
= wxDateTime::Now();
17383 wxPyEndAllowThreads(__tstate
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 wxDateTime
* resultptr
;
17388 resultptr
= new wxDateTime((wxDateTime
&) result
);
17389 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17397 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17400 char *kwnames
[] = {
17404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17407 result
= wxDateTime::UNow();
17409 wxPyEndAllowThreads(__tstate
);
17410 if (PyErr_Occurred()) SWIG_fail
;
17413 wxDateTime
* resultptr
;
17414 resultptr
= new wxDateTime((wxDateTime
&) result
);
17415 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17423 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17424 PyObject
*resultobj
;
17426 char *kwnames
[] = {
17430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= wxDateTime::Today();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 wxDateTime
* resultptr
;
17440 resultptr
= new wxDateTime((wxDateTime
&) result
);
17441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17449 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17450 PyObject
*resultobj
;
17451 wxDateTime
*result
;
17452 char *kwnames
[] = {
17456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (wxDateTime
*)new wxDateTime();
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17471 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17474 wxDateTime
*result
;
17475 PyObject
* obj0
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "timet", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17481 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17482 if (PyErr_Occurred()) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (wxDateTime
*)new wxDateTime(arg1
);
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17497 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17500 wxDateTime
*result
;
17501 PyObject
* obj0
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "jdn", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17507 arg1
= (double) SWIG_AsDouble(obj0
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 result
= (wxDateTime
*)new wxDateTime(arg1
);
17513 wxPyEndAllowThreads(__tstate
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17523 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17524 PyObject
*resultobj
;
17526 int arg2
= (int) 0 ;
17527 int arg3
= (int) 0 ;
17528 int arg4
= (int) 0 ;
17529 wxDateTime
*result
;
17530 PyObject
* obj0
= 0 ;
17531 PyObject
* obj1
= 0 ;
17532 PyObject
* obj2
= 0 ;
17533 PyObject
* obj3
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17539 arg1
= (int) SWIG_AsInt(obj0
);
17540 if (PyErr_Occurred()) SWIG_fail
;
17542 arg2
= (int) SWIG_AsInt(obj1
);
17543 if (PyErr_Occurred()) SWIG_fail
;
17546 arg3
= (int) SWIG_AsInt(obj2
);
17547 if (PyErr_Occurred()) SWIG_fail
;
17550 arg4
= (int) SWIG_AsInt(obj3
);
17551 if (PyErr_Occurred()) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17567 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17570 int arg2
= (int) wxDateTime::Inv_Month
;
17571 int arg3
= (int) wxDateTime::Inv_Year
;
17572 int arg4
= (int) 0 ;
17573 int arg5
= (int) 0 ;
17574 int arg6
= (int) 0 ;
17575 int arg7
= (int) 0 ;
17576 wxDateTime
*result
;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 PyObject
* obj2
= 0 ;
17580 PyObject
* obj3
= 0 ;
17581 PyObject
* obj4
= 0 ;
17582 PyObject
* obj5
= 0 ;
17583 PyObject
* obj6
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17589 arg1
= (int) SWIG_AsInt(obj0
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17596 arg3
= (int) SWIG_AsInt(obj2
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17600 arg4
= (int) SWIG_AsInt(obj3
);
17601 if (PyErr_Occurred()) SWIG_fail
;
17604 arg5
= (int) SWIG_AsInt(obj4
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17608 arg6
= (int) SWIG_AsInt(obj5
);
17609 if (PyErr_Occurred()) SWIG_fail
;
17612 arg7
= (int) SWIG_AsInt(obj6
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17617 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17619 wxPyEndAllowThreads(__tstate
);
17620 if (PyErr_Occurred()) SWIG_fail
;
17622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17629 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17630 PyObject
*resultobj
;
17631 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 Py_INCREF(Py_None
); resultobj
= Py_None
;
17654 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17655 PyObject
*resultobj
;
17656 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17657 wxDateTime
*result
;
17658 PyObject
* obj0
= 0 ;
17659 char *kwnames
[] = {
17660 (char *) "self", NULL
17663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17669 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17670 result
= (wxDateTime
*) &_result_ref
;
17673 wxPyEndAllowThreads(__tstate
);
17674 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17683 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17684 PyObject
*resultobj
;
17685 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17687 wxDateTime
*result
;
17688 PyObject
* obj0
= 0 ;
17689 PyObject
* obj1
= 0 ;
17690 char *kwnames
[] = {
17691 (char *) "self",(char *) "timet", NULL
17694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17697 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17703 result
= (wxDateTime
*) &_result_ref
;
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17716 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17720 wxDateTime
*result
;
17721 PyObject
* obj0
= 0 ;
17722 PyObject
* obj1
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self",(char *) "jdn", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17730 arg2
= (double) SWIG_AsDouble(obj1
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17735 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17736 result
= (wxDateTime
*) &_result_ref
;
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17749 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17750 PyObject
*resultobj
;
17751 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17753 int arg3
= (int) 0 ;
17754 int arg4
= (int) 0 ;
17755 int arg5
= (int) 0 ;
17756 wxDateTime
*result
;
17757 PyObject
* obj0
= 0 ;
17758 PyObject
* obj1
= 0 ;
17759 PyObject
* obj2
= 0 ;
17760 PyObject
* obj3
= 0 ;
17761 PyObject
* obj4
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17769 arg2
= (int) SWIG_AsInt(obj1
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 arg3
= (int) SWIG_AsInt(obj2
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17776 arg4
= (int) SWIG_AsInt(obj3
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 arg5
= (int) SWIG_AsInt(obj4
);
17781 if (PyErr_Occurred()) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17787 result
= (wxDateTime
*) &_result_ref
;
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17800 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17804 int arg3
= (int) wxDateTime::Inv_Month
;
17805 int arg4
= (int) wxDateTime::Inv_Year
;
17806 int arg5
= (int) 0 ;
17807 int arg6
= (int) 0 ;
17808 int arg7
= (int) 0 ;
17809 int arg8
= (int) 0 ;
17810 wxDateTime
*result
;
17811 PyObject
* obj0
= 0 ;
17812 PyObject
* obj1
= 0 ;
17813 PyObject
* obj2
= 0 ;
17814 PyObject
* obj3
= 0 ;
17815 PyObject
* obj4
= 0 ;
17816 PyObject
* obj5
= 0 ;
17817 PyObject
* obj6
= 0 ;
17818 PyObject
* obj7
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17826 arg2
= (int) SWIG_AsInt(obj1
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17833 arg4
= (int) SWIG_AsInt(obj3
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 arg5
= (int) SWIG_AsInt(obj4
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17841 arg6
= (int) SWIG_AsInt(obj5
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17845 arg7
= (int) SWIG_AsInt(obj6
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17849 arg8
= (int) SWIG_AsInt(obj7
);
17850 if (PyErr_Occurred()) SWIG_fail
;
17853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17855 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17856 result
= (wxDateTime
*) &_result_ref
;
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17869 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17872 wxDateTime
*result
;
17873 PyObject
* obj0
= 0 ;
17874 char *kwnames
[] = {
17875 (char *) "self", NULL
17878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17884 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17885 result
= (wxDateTime
*) &_result_ref
;
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17898 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17902 wxDateTime
*result
;
17903 PyObject
* obj0
= 0 ;
17904 PyObject
* obj1
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self",(char *) "year", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17912 arg2
= (int) SWIG_AsInt(obj1
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17917 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17918 result
= (wxDateTime
*) &_result_ref
;
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17931 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17935 wxDateTime
*result
;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 char *kwnames
[] = {
17939 (char *) "self",(char *) "month", NULL
17942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17946 if (PyErr_Occurred()) SWIG_fail
;
17948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17950 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17951 result
= (wxDateTime
*) &_result_ref
;
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17964 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17966 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17968 wxDateTime
*result
;
17969 PyObject
* obj0
= 0 ;
17970 PyObject
* obj1
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self",(char *) "day", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17978 arg2
= (int) SWIG_AsInt(obj1
);
17979 if (PyErr_Occurred()) SWIG_fail
;
17981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17983 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17984 result
= (wxDateTime
*) &_result_ref
;
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17997 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18001 wxDateTime
*result
;
18002 PyObject
* obj0
= 0 ;
18003 PyObject
* obj1
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "self",(char *) "hour", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18011 arg2
= (int) SWIG_AsInt(obj1
);
18012 if (PyErr_Occurred()) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18016 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
18017 result
= (wxDateTime
*) &_result_ref
;
18020 wxPyEndAllowThreads(__tstate
);
18021 if (PyErr_Occurred()) SWIG_fail
;
18023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18030 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18031 PyObject
*resultobj
;
18032 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18034 wxDateTime
*result
;
18035 PyObject
* obj0
= 0 ;
18036 PyObject
* obj1
= 0 ;
18037 char *kwnames
[] = {
18038 (char *) "self",(char *) "minute", NULL
18041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18044 arg2
= (int) SWIG_AsInt(obj1
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
18050 result
= (wxDateTime
*) &_result_ref
;
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18063 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18067 wxDateTime
*result
;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self",(char *) "second", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18077 arg2
= (int) SWIG_AsInt(obj1
);
18078 if (PyErr_Occurred()) SWIG_fail
;
18080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
18083 result
= (wxDateTime
*) &_result_ref
;
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18096 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
;
18098 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18100 wxDateTime
*result
;
18101 PyObject
* obj0
= 0 ;
18102 PyObject
* obj1
= 0 ;
18103 char *kwnames
[] = {
18104 (char *) "self",(char *) "millisecond", NULL
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
18108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18110 arg2
= (int) SWIG_AsInt(obj1
);
18111 if (PyErr_Occurred()) SWIG_fail
;
18113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18115 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
18116 result
= (wxDateTime
*) &_result_ref
;
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18129 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
;
18131 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18133 int arg3
= (int) wxDateTime::Monday_First
;
18134 wxDateTime
*result
;
18135 PyObject
* obj0
= 0 ;
18136 PyObject
* obj1
= 0 ;
18137 PyObject
* obj2
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18145 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18146 if (PyErr_Occurred()) SWIG_fail
;
18148 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18155 result
= (wxDateTime
*) &_result_ref
;
18158 wxPyEndAllowThreads(__tstate
);
18159 if (PyErr_Occurred()) SWIG_fail
;
18161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18168 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18169 PyObject
*resultobj
;
18170 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18172 int arg3
= (int) wxDateTime::Monday_First
;
18174 PyObject
* obj0
= 0 ;
18175 PyObject
* obj1
= 0 ;
18176 PyObject
* obj2
= 0 ;
18177 char *kwnames
[] = {
18178 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18184 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18185 if (PyErr_Occurred()) SWIG_fail
;
18187 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18198 wxDateTime
* resultptr
;
18199 resultptr
= new wxDateTime((wxDateTime
&) result
);
18200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18208 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18212 wxDateTime
*result
;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self",(char *) "weekday", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18228 result
= (wxDateTime
*) &_result_ref
;
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18241 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
;
18243 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18246 PyObject
* obj0
= 0 ;
18247 PyObject
* obj1
= 0 ;
18248 char *kwnames
[] = {
18249 (char *) "self",(char *) "weekday", NULL
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18255 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18259 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18261 wxPyEndAllowThreads(__tstate
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18265 wxDateTime
* resultptr
;
18266 resultptr
= new wxDateTime((wxDateTime
&) result
);
18267 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18275 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18276 PyObject
*resultobj
;
18277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18279 wxDateTime
*result
;
18280 PyObject
* obj0
= 0 ;
18281 PyObject
* obj1
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "self",(char *) "weekday", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18289 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18294 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18295 result
= (wxDateTime
*) &_result_ref
;
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18308 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18313 PyObject
* obj0
= 0 ;
18314 PyObject
* obj1
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self",(char *) "weekday", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18322 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18326 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18328 wxPyEndAllowThreads(__tstate
);
18329 if (PyErr_Occurred()) SWIG_fail
;
18332 wxDateTime
* resultptr
;
18333 resultptr
= new wxDateTime((wxDateTime
&) result
);
18334 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18342 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18344 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18346 int arg3
= (int) 1 ;
18347 int arg4
= (int) wxDateTime::Inv_Month
;
18348 int arg5
= (int) wxDateTime::Inv_Year
;
18350 PyObject
* obj0
= 0 ;
18351 PyObject
* obj1
= 0 ;
18352 PyObject
* obj2
= 0 ;
18353 PyObject
* obj3
= 0 ;
18354 PyObject
* obj4
= 0 ;
18355 char *kwnames
[] = {
18356 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18362 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18363 if (PyErr_Occurred()) SWIG_fail
;
18365 arg3
= (int) SWIG_AsInt(obj2
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18369 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18370 if (PyErr_Occurred()) SWIG_fail
;
18373 arg5
= (int) SWIG_AsInt(obj4
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18392 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18396 int arg3
= (int) wxDateTime::Inv_Month
;
18397 int arg4
= (int) wxDateTime::Inv_Year
;
18399 PyObject
* obj0
= 0 ;
18400 PyObject
* obj1
= 0 ;
18401 PyObject
* obj2
= 0 ;
18402 PyObject
* obj3
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18410 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18417 arg4
= (int) SWIG_AsInt(obj3
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18436 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18440 int arg3
= (int) wxDateTime::Inv_Month
;
18441 int arg4
= (int) wxDateTime::Inv_Year
;
18443 PyObject
* obj0
= 0 ;
18444 PyObject
* obj1
= 0 ;
18445 PyObject
* obj2
= 0 ;
18446 PyObject
* obj3
= 0 ;
18447 char *kwnames
[] = {
18448 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18454 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18455 if (PyErr_Occurred()) SWIG_fail
;
18457 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18461 arg4
= (int) SWIG_AsInt(obj3
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18466 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18472 wxDateTime
* resultptr
;
18473 resultptr
= new wxDateTime((wxDateTime
&) result
);
18474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18482 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18486 int arg3
= (int) wxDateTime::Mon
;
18487 int arg4
= (int) wxDateTime::Monday_First
;
18489 PyObject
* obj0
= 0 ;
18490 PyObject
* obj1
= 0 ;
18491 PyObject
* obj2
= 0 ;
18492 PyObject
* obj3
= 0 ;
18493 char *kwnames
[] = {
18494 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18500 arg2
= (int) SWIG_AsInt(obj1
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18503 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18507 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18512 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18526 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18527 PyObject
*resultobj
;
18528 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18530 int arg3
= (int) wxDateTime::Mon
;
18531 int arg4
= (int) wxDateTime::Monday_First
;
18533 PyObject
* obj0
= 0 ;
18534 PyObject
* obj1
= 0 ;
18535 PyObject
* obj2
= 0 ;
18536 PyObject
* obj3
= 0 ;
18537 char *kwnames
[] = {
18538 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18544 arg2
= (int) SWIG_AsInt(obj1
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18551 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18552 if (PyErr_Occurred()) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18556 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18562 wxDateTime
* resultptr
;
18563 resultptr
= new wxDateTime((wxDateTime
&) result
);
18564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18572 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18573 PyObject
*resultobj
;
18574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18575 int arg2
= (int) wxDateTime::Inv_Month
;
18576 int arg3
= (int) wxDateTime::Inv_Year
;
18577 wxDateTime
*result
;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 PyObject
* obj2
= 0 ;
18581 char *kwnames
[] = {
18582 (char *) "self",(char *) "month",(char *) "year", NULL
18585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18589 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18593 arg3
= (int) SWIG_AsInt(obj2
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18600 result
= (wxDateTime
*) &_result_ref
;
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18613 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
;
18615 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18616 int arg2
= (int) wxDateTime::Inv_Month
;
18617 int arg3
= (int) wxDateTime::Inv_Year
;
18619 PyObject
* obj0
= 0 ;
18620 PyObject
* obj1
= 0 ;
18621 PyObject
* obj2
= 0 ;
18622 char *kwnames
[] = {
18623 (char *) "self",(char *) "month",(char *) "year", NULL
18626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18634 arg3
= (int) SWIG_AsInt(obj2
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 wxDateTime
* resultptr
;
18646 resultptr
= new wxDateTime((wxDateTime
&) result
);
18647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18655 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18659 wxDateTime
*result
;
18660 PyObject
* obj0
= 0 ;
18661 PyObject
* obj1
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "self",(char *) "yday", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18669 arg2
= (int) SWIG_AsInt(obj1
);
18670 if (PyErr_Occurred()) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18674 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18675 result
= (wxDateTime
*) &_result_ref
;
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18688 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18689 PyObject
*resultobj
;
18690 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18693 PyObject
* obj0
= 0 ;
18694 PyObject
* obj1
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "self",(char *) "yday", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18702 arg2
= (int) SWIG_AsInt(obj1
);
18703 if (PyErr_Occurred()) SWIG_fail
;
18705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18706 result
= (arg1
)->GetYearDay(arg2
);
18708 wxPyEndAllowThreads(__tstate
);
18709 if (PyErr_Occurred()) SWIG_fail
;
18712 wxDateTime
* resultptr
;
18713 resultptr
= new wxDateTime((wxDateTime
&) result
);
18714 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18722 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18736 result
= (double)(arg1
)->GetJulianDayNumber();
18738 wxPyEndAllowThreads(__tstate
);
18739 if (PyErr_Occurred()) SWIG_fail
;
18741 resultobj
= SWIG_FromDouble((double)result
);
18748 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18749 PyObject
*resultobj
;
18750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18752 PyObject
* obj0
= 0 ;
18753 char *kwnames
[] = {
18754 (char *) "self", NULL
18757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18762 result
= (double)(arg1
)->GetJDN();
18764 wxPyEndAllowThreads(__tstate
);
18765 if (PyErr_Occurred()) SWIG_fail
;
18767 resultobj
= SWIG_FromDouble((double)result
);
18774 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18775 PyObject
*resultobj
;
18776 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18788 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18790 wxPyEndAllowThreads(__tstate
);
18791 if (PyErr_Occurred()) SWIG_fail
;
18793 resultobj
= SWIG_FromDouble((double)result
);
18800 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18801 PyObject
*resultobj
;
18802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18804 PyObject
* obj0
= 0 ;
18805 char *kwnames
[] = {
18806 (char *) "self", NULL
18809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 result
= (double)(arg1
)->GetMJD();
18816 wxPyEndAllowThreads(__tstate
);
18817 if (PyErr_Occurred()) SWIG_fail
;
18819 resultobj
= SWIG_FromDouble((double)result
);
18826 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18827 PyObject
*resultobj
;
18828 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18830 PyObject
* obj0
= 0 ;
18831 char *kwnames
[] = {
18832 (char *) "self", NULL
18835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 result
= (double)(arg1
)->GetRataDie();
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 resultobj
= SWIG_FromDouble((double)result
);
18852 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18855 wxDateTime::TimeZone
*arg2
= 0 ;
18856 bool arg3
= (bool) False
;
18858 bool temp2
= False
;
18859 PyObject
* obj0
= 0 ;
18860 PyObject
* obj1
= 0 ;
18861 PyObject
* obj2
= 0 ;
18862 char *kwnames
[] = {
18863 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18870 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18874 arg3
= (bool) SWIG_AsBool(obj2
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18885 wxDateTime
* resultptr
;
18886 resultptr
= new wxDateTime((wxDateTime
&) result
);
18887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18890 if (temp2
) delete arg2
;
18895 if (temp2
) delete arg2
;
18901 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18904 wxDateTime::TimeZone
*arg2
= 0 ;
18905 bool arg3
= (bool) False
;
18906 wxDateTime
*result
;
18907 bool temp2
= False
;
18908 PyObject
* obj0
= 0 ;
18909 PyObject
* obj1
= 0 ;
18910 PyObject
* obj2
= 0 ;
18911 char *kwnames
[] = {
18912 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18919 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18923 arg3
= (bool) SWIG_AsBool(obj2
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18929 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18930 result
= (wxDateTime
*) &_result_ref
;
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18938 if (temp2
) delete arg2
;
18943 if (temp2
) delete arg2
;
18949 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18950 PyObject
*resultobj
;
18951 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18952 bool arg2
= (bool) False
;
18954 PyObject
* obj0
= 0 ;
18955 PyObject
* obj1
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self",(char *) "noDST", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18964 arg2
= (bool) SWIG_AsBool(obj1
);
18965 if (PyErr_Occurred()) SWIG_fail
;
18968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18969 result
= (arg1
)->ToGMT(arg2
);
18971 wxPyEndAllowThreads(__tstate
);
18972 if (PyErr_Occurred()) SWIG_fail
;
18975 wxDateTime
* resultptr
;
18976 resultptr
= new wxDateTime((wxDateTime
&) result
);
18977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18985 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18986 PyObject
*resultobj
;
18987 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18988 bool arg2
= (bool) False
;
18989 wxDateTime
*result
;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 char *kwnames
[] = {
18993 (char *) "self",(char *) "noDST", NULL
18996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19000 arg2
= (bool) SWIG_AsBool(obj1
);
19001 if (PyErr_Occurred()) SWIG_fail
;
19004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
19007 result
= (wxDateTime
*) &_result_ref
;
19010 wxPyEndAllowThreads(__tstate
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19020 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
;
19022 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19023 int arg2
= (int) wxDateTime::Country_Default
;
19025 PyObject
* obj0
= 0 ;
19026 PyObject
* obj1
= 0 ;
19027 char *kwnames
[] = {
19028 (char *) "self",(char *) "country", NULL
19031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
19032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19035 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= SWIG_FromInt((int)result
);
19052 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
;
19054 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19056 PyObject
* obj0
= 0 ;
19057 char *kwnames
[] = {
19058 (char *) "self", NULL
19061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
19062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19072 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19080 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
19106 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19109 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19110 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19112 bool temp2
= False
;
19113 PyObject
* obj0
= 0 ;
19114 PyObject
* obj1
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self",(char *) "tz", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19124 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19135 resultobj
= SWIG_FromInt((int)result
);
19137 if (temp2
) delete arg2
;
19142 if (temp2
) delete arg2
;
19148 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19151 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19152 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19154 bool temp2
= False
;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 char *kwnames
[] = {
19158 (char *) "self",(char *) "tz", NULL
19161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
19162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19166 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19172 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_FromInt((int)result
);
19179 if (temp2
) delete arg2
;
19184 if (temp2
) delete arg2
;
19190 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19191 PyObject
*resultobj
;
19192 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19193 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19194 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19196 bool temp2
= False
;
19197 PyObject
* obj0
= 0 ;
19198 PyObject
* obj1
= 0 ;
19199 char *kwnames
[] = {
19200 (char *) "self",(char *) "tz", NULL
19203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19208 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= SWIG_FromInt((int)result
);
19221 if (temp2
) delete arg2
;
19226 if (temp2
) delete arg2
;
19232 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19233 PyObject
*resultobj
;
19234 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19235 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19236 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19238 bool temp2
= False
;
19239 PyObject
* obj0
= 0 ;
19240 PyObject
* obj1
= 0 ;
19241 char *kwnames
[] = {
19242 (char *) "self",(char *) "tz", NULL
19245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19250 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19256 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_FromInt((int)result
);
19263 if (temp2
) delete arg2
;
19268 if (temp2
) delete arg2
;
19274 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19277 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19278 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19280 bool temp2
= False
;
19281 PyObject
* obj0
= 0 ;
19282 PyObject
* obj1
= 0 ;
19283 char *kwnames
[] = {
19284 (char *) "self",(char *) "tz", NULL
19287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19292 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= SWIG_FromInt((int)result
);
19305 if (temp2
) delete arg2
;
19310 if (temp2
) delete arg2
;
19316 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19317 PyObject
*resultobj
;
19318 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19319 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19320 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19322 bool temp2
= False
;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 char *kwnames
[] = {
19326 (char *) "self",(char *) "tz", NULL
19329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19340 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= SWIG_FromInt((int)result
);
19347 if (temp2
) delete arg2
;
19352 if (temp2
) delete arg2
;
19358 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19361 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19362 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19364 bool temp2
= False
;
19365 PyObject
* obj0
= 0 ;
19366 PyObject
* obj1
= 0 ;
19367 char *kwnames
[] = {
19368 (char *) "self",(char *) "tz", NULL
19371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19376 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= SWIG_FromInt((int)result
);
19389 if (temp2
) delete arg2
;
19394 if (temp2
) delete arg2
;
19400 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19401 PyObject
*resultobj
;
19402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19403 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19404 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19406 bool temp2
= False
;
19407 PyObject
* obj0
= 0 ;
19408 PyObject
* obj1
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self",(char *) "tz", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19418 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19424 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19426 wxPyEndAllowThreads(__tstate
);
19427 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= SWIG_FromInt((int)result
);
19431 if (temp2
) delete arg2
;
19436 if (temp2
) delete arg2
;
19442 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19443 PyObject
*resultobj
;
19444 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19445 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19446 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19448 bool temp2
= False
;
19449 PyObject
* obj0
= 0 ;
19450 PyObject
* obj1
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self",(char *) "tz", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19460 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 resultobj
= SWIG_FromInt((int)result
);
19473 if (temp2
) delete arg2
;
19478 if (temp2
) delete arg2
;
19484 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19485 PyObject
*resultobj
;
19486 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19487 int arg2
= (int) wxDateTime::Monday_First
;
19488 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19489 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19491 bool temp3
= False
;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 PyObject
* obj2
= 0 ;
19495 char *kwnames
[] = {
19496 (char *) "self",(char *) "flags",(char *) "tz", NULL
19499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19503 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19504 if (PyErr_Occurred()) SWIG_fail
;
19508 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19514 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= SWIG_FromInt((int)result
);
19521 if (temp3
) delete arg3
;
19526 if (temp3
) delete arg3
;
19532 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
;
19534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19535 int arg2
= (int) wxDateTime::Monday_First
;
19536 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19537 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19539 bool temp3
= False
;
19540 PyObject
* obj0
= 0 ;
19541 PyObject
* obj1
= 0 ;
19542 PyObject
* obj2
= 0 ;
19543 char *kwnames
[] = {
19544 (char *) "self",(char *) "flags",(char *) "tz", NULL
19547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19551 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19556 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19562 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19564 wxPyEndAllowThreads(__tstate
);
19565 if (PyErr_Occurred()) SWIG_fail
;
19567 resultobj
= SWIG_FromInt((int)result
);
19569 if (temp3
) delete arg3
;
19574 if (temp3
) delete arg3
;
19580 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
;
19582 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19583 int arg2
= (int) wxDateTime::Country_Default
;
19585 PyObject
* obj0
= 0 ;
19586 PyObject
* obj1
= 0 ;
19587 char *kwnames
[] = {
19588 (char *) "self",(char *) "country", NULL
19591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19595 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19614 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19617 wxDateTime
*arg2
= 0 ;
19619 PyObject
* obj0
= 0 ;
19620 PyObject
* obj1
= 0 ;
19621 char *kwnames
[] = {
19622 (char *) "self",(char *) "datetime", NULL
19625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19631 if (arg2
== NULL
) {
19632 PyErr_SetString(PyExc_TypeError
,"null reference");
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19651 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
;
19653 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19654 wxDateTime
*arg2
= 0 ;
19656 PyObject
* obj0
= 0 ;
19657 PyObject
* obj1
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self",(char *) "datetime", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19668 if (arg2
== NULL
) {
19669 PyErr_SetString(PyExc_TypeError
,"null reference");
19673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19674 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19676 wxPyEndAllowThreads(__tstate
);
19677 if (PyErr_Occurred()) SWIG_fail
;
19680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19688 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19689 PyObject
*resultobj
;
19690 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19691 wxDateTime
*arg2
= 0 ;
19693 PyObject
* obj0
= 0 ;
19694 PyObject
* obj1
= 0 ;
19695 char *kwnames
[] = {
19696 (char *) "self",(char *) "datetime", NULL
19699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19705 if (arg2
== NULL
) {
19706 PyErr_SetString(PyExc_TypeError
,"null reference");
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19725 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19726 PyObject
*resultobj
;
19727 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19728 wxDateTime
*arg2
= 0 ;
19729 wxDateTime
*arg3
= 0 ;
19731 PyObject
* obj0
= 0 ;
19732 PyObject
* obj1
= 0 ;
19733 PyObject
* obj2
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self",(char *) "t1",(char *) "t2", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19742 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19744 if (arg2
== NULL
) {
19745 PyErr_SetString(PyExc_TypeError
,"null reference");
19748 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19751 if (arg3
== NULL
) {
19752 PyErr_SetString(PyExc_TypeError
,"null reference");
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19771 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19772 PyObject
*resultobj
;
19773 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19774 wxDateTime
*arg2
= 0 ;
19775 wxDateTime
*arg3
= 0 ;
19777 PyObject
* obj0
= 0 ;
19778 PyObject
* obj1
= 0 ;
19779 PyObject
* obj2
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self",(char *) "t1",(char *) "t2", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19788 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19790 if (arg2
== NULL
) {
19791 PyErr_SetString(PyExc_TypeError
,"null reference");
19794 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19795 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19797 if (arg3
== NULL
) {
19798 PyErr_SetString(PyExc_TypeError
,"null reference");
19802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19803 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19805 wxPyEndAllowThreads(__tstate
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19817 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
;
19819 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19820 wxDateTime
*arg2
= 0 ;
19822 PyObject
* obj0
= 0 ;
19823 PyObject
* obj1
= 0 ;
19824 char *kwnames
[] = {
19825 (char *) "self",(char *) "dt", NULL
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19834 if (arg2
== NULL
) {
19835 PyErr_SetString(PyExc_TypeError
,"null reference");
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19854 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19857 wxDateTime
*arg2
= 0 ;
19859 PyObject
* obj0
= 0 ;
19860 PyObject
* obj1
= 0 ;
19861 char *kwnames
[] = {
19862 (char *) "self",(char *) "dt", NULL
19865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19868 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19871 if (arg2
== NULL
) {
19872 PyErr_SetString(PyExc_TypeError
,"null reference");
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19891 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19893 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19894 wxDateTime
*arg2
= 0 ;
19895 wxTimeSpan
*arg3
= 0 ;
19897 PyObject
* obj0
= 0 ;
19898 PyObject
* obj1
= 0 ;
19899 PyObject
* obj2
= 0 ;
19900 char *kwnames
[] = {
19901 (char *) "self",(char *) "dt",(char *) "ts", NULL
19904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19910 if (arg2
== NULL
) {
19911 PyErr_SetString(PyExc_TypeError
,"null reference");
19914 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19917 if (arg3
== NULL
) {
19918 PyErr_SetString(PyExc_TypeError
,"null reference");
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19925 wxPyEndAllowThreads(__tstate
);
19926 if (PyErr_Occurred()) SWIG_fail
;
19929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19937 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19940 wxTimeSpan
*arg2
= 0 ;
19941 wxDateTime
*result
;
19942 PyObject
* obj0
= 0 ;
19943 PyObject
* obj1
= 0 ;
19944 char *kwnames
[] = {
19945 (char *) "self",(char *) "diff", NULL
19948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19954 if (arg2
== NULL
) {
19955 PyErr_SetString(PyExc_TypeError
,"null reference");
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19962 result
= (wxDateTime
*) &_result_ref
;
19965 wxPyEndAllowThreads(__tstate
);
19966 if (PyErr_Occurred()) SWIG_fail
;
19968 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19975 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19978 wxDateSpan
*arg2
= 0 ;
19979 wxDateTime
*result
;
19980 PyObject
* obj0
= 0 ;
19981 PyObject
* obj1
= 0 ;
19982 char *kwnames
[] = {
19983 (char *) "self",(char *) "diff", NULL
19986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19990 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19992 if (arg2
== NULL
) {
19993 PyErr_SetString(PyExc_TypeError
,"null reference");
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
20000 result
= (wxDateTime
*) &_result_ref
;
20003 wxPyEndAllowThreads(__tstate
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20013 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20014 PyObject
*resultobj
;
20015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20016 wxTimeSpan
*arg2
= 0 ;
20017 wxDateTime
*result
;
20018 PyObject
* obj0
= 0 ;
20019 PyObject
* obj1
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "self",(char *) "diff", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
20025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20030 if (arg2
== NULL
) {
20031 PyErr_SetString(PyExc_TypeError
,"null reference");
20035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20037 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
20038 result
= (wxDateTime
*) &_result_ref
;
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20051 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20052 PyObject
*resultobj
;
20053 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20054 wxDateSpan
*arg2
= 0 ;
20055 wxDateTime
*result
;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 char *kwnames
[] = {
20059 (char *) "self",(char *) "diff", NULL
20062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
20063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20065 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20068 if (arg2
== NULL
) {
20069 PyErr_SetString(PyExc_TypeError
,"null reference");
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
20076 result
= (wxDateTime
*) &_result_ref
;
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20089 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20090 PyObject
*resultobj
;
20091 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20092 wxDateTime
*arg2
= 0 ;
20094 PyObject
* obj0
= 0 ;
20095 PyObject
* obj1
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self",(char *) "dt", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
20101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20106 if (arg2
== NULL
) {
20107 PyErr_SetString(PyExc_TypeError
,"null reference");
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20118 wxTimeSpan
* resultptr
;
20119 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20128 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
20129 PyObject
*resultobj
;
20130 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20131 wxTimeSpan
*arg2
= 0 ;
20132 wxDateTime
*result
;
20133 PyObject
* obj0
= 0 ;
20134 PyObject
* obj1
= 0 ;
20136 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20142 if (arg2
== NULL
) {
20143 PyErr_SetString(PyExc_TypeError
,"null reference");
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
20150 result
= (wxDateTime
*) &_result_ref
;
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20163 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
20164 PyObject
*resultobj
;
20165 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20166 wxDateSpan
*arg2
= 0 ;
20167 wxDateTime
*result
;
20168 PyObject
* obj0
= 0 ;
20169 PyObject
* obj1
= 0 ;
20171 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20174 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20175 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20177 if (arg2
== NULL
) {
20178 PyErr_SetString(PyExc_TypeError
,"null reference");
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20184 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20185 result
= (wxDateTime
*) &_result_ref
;
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20198 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20203 argc
= PyObject_Length(args
);
20204 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20205 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20211 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20221 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20229 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20237 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20247 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20255 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20260 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20265 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20266 PyObject
*resultobj
;
20267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20268 wxTimeSpan
*arg2
= 0 ;
20269 wxDateTime
*result
;
20270 PyObject
* obj0
= 0 ;
20271 PyObject
* obj1
= 0 ;
20273 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20276 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20279 if (arg2
== NULL
) {
20280 PyErr_SetString(PyExc_TypeError
,"null reference");
20284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20287 result
= (wxDateTime
*) &_result_ref
;
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20300 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20301 PyObject
*resultobj
;
20302 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20303 wxDateSpan
*arg2
= 0 ;
20304 wxDateTime
*result
;
20305 PyObject
* obj0
= 0 ;
20306 PyObject
* obj1
= 0 ;
20308 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20311 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20312 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20314 if (arg2
== NULL
) {
20315 PyErr_SetString(PyExc_TypeError
,"null reference");
20319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20322 result
= (wxDateTime
*) &_result_ref
;
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20335 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20340 argc
= PyObject_Length(args
);
20341 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20342 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20348 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20358 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20366 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20374 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20384 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20392 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20397 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20402 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20403 PyObject
*resultobj
;
20404 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20405 wxTimeSpan
*arg2
= 0 ;
20407 PyObject
* obj0
= 0 ;
20408 PyObject
* obj1
= 0 ;
20410 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20413 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20416 if (arg2
== NULL
) {
20417 PyErr_SetString(PyExc_TypeError
,"null reference");
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20428 wxDateTime
* resultptr
;
20429 resultptr
= new wxDateTime((wxDateTime
&) result
);
20430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20438 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20439 PyObject
*resultobj
;
20440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20441 wxDateSpan
*arg2
= 0 ;
20443 PyObject
* obj0
= 0 ;
20444 PyObject
* obj1
= 0 ;
20446 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20452 if (arg2
== NULL
) {
20453 PyErr_SetString(PyExc_TypeError
,"null reference");
20457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20458 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20460 wxPyEndAllowThreads(__tstate
);
20461 if (PyErr_Occurred()) SWIG_fail
;
20464 wxDateTime
* resultptr
;
20465 resultptr
= new wxDateTime((wxDateTime
&) result
);
20466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20474 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20479 argc
= PyObject_Length(args
);
20480 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20481 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20487 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20497 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20505 return _wrap_DateTime___add____SWIG_0(self
,args
);
20513 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20523 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20531 return _wrap_DateTime___add____SWIG_1(self
,args
);
20536 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20541 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20542 PyObject
*resultobj
;
20543 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20544 wxDateTime
*arg2
= 0 ;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20549 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20553 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20555 if (arg2
== NULL
) {
20556 PyErr_SetString(PyExc_TypeError
,"null reference");
20560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20561 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20563 wxPyEndAllowThreads(__tstate
);
20564 if (PyErr_Occurred()) SWIG_fail
;
20567 wxTimeSpan
* resultptr
;
20568 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20577 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20578 PyObject
*resultobj
;
20579 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20580 wxTimeSpan
*arg2
= 0 ;
20582 PyObject
* obj0
= 0 ;
20583 PyObject
* obj1
= 0 ;
20585 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20589 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20591 if (arg2
== NULL
) {
20592 PyErr_SetString(PyExc_TypeError
,"null reference");
20596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20597 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20599 wxPyEndAllowThreads(__tstate
);
20600 if (PyErr_Occurred()) SWIG_fail
;
20603 wxDateTime
* resultptr
;
20604 resultptr
= new wxDateTime((wxDateTime
&) result
);
20605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20613 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20614 PyObject
*resultobj
;
20615 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20616 wxDateSpan
*arg2
= 0 ;
20618 PyObject
* obj0
= 0 ;
20619 PyObject
* obj1
= 0 ;
20621 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20625 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20627 if (arg2
== NULL
) {
20628 PyErr_SetString(PyExc_TypeError
,"null reference");
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20633 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20639 wxDateTime
* resultptr
;
20640 resultptr
= new wxDateTime((wxDateTime
&) result
);
20641 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20649 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20654 argc
= PyObject_Length(args
);
20655 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20656 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20662 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20672 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20680 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20688 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20698 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20706 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20714 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20724 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20732 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20737 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20742 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20743 PyObject
*resultobj
;
20744 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20745 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20750 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20771 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20772 PyObject
*resultobj
;
20773 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20774 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 PyObject
* obj1
= 0 ;
20779 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20792 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20800 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20801 PyObject
*resultobj
;
20802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20803 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20805 PyObject
* obj0
= 0 ;
20806 PyObject
* obj1
= 0 ;
20808 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20817 wxPyEndAllowThreads(__tstate
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20829 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20830 PyObject
*resultobj
;
20831 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20832 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20834 PyObject
* obj0
= 0 ;
20835 PyObject
* obj1
= 0 ;
20837 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20844 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20846 wxPyEndAllowThreads(__tstate
);
20847 if (PyErr_Occurred()) SWIG_fail
;
20850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20858 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20859 PyObject
*resultobj
;
20860 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20861 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20863 PyObject
* obj0
= 0 ;
20864 PyObject
* obj1
= 0 ;
20866 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20873 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20875 wxPyEndAllowThreads(__tstate
);
20876 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20887 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20888 PyObject
*resultobj
;
20889 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20890 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20892 PyObject
* obj0
= 0 ;
20893 PyObject
* obj1
= 0 ;
20895 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20902 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20904 wxPyEndAllowThreads(__tstate
);
20905 if (PyErr_Occurred()) SWIG_fail
;
20908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20916 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20917 PyObject
*resultobj
;
20918 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20919 wxString
*arg2
= 0 ;
20921 bool temp2
= False
;
20922 PyObject
* obj0
= 0 ;
20923 PyObject
* obj1
= 0 ;
20924 char *kwnames
[] = {
20925 (char *) "self",(char *) "date", NULL
20928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20932 arg2
= wxString_in_helper(obj1
);
20933 if (arg2
== NULL
) SWIG_fail
;
20937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20938 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20940 wxPyEndAllowThreads(__tstate
);
20941 if (PyErr_Occurred()) SWIG_fail
;
20943 resultobj
= SWIG_FromInt((int)result
);
20958 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20959 PyObject
*resultobj
;
20960 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20961 wxString
*arg2
= 0 ;
20962 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20963 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20964 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20965 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20967 bool temp2
= False
;
20968 bool temp3
= False
;
20969 PyObject
* obj0
= 0 ;
20970 PyObject
* obj1
= 0 ;
20971 PyObject
* obj2
= 0 ;
20972 PyObject
* obj3
= 0 ;
20973 char *kwnames
[] = {
20974 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20981 arg2
= wxString_in_helper(obj1
);
20982 if (arg2
== NULL
) SWIG_fail
;
20987 arg3
= wxString_in_helper(obj2
);
20988 if (arg3
== NULL
) SWIG_fail
;
20993 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20996 if (arg4
== NULL
) {
20997 PyErr_SetString(PyExc_TypeError
,"null reference");
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= SWIG_FromInt((int)result
);
21031 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21032 PyObject
*resultobj
;
21033 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21034 wxString
*arg2
= 0 ;
21036 bool temp2
= False
;
21037 PyObject
* obj0
= 0 ;
21038 PyObject
* obj1
= 0 ;
21039 char *kwnames
[] = {
21040 (char *) "self",(char *) "datetime", NULL
21043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21047 arg2
= wxString_in_helper(obj1
);
21048 if (arg2
== NULL
) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= SWIG_FromInt((int)result
);
21073 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21074 PyObject
*resultobj
;
21075 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21076 wxString
*arg2
= 0 ;
21078 bool temp2
= False
;
21079 PyObject
* obj0
= 0 ;
21080 PyObject
* obj1
= 0 ;
21081 char *kwnames
[] = {
21082 (char *) "self",(char *) "date", NULL
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
21086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21089 arg2
= wxString_in_helper(obj1
);
21090 if (arg2
== NULL
) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_FromInt((int)result
);
21115 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21116 PyObject
*resultobj
;
21117 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21118 wxString
*arg2
= 0 ;
21120 bool temp2
= False
;
21121 PyObject
* obj0
= 0 ;
21122 PyObject
* obj1
= 0 ;
21123 char *kwnames
[] = {
21124 (char *) "self",(char *) "time", NULL
21127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
21128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21131 arg2
= wxString_in_helper(obj1
);
21132 if (arg2
== NULL
) SWIG_fail
;
21136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21137 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
21139 wxPyEndAllowThreads(__tstate
);
21140 if (PyErr_Occurred()) SWIG_fail
;
21142 resultobj
= SWIG_FromInt((int)result
);
21157 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
;
21159 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21160 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
21161 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
21162 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
21163 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
21165 bool temp2
= False
;
21166 bool temp3
= False
;
21167 PyObject
* obj0
= 0 ;
21168 PyObject
* obj1
= 0 ;
21169 PyObject
* obj2
= 0 ;
21170 char *kwnames
[] = {
21171 (char *) "self",(char *) "format",(char *) "tz", NULL
21174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21179 arg2
= wxString_in_helper(obj1
);
21180 if (arg2
== NULL
) SWIG_fail
;
21186 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21192 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21194 wxPyEndAllowThreads(__tstate
);
21195 if (PyErr_Occurred()) SWIG_fail
;
21199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21209 if (temp3
) delete arg3
;
21218 if (temp3
) delete arg3
;
21224 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21225 PyObject
*resultobj
;
21226 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21228 PyObject
* obj0
= 0 ;
21229 char *kwnames
[] = {
21230 (char *) "self", NULL
21233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21256 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21257 PyObject
*resultobj
;
21258 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21260 PyObject
* obj0
= 0 ;
21261 char *kwnames
[] = {
21262 (char *) "self", NULL
21265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21272 wxPyEndAllowThreads(__tstate
);
21273 if (PyErr_Occurred()) SWIG_fail
;
21277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21288 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21289 PyObject
*resultobj
;
21290 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21292 PyObject
* obj0
= 0 ;
21293 char *kwnames
[] = {
21294 (char *) "self", NULL
21297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21309 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21311 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21320 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21352 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21355 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21357 return Py_BuildValue((char *)"");
21359 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21363 PyObject
* obj0
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "sec", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21369 arg1
= (long) SWIG_AsLong(obj0
);
21370 if (PyErr_Occurred()) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= wxTimeSpan::Seconds(arg1
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21379 wxTimeSpan
* resultptr
;
21380 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21381 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21389 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21390 PyObject
*resultobj
;
21392 char *kwnames
[] = {
21396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= wxTimeSpan::Second();
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21405 wxTimeSpan
* resultptr
;
21406 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21415 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21419 PyObject
* obj0
= 0 ;
21420 char *kwnames
[] = {
21421 (char *) "min", NULL
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21425 arg1
= (long) SWIG_AsLong(obj0
);
21426 if (PyErr_Occurred()) SWIG_fail
;
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 result
= wxTimeSpan::Minutes(arg1
);
21431 wxPyEndAllowThreads(__tstate
);
21432 if (PyErr_Occurred()) SWIG_fail
;
21435 wxTimeSpan
* resultptr
;
21436 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21445 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21448 char *kwnames
[] = {
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 result
= wxTimeSpan::Minute();
21457 wxPyEndAllowThreads(__tstate
);
21458 if (PyErr_Occurred()) SWIG_fail
;
21461 wxTimeSpan
* resultptr
;
21462 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21463 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21471 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21472 PyObject
*resultobj
;
21475 PyObject
* obj0
= 0 ;
21476 char *kwnames
[] = {
21477 (char *) "hours", NULL
21480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21481 arg1
= (long) SWIG_AsLong(obj0
);
21482 if (PyErr_Occurred()) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= wxTimeSpan::Hours(arg1
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21491 wxTimeSpan
* resultptr
;
21492 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21501 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21504 char *kwnames
[] = {
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21511 result
= wxTimeSpan::Hour();
21513 wxPyEndAllowThreads(__tstate
);
21514 if (PyErr_Occurred()) SWIG_fail
;
21517 wxTimeSpan
* resultptr
;
21518 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21519 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21527 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
;
21531 PyObject
* obj0
= 0 ;
21532 char *kwnames
[] = {
21533 (char *) "days", NULL
21536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21537 arg1
= (long) SWIG_AsLong(obj0
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21541 result
= wxTimeSpan::Days(arg1
);
21543 wxPyEndAllowThreads(__tstate
);
21544 if (PyErr_Occurred()) SWIG_fail
;
21547 wxTimeSpan
* resultptr
;
21548 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21549 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21557 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21558 PyObject
*resultobj
;
21560 char *kwnames
[] = {
21564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21567 result
= wxTimeSpan::Day();
21569 wxPyEndAllowThreads(__tstate
);
21570 if (PyErr_Occurred()) SWIG_fail
;
21573 wxTimeSpan
* resultptr
;
21574 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21575 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21583 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
;
21587 PyObject
* obj0
= 0 ;
21588 char *kwnames
[] = {
21589 (char *) "days", NULL
21592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21593 arg1
= (long) SWIG_AsLong(obj0
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21597 result
= wxTimeSpan::Weeks(arg1
);
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21603 wxTimeSpan
* resultptr
;
21604 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21605 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21613 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21614 PyObject
*resultobj
;
21616 char *kwnames
[] = {
21620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= wxTimeSpan::Week();
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21629 wxTimeSpan
* resultptr
;
21630 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21639 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 long arg1
= (long) 0 ;
21642 long arg2
= (long) 0 ;
21643 long arg3
= (long) 0 ;
21644 long arg4
= (long) 0 ;
21645 wxTimeSpan
*result
;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 PyObject
* obj2
= 0 ;
21649 PyObject
* obj3
= 0 ;
21650 char *kwnames
[] = {
21651 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21656 arg1
= (long) SWIG_AsLong(obj0
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21660 arg2
= (long) SWIG_AsLong(obj1
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21664 arg3
= (long) SWIG_AsLong(obj2
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21668 arg4
= (long) SWIG_AsLong(obj3
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21675 wxPyEndAllowThreads(__tstate
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21685 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21686 PyObject
*resultobj
;
21687 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21688 PyObject
* obj0
= 0 ;
21689 char *kwnames
[] = {
21690 (char *) "self", NULL
21693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 Py_INCREF(Py_None
); resultobj
= Py_None
;
21710 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21711 PyObject
*resultobj
;
21712 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21713 wxTimeSpan
*arg2
= 0 ;
21714 wxTimeSpan
*result
;
21715 PyObject
* obj0
= 0 ;
21716 PyObject
* obj1
= 0 ;
21717 char *kwnames
[] = {
21718 (char *) "self",(char *) "diff", NULL
21721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21727 if (arg2
== NULL
) {
21728 PyErr_SetString(PyExc_TypeError
,"null reference");
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21735 result
= (wxTimeSpan
*) &_result_ref
;
21738 wxPyEndAllowThreads(__tstate
);
21739 if (PyErr_Occurred()) SWIG_fail
;
21741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21748 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21751 wxTimeSpan
*arg2
= 0 ;
21752 wxTimeSpan
*result
;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self",(char *) "diff", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21763 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21765 if (arg2
== NULL
) {
21766 PyErr_SetString(PyExc_TypeError
,"null reference");
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21772 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21773 result
= (wxTimeSpan
*) &_result_ref
;
21776 wxPyEndAllowThreads(__tstate
);
21777 if (PyErr_Occurred()) SWIG_fail
;
21779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21786 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21787 PyObject
*resultobj
;
21788 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21790 wxTimeSpan
*result
;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char *kwnames
[] = {
21794 (char *) "self",(char *) "n", NULL
21797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21800 arg2
= (int) SWIG_AsInt(obj1
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21806 result
= (wxTimeSpan
*) &_result_ref
;
21809 wxPyEndAllowThreads(__tstate
);
21810 if (PyErr_Occurred()) SWIG_fail
;
21812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21819 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21820 PyObject
*resultobj
;
21821 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21822 wxTimeSpan
*result
;
21823 PyObject
* obj0
= 0 ;
21824 char *kwnames
[] = {
21825 (char *) "self", NULL
21828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21834 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21835 result
= (wxTimeSpan
*) &_result_ref
;
21838 wxPyEndAllowThreads(__tstate
);
21839 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21848 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21849 PyObject
*resultobj
;
21850 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 wxTimeSpan
* resultptr
;
21869 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21878 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
;
21880 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21881 wxTimeSpan
*arg2
= 0 ;
21882 wxTimeSpan
*result
;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self",(char *) "diff", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21895 if (arg2
== NULL
) {
21896 PyErr_SetString(PyExc_TypeError
,"null reference");
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21902 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21903 result
= (wxTimeSpan
*) &_result_ref
;
21906 wxPyEndAllowThreads(__tstate
);
21907 if (PyErr_Occurred()) SWIG_fail
;
21909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21916 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21917 PyObject
*resultobj
;
21918 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21919 wxTimeSpan
*arg2
= 0 ;
21920 wxTimeSpan
*result
;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "self",(char *) "diff", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21930 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21931 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21933 if (arg2
== NULL
) {
21934 PyErr_SetString(PyExc_TypeError
,"null reference");
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21940 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21941 result
= (wxTimeSpan
*) &_result_ref
;
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21954 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21956 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21958 wxTimeSpan
*result
;
21959 PyObject
* obj0
= 0 ;
21960 PyObject
* obj1
= 0 ;
21961 char *kwnames
[] = {
21962 (char *) "self",(char *) "n", NULL
21965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21968 arg2
= (int) SWIG_AsInt(obj1
);
21969 if (PyErr_Occurred()) SWIG_fail
;
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21973 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21974 result
= (wxTimeSpan
*) &_result_ref
;
21977 wxPyEndAllowThreads(__tstate
);
21978 if (PyErr_Occurred()) SWIG_fail
;
21980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21987 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21988 PyObject
*resultobj
;
21989 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21990 wxTimeSpan
*result
;
21991 PyObject
* obj0
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
22003 result
= (wxTimeSpan
*) &_result_ref
;
22006 wxPyEndAllowThreads(__tstate
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
22016 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22018 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22019 wxTimeSpan
*arg2
= 0 ;
22021 PyObject
* obj0
= 0 ;
22022 PyObject
* obj1
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self",(char *) "other", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
22028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22030 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22031 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22033 if (arg2
== NULL
) {
22034 PyErr_SetString(PyExc_TypeError
,"null reference");
22038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22039 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
22041 wxPyEndAllowThreads(__tstate
);
22042 if (PyErr_Occurred()) SWIG_fail
;
22045 wxTimeSpan
* resultptr
;
22046 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22047 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22055 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22056 PyObject
*resultobj
;
22057 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22058 wxTimeSpan
*arg2
= 0 ;
22060 PyObject
* obj0
= 0 ;
22061 PyObject
* obj1
= 0 ;
22062 char *kwnames
[] = {
22063 (char *) "self",(char *) "other", NULL
22066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
22067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22069 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22070 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22072 if (arg2
== NULL
) {
22073 PyErr_SetString(PyExc_TypeError
,"null reference");
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22084 wxTimeSpan
* resultptr
;
22085 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22094 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22099 PyObject
* obj0
= 0 ;
22100 PyObject
* obj1
= 0 ;
22101 char *kwnames
[] = {
22102 (char *) "self",(char *) "n", NULL
22105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22108 arg2
= (int) SWIG_AsInt(obj1
);
22109 if (PyErr_Occurred()) SWIG_fail
;
22111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 result
= wxTimeSpan___mul__(arg1
,arg2
);
22114 wxPyEndAllowThreads(__tstate
);
22115 if (PyErr_Occurred()) SWIG_fail
;
22118 wxTimeSpan
* resultptr
;
22119 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22120 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22128 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22129 PyObject
*resultobj
;
22130 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22133 PyObject
* obj0
= 0 ;
22134 PyObject
* obj1
= 0 ;
22135 char *kwnames
[] = {
22136 (char *) "self",(char *) "n", NULL
22139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
22140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22142 arg2
= (int) SWIG_AsInt(obj1
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= wxTimeSpan___rmul__(arg1
,arg2
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22152 wxTimeSpan
* resultptr
;
22153 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
22154 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
22162 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22163 PyObject
*resultobj
;
22164 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22165 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22167 PyObject
* obj0
= 0 ;
22168 PyObject
* obj1
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self",(char *) "other", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22194 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22195 PyObject
*resultobj
;
22196 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22197 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 char *kwnames
[] = {
22202 (char *) "self",(char *) "other", NULL
22205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22208 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22212 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22214 wxPyEndAllowThreads(__tstate
);
22215 if (PyErr_Occurred()) SWIG_fail
;
22218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22226 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22227 PyObject
*resultobj
;
22228 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22229 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22231 PyObject
* obj0
= 0 ;
22232 PyObject
* obj1
= 0 ;
22233 char *kwnames
[] = {
22234 (char *) "self",(char *) "other", NULL
22237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22240 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22246 wxPyEndAllowThreads(__tstate
);
22247 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22258 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22261 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self",(char *) "other", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22290 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22291 PyObject
*resultobj
;
22292 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22293 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22295 PyObject
* obj0
= 0 ;
22296 PyObject
* obj1
= 0 ;
22297 char *kwnames
[] = {
22298 (char *) "self",(char *) "other", NULL
22301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22310 wxPyEndAllowThreads(__tstate
);
22311 if (PyErr_Occurred()) SWIG_fail
;
22314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22322 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22323 PyObject
*resultobj
;
22324 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22325 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22327 PyObject
* obj0
= 0 ;
22328 PyObject
* obj1
= 0 ;
22329 char *kwnames
[] = {
22330 (char *) "self",(char *) "other", NULL
22333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22354 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22358 PyObject
* obj0
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22370 wxPyEndAllowThreads(__tstate
);
22371 if (PyErr_Occurred()) SWIG_fail
;
22374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22382 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22384 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22386 PyObject
* obj0
= 0 ;
22387 char *kwnames
[] = {
22388 (char *) "self", NULL
22391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22396 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22410 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22411 PyObject
*resultobj
;
22412 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22414 PyObject
* obj0
= 0 ;
22415 char *kwnames
[] = {
22416 (char *) "self", NULL
22419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22438 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22441 wxTimeSpan
*arg2
= 0 ;
22443 PyObject
* obj0
= 0 ;
22444 PyObject
* obj1
= 0 ;
22445 char *kwnames
[] = {
22446 (char *) "self",(char *) "ts", NULL
22449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22453 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22455 if (arg2
== NULL
) {
22456 PyErr_SetString(PyExc_TypeError
,"null reference");
22460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22461 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22463 wxPyEndAllowThreads(__tstate
);
22464 if (PyErr_Occurred()) SWIG_fail
;
22467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22475 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22478 wxTimeSpan
*arg2
= 0 ;
22480 PyObject
* obj0
= 0 ;
22481 PyObject
* obj1
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self",(char *) "ts", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22490 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22492 if (arg2
== NULL
) {
22493 PyErr_SetString(PyExc_TypeError
,"null reference");
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22504 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22512 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
;
22514 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22515 wxTimeSpan
*arg2
= 0 ;
22517 PyObject
* obj0
= 0 ;
22518 PyObject
* obj1
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self",(char *) "t", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22527 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22529 if (arg2
== NULL
) {
22530 PyErr_SetString(PyExc_TypeError
,"null reference");
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22549 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22550 PyObject
*resultobj
;
22551 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22553 PyObject
* obj0
= 0 ;
22554 char *kwnames
[] = {
22555 (char *) "self", NULL
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22565 wxPyEndAllowThreads(__tstate
);
22566 if (PyErr_Occurred()) SWIG_fail
;
22568 resultobj
= SWIG_FromInt((int)result
);
22575 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22576 PyObject
*resultobj
;
22577 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22579 PyObject
* obj0
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22589 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 resultobj
= SWIG_FromInt((int)result
);
22601 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22602 PyObject
*resultobj
;
22603 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22605 PyObject
* obj0
= 0 ;
22606 char *kwnames
[] = {
22607 (char *) "self", NULL
22610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22615 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22617 wxPyEndAllowThreads(__tstate
);
22618 if (PyErr_Occurred()) SWIG_fail
;
22620 resultobj
= SWIG_FromInt((int)result
);
22627 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22628 PyObject
*resultobj
;
22629 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22631 PyObject
* obj0
= 0 ;
22632 char *kwnames
[] = {
22633 (char *) "self", NULL
22636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22641 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22643 wxPyEndAllowThreads(__tstate
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 resultobj
= SWIG_FromInt((int)result
);
22653 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22654 PyObject
*resultobj
;
22655 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22657 PyObject
* obj0
= 0 ;
22658 char *kwnames
[] = {
22659 (char *) "self", NULL
22662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22667 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22673 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22674 hi
= PyLong_FromLong( (&result
)->GetHi() );
22675 lo
= PyLong_FromLong( (&result
)->GetLo() );
22676 shifter
= PyLong_FromLong(32);
22677 shifted
= PyNumber_Lshift(hi
, shifter
);
22678 resultobj
= PyNumber_Or(shifted
, lo
);
22681 Py_DECREF(shifter
);
22682 Py_DECREF(shifted
);
22690 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
;
22692 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22694 PyObject
* obj0
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22704 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22706 wxPyEndAllowThreads(__tstate
);
22707 if (PyErr_Occurred()) SWIG_fail
;
22710 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22711 hi
= PyLong_FromLong( (&result
)->GetHi() );
22712 lo
= PyLong_FromLong( (&result
)->GetLo() );
22713 shifter
= PyLong_FromLong(32);
22714 shifted
= PyNumber_Lshift(hi
, shifter
);
22715 resultobj
= PyNumber_Or(shifted
, lo
);
22718 Py_DECREF(shifter
);
22719 Py_DECREF(shifted
);
22727 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
;
22729 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22730 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22731 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22733 bool temp2
= False
;
22734 PyObject
* obj0
= 0 ;
22735 PyObject
* obj1
= 0 ;
22736 char *kwnames
[] = {
22737 (char *) "self",(char *) "format", NULL
22740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22745 arg2
= wxString_in_helper(obj1
);
22746 if (arg2
== NULL
) SWIG_fail
;
22751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22752 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22761 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22778 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22781 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22783 return Py_BuildValue((char *)"");
22785 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22786 PyObject
*resultobj
;
22787 int arg1
= (int) 0 ;
22788 int arg2
= (int) 0 ;
22789 int arg3
= (int) 0 ;
22790 int arg4
= (int) 0 ;
22791 wxDateSpan
*result
;
22792 PyObject
* obj0
= 0 ;
22793 PyObject
* obj1
= 0 ;
22794 PyObject
* obj2
= 0 ;
22795 PyObject
* obj3
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22802 arg1
= (int) SWIG_AsInt(obj0
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22806 arg2
= (int) SWIG_AsInt(obj1
);
22807 if (PyErr_Occurred()) SWIG_fail
;
22810 arg3
= (int) SWIG_AsInt(obj2
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22814 arg4
= (int) SWIG_AsInt(obj3
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22819 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22821 wxPyEndAllowThreads(__tstate
);
22822 if (PyErr_Occurred()) SWIG_fail
;
22824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22831 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22832 PyObject
*resultobj
;
22833 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22834 PyObject
* obj0
= 0 ;
22835 char *kwnames
[] = {
22836 (char *) "self", NULL
22839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 Py_INCREF(Py_None
); resultobj
= Py_None
;
22856 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22857 PyObject
*resultobj
;
22860 PyObject
* obj0
= 0 ;
22861 char *kwnames
[] = {
22862 (char *) "days", NULL
22865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22866 arg1
= (int) SWIG_AsInt(obj0
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22870 result
= wxDateSpan::Days(arg1
);
22872 wxPyEndAllowThreads(__tstate
);
22873 if (PyErr_Occurred()) SWIG_fail
;
22876 wxDateSpan
* resultptr
;
22877 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22886 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22887 PyObject
*resultobj
;
22889 char *kwnames
[] = {
22893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= wxDateSpan::Day();
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22902 wxDateSpan
* resultptr
;
22903 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22912 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22916 PyObject
* obj0
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "weeks", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22922 arg1
= (int) SWIG_AsInt(obj0
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= wxDateSpan::Weeks(arg1
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22932 wxDateSpan
* resultptr
;
22933 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22942 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22945 char *kwnames
[] = {
22949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22952 result
= wxDateSpan::Week();
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22958 wxDateSpan
* resultptr
;
22959 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22968 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
;
22972 PyObject
* obj0
= 0 ;
22973 char *kwnames
[] = {
22974 (char *) "mon", NULL
22977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22978 arg1
= (int) SWIG_AsInt(obj0
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 result
= wxDateSpan::Months(arg1
);
22984 wxPyEndAllowThreads(__tstate
);
22985 if (PyErr_Occurred()) SWIG_fail
;
22988 wxDateSpan
* resultptr
;
22989 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22990 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22998 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22999 PyObject
*resultobj
;
23001 char *kwnames
[] = {
23005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 result
= wxDateSpan::Month();
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23014 wxDateSpan
* resultptr
;
23015 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23024 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23025 PyObject
*resultobj
;
23028 PyObject
* obj0
= 0 ;
23029 char *kwnames
[] = {
23030 (char *) "years", NULL
23033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
23034 arg1
= (int) SWIG_AsInt(obj0
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 result
= wxDateSpan::Years(arg1
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23044 wxDateSpan
* resultptr
;
23045 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23046 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23054 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23055 PyObject
*resultobj
;
23057 char *kwnames
[] = {
23061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
23063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23064 result
= wxDateSpan::Year();
23066 wxPyEndAllowThreads(__tstate
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23070 wxDateSpan
* resultptr
;
23071 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23080 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23081 PyObject
*resultobj
;
23082 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23084 wxDateSpan
*result
;
23085 PyObject
* obj0
= 0 ;
23086 PyObject
* obj1
= 0 ;
23087 char *kwnames
[] = {
23088 (char *) "self",(char *) "n", NULL
23091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
23092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23094 arg2
= (int) SWIG_AsInt(obj1
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23099 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
23100 result
= (wxDateSpan
*) &_result_ref
;
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23113 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23117 wxDateSpan
*result
;
23118 PyObject
* obj0
= 0 ;
23119 PyObject
* obj1
= 0 ;
23120 char *kwnames
[] = {
23121 (char *) "self",(char *) "n", NULL
23124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
23125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23127 arg2
= (int) SWIG_AsInt(obj1
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
23133 result
= (wxDateSpan
*) &_result_ref
;
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23146 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23150 wxDateSpan
*result
;
23151 PyObject
* obj0
= 0 ;
23152 PyObject
* obj1
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self",(char *) "n", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
23158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23160 arg2
= (int) SWIG_AsInt(obj1
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
23166 result
= (wxDateSpan
*) &_result_ref
;
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23179 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
;
23181 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23183 wxDateSpan
*result
;
23184 PyObject
* obj0
= 0 ;
23185 PyObject
* obj1
= 0 ;
23186 char *kwnames
[] = {
23187 (char *) "self",(char *) "n", NULL
23190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23193 arg2
= (int) SWIG_AsInt(obj1
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23198 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23199 result
= (wxDateSpan
*) &_result_ref
;
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23212 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23216 PyObject
* obj0
= 0 ;
23217 char *kwnames
[] = {
23218 (char *) "self", NULL
23221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23226 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23228 wxPyEndAllowThreads(__tstate
);
23229 if (PyErr_Occurred()) SWIG_fail
;
23231 resultobj
= SWIG_FromInt((int)result
);
23238 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23239 PyObject
*resultobj
;
23240 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23254 wxPyEndAllowThreads(__tstate
);
23255 if (PyErr_Occurred()) SWIG_fail
;
23257 resultobj
= SWIG_FromInt((int)result
);
23264 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23265 PyObject
*resultobj
;
23266 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23268 PyObject
* obj0
= 0 ;
23269 char *kwnames
[] = {
23270 (char *) "self", NULL
23273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23278 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= SWIG_FromInt((int)result
);
23290 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23291 PyObject
*resultobj
;
23292 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23294 PyObject
* obj0
= 0 ;
23295 char *kwnames
[] = {
23296 (char *) "self", NULL
23299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23304 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23306 wxPyEndAllowThreads(__tstate
);
23307 if (PyErr_Occurred()) SWIG_fail
;
23309 resultobj
= SWIG_FromInt((int)result
);
23316 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23317 PyObject
*resultobj
;
23318 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23320 PyObject
* obj0
= 0 ;
23321 char *kwnames
[] = {
23322 (char *) "self", NULL
23325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23330 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= SWIG_FromInt((int)result
);
23342 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23343 PyObject
*resultobj
;
23344 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23345 wxDateSpan
*arg2
= 0 ;
23346 wxDateSpan
*result
;
23347 PyObject
* obj0
= 0 ;
23348 PyObject
* obj1
= 0 ;
23349 char *kwnames
[] = {
23350 (char *) "self",(char *) "other", NULL
23353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23359 if (arg2
== NULL
) {
23360 PyErr_SetString(PyExc_TypeError
,"null reference");
23364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23367 result
= (wxDateSpan
*) &_result_ref
;
23370 wxPyEndAllowThreads(__tstate
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23380 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23381 PyObject
*resultobj
;
23382 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23383 wxDateSpan
*arg2
= 0 ;
23384 wxDateSpan
*result
;
23385 PyObject
* obj0
= 0 ;
23386 PyObject
* obj1
= 0 ;
23387 char *kwnames
[] = {
23388 (char *) "self",(char *) "other", NULL
23391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23397 if (arg2
== NULL
) {
23398 PyErr_SetString(PyExc_TypeError
,"null reference");
23402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23405 result
= (wxDateSpan
*) &_result_ref
;
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23418 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
;
23420 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23421 wxDateSpan
*result
;
23422 PyObject
* obj0
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23434 result
= (wxDateSpan
*) &_result_ref
;
23437 wxPyEndAllowThreads(__tstate
);
23438 if (PyErr_Occurred()) SWIG_fail
;
23440 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23447 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23448 PyObject
*resultobj
;
23449 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23451 wxDateSpan
*result
;
23452 PyObject
* obj0
= 0 ;
23453 PyObject
* obj1
= 0 ;
23454 char *kwnames
[] = {
23455 (char *) "self",(char *) "factor", NULL
23458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23461 arg2
= (int) SWIG_AsInt(obj1
);
23462 if (PyErr_Occurred()) SWIG_fail
;
23464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23466 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23467 result
= (wxDateSpan
*) &_result_ref
;
23470 wxPyEndAllowThreads(__tstate
);
23471 if (PyErr_Occurred()) SWIG_fail
;
23473 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23480 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23483 wxDateSpan
*arg2
= 0 ;
23484 wxDateSpan
*result
;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 char *kwnames
[] = {
23488 (char *) "self",(char *) "other", NULL
23491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23497 if (arg2
== NULL
) {
23498 PyErr_SetString(PyExc_TypeError
,"null reference");
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23504 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23505 result
= (wxDateSpan
*) &_result_ref
;
23508 wxPyEndAllowThreads(__tstate
);
23509 if (PyErr_Occurred()) SWIG_fail
;
23511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23518 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23519 PyObject
*resultobj
;
23520 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23521 wxDateSpan
*arg2
= 0 ;
23522 wxDateSpan
*result
;
23523 PyObject
* obj0
= 0 ;
23524 PyObject
* obj1
= 0 ;
23525 char *kwnames
[] = {
23526 (char *) "self",(char *) "other", NULL
23529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23533 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23535 if (arg2
== NULL
) {
23536 PyErr_SetString(PyExc_TypeError
,"null reference");
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23543 result
= (wxDateSpan
*) &_result_ref
;
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23556 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23557 PyObject
*resultobj
;
23558 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23559 wxDateSpan
*result
;
23560 PyObject
* obj0
= 0 ;
23561 char *kwnames
[] = {
23562 (char *) "self", NULL
23565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23571 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23572 result
= (wxDateSpan
*) &_result_ref
;
23575 wxPyEndAllowThreads(__tstate
);
23576 if (PyErr_Occurred()) SWIG_fail
;
23578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23585 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23586 PyObject
*resultobj
;
23587 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23589 wxDateSpan
*result
;
23590 PyObject
* obj0
= 0 ;
23591 PyObject
* obj1
= 0 ;
23592 char *kwnames
[] = {
23593 (char *) "self",(char *) "factor", NULL
23596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23599 arg2
= (int) SWIG_AsInt(obj1
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23605 result
= (wxDateSpan
*) &_result_ref
;
23608 wxPyEndAllowThreads(__tstate
);
23609 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23618 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23620 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23621 wxDateSpan
*arg2
= 0 ;
23623 PyObject
* obj0
= 0 ;
23624 PyObject
* obj1
= 0 ;
23625 char *kwnames
[] = {
23626 (char *) "self",(char *) "other", NULL
23629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23635 if (arg2
== NULL
) {
23636 PyErr_SetString(PyExc_TypeError
,"null reference");
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23647 wxDateSpan
* resultptr
;
23648 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23657 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23659 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23660 wxDateSpan
*arg2
= 0 ;
23662 PyObject
* obj0
= 0 ;
23663 PyObject
* obj1
= 0 ;
23664 char *kwnames
[] = {
23665 (char *) "self",(char *) "other", NULL
23668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23674 if (arg2
== NULL
) {
23675 PyErr_SetString(PyExc_TypeError
,"null reference");
23679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23680 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23686 wxDateSpan
* resultptr
;
23687 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23688 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23696 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23697 PyObject
*resultobj
;
23698 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23701 PyObject
* obj0
= 0 ;
23702 PyObject
* obj1
= 0 ;
23703 char *kwnames
[] = {
23704 (char *) "self",(char *) "n", NULL
23707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23710 arg2
= (int) SWIG_AsInt(obj1
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 result
= wxDateSpan___mul__(arg1
,arg2
);
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23720 wxDateSpan
* resultptr
;
23721 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23722 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23730 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23731 PyObject
*resultobj
;
23732 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 char *kwnames
[] = {
23738 (char *) "self",(char *) "n", NULL
23741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23744 arg2
= (int) SWIG_AsInt(obj1
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 result
= wxDateSpan___rmul__(arg1
,arg2
);
23750 wxPyEndAllowThreads(__tstate
);
23751 if (PyErr_Occurred()) SWIG_fail
;
23754 wxDateSpan
* resultptr
;
23755 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23756 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23764 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23766 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23767 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23769 PyObject
* obj0
= 0 ;
23770 PyObject
* obj1
= 0 ;
23771 char *kwnames
[] = {
23772 (char *) "self",(char *) "other", NULL
23775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23778 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23796 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23797 PyObject
*resultobj
;
23798 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23799 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23801 PyObject
* obj0
= 0 ;
23802 PyObject
* obj1
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "self",(char *) "other", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23828 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23830 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23831 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23833 return Py_BuildValue((char *)"");
23835 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23838 char *kwnames
[] = {
23842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (long)wxGetLocalTime();
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 resultobj
= SWIG_FromLong((long)result
);
23857 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23860 char *kwnames
[] = {
23864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 result
= (long)wxGetUTCTime();
23869 wxPyEndAllowThreads(__tstate
);
23870 if (PyErr_Occurred()) SWIG_fail
;
23872 resultobj
= SWIG_FromLong((long)result
);
23879 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23880 PyObject
*resultobj
;
23882 char *kwnames
[] = {
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23889 result
= (long)wxGetCurrentTime();
23891 wxPyEndAllowThreads(__tstate
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 resultobj
= SWIG_FromLong((long)result
);
23901 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23902 PyObject
*resultobj
;
23904 char *kwnames
[] = {
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23911 result
= wxGetLocalTimeMillis();
23913 wxPyEndAllowThreads(__tstate
);
23914 if (PyErr_Occurred()) SWIG_fail
;
23917 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23918 hi
= PyLong_FromLong( (&result
)->GetHi() );
23919 lo
= PyLong_FromLong( (&result
)->GetLo() );
23920 shifter
= PyLong_FromLong(32);
23921 shifted
= PyNumber_Lshift(hi
, shifter
);
23922 resultobj
= PyNumber_Or(shifted
, lo
);
23925 Py_DECREF(shifter
);
23926 Py_DECREF(shifted
);
23934 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23935 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23940 static PyObject
*_wrap_DefaultDateTime_get() {
23943 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23948 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23951 wxDataFormat
*result
;
23952 PyObject
* obj0
= 0 ;
23953 char *kwnames
[] = {
23954 (char *) "type", NULL
23957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23958 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23974 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
;
23976 wxString
*arg1
= 0 ;
23977 wxDataFormat
*result
;
23978 bool temp1
= False
;
23979 PyObject
* obj0
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "format", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23986 arg1
= wxString_in_helper(obj0
);
23987 if (arg1
== NULL
) SWIG_fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
24012 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24013 PyObject
*resultobj
;
24014 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24015 PyObject
* obj0
= 0 ;
24016 char *kwnames
[] = {
24017 (char *) "self", NULL
24020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
24021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24030 Py_INCREF(Py_None
); resultobj
= Py_None
;
24037 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
24038 PyObject
*resultobj
;
24039 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24042 PyObject
* obj0
= 0 ;
24043 PyObject
* obj1
= 0 ;
24045 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24048 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24052 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24066 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
24067 PyObject
*resultobj
;
24068 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24074 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24077 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24078 if (PyErr_Occurred()) SWIG_fail
;
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24095 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
24096 PyObject
*resultobj
;
24097 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24098 wxDataFormat
*arg2
= 0 ;
24100 PyObject
* obj0
= 0 ;
24101 PyObject
* obj1
= 0 ;
24103 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
24104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24107 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24109 if (arg2
== NULL
) {
24110 PyErr_SetString(PyExc_TypeError
,"null reference");
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24129 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
24134 argc
= PyObject_Length(args
);
24135 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24136 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24142 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24152 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24160 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
24168 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24176 _v
= SWIG_CheckInt(argv
[1]);
24178 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24183 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24188 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24189 PyObject
*resultobj
;
24190 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24191 wxDataFormat
*arg2
= 0 ;
24193 PyObject
* obj0
= 0 ;
24194 PyObject
* obj1
= 0 ;
24196 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24200 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24202 if (arg2
== NULL
) {
24203 PyErr_SetString(PyExc_TypeError
,"null reference");
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24222 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24227 argc
= PyObject_Length(args
);
24228 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24229 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24235 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24245 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24253 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24261 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24269 _v
= SWIG_CheckInt(argv
[1]);
24271 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24276 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24281 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self",(char *) "format", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24294 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 (arg1
)->SetType((wxDataFormatId
)arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24303 Py_INCREF(Py_None
); resultobj
= Py_None
;
24310 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24311 PyObject
*resultobj
;
24312 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24314 PyObject
* obj0
= 0 ;
24315 char *kwnames
[] = {
24316 (char *) "self", NULL
24319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24329 resultobj
= SWIG_FromInt((int)result
);
24336 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24340 PyObject
* obj0
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= ((wxDataFormat
const *)arg1
)->GetId();
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24368 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
;
24370 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24371 wxString
*arg2
= 0 ;
24372 bool temp2
= False
;
24373 PyObject
* obj0
= 0 ;
24374 PyObject
* obj1
= 0 ;
24375 char *kwnames
[] = {
24376 (char *) "self",(char *) "format", NULL
24379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24383 arg2
= wxString_in_helper(obj1
);
24384 if (arg2
== NULL
) SWIG_fail
;
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 (arg1
)->SetId((wxString
const &)*arg2
);
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24394 Py_INCREF(Py_None
); resultobj
= Py_None
;
24409 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24412 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24414 return Py_BuildValue((char *)"");
24416 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24417 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24422 static PyObject
*_wrap_FormatInvalid_get() {
24425 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24430 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24433 PyObject
* obj0
= 0 ;
24434 char *kwnames
[] = {
24435 (char *) "self", NULL
24438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 wxPyEndAllowThreads(__tstate
);
24446 if (PyErr_Occurred()) SWIG_fail
;
24448 Py_INCREF(Py_None
); resultobj
= Py_None
;
24455 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24456 PyObject
*resultobj
;
24457 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24458 int arg2
= (int) wxDataObject::Get
;
24459 SwigValueWrapper
< wxDataFormat
> result
;
24460 PyObject
* obj0
= 0 ;
24461 PyObject
* obj1
= 0 ;
24462 char *kwnames
[] = {
24463 (char *) "self",(char *) "dir", NULL
24466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24470 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24471 if (PyErr_Occurred()) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24481 wxDataFormat
* resultptr
;
24482 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24491 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24492 PyObject
*resultobj
;
24493 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24494 int arg2
= (int) wxDataObject::Get
;
24496 PyObject
* obj0
= 0 ;
24497 PyObject
* obj1
= 0 ;
24498 char *kwnames
[] = {
24499 (char *) "self",(char *) "dir", NULL
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24506 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24523 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
;
24525 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24526 wxDataFormat
*arg2
= 0 ;
24527 int arg3
= (int) wxDataObject::Get
;
24529 PyObject
* obj0
= 0 ;
24530 PyObject
* obj1
= 0 ;
24531 PyObject
* obj2
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self",(char *) "format",(char *) "dir", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24539 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24540 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24542 if (arg2
== NULL
) {
24543 PyErr_SetString(PyExc_TypeError
,"null reference");
24547 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24566 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
;
24568 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24569 wxDataFormat
*arg2
= 0 ;
24571 PyObject
* obj0
= 0 ;
24572 PyObject
* obj1
= 0 ;
24573 char *kwnames
[] = {
24574 (char *) "self",(char *) "format", NULL
24577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24580 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24581 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24583 if (arg2
== NULL
) {
24584 PyErr_SetString(PyExc_TypeError
,"null reference");
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24601 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24604 int arg2
= (int) wxDataObject::Get
;
24606 PyObject
* obj0
= 0 ;
24607 PyObject
* obj1
= 0 ;
24608 char *kwnames
[] = {
24609 (char *) "self",(char *) "dir", NULL
24612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
)) goto fail
;
24613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24616 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 result
= (PyObject
*)wxDataObject_GetAllFormats(arg1
,(wxDataObject::Direction
)arg2
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= result
;
24633 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
;
24635 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24636 wxDataFormat
*arg2
= 0 ;
24638 PyObject
* obj0
= 0 ;
24639 PyObject
* obj1
= 0 ;
24640 char *kwnames
[] = {
24641 (char *) "self",(char *) "format", NULL
24644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
)) goto fail
;
24645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24647 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24650 if (arg2
== NULL
) {
24651 PyErr_SetString(PyExc_TypeError
,"null reference");
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 result
= (PyObject
*)wxDataObject_GetDataHere(arg1
,(wxDataFormat
const &)*arg2
);
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24661 resultobj
= result
;
24668 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
;
24670 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24671 wxDataFormat
*arg2
= 0 ;
24672 PyObject
*arg3
= (PyObject
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 PyObject
* obj2
= 0 ;
24677 char *kwnames
[] = {
24678 (char *) "self",(char *) "format",(char *) "data", NULL
24681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24687 if (arg2
== NULL
) {
24688 PyErr_SetString(PyExc_TypeError
,"null reference");
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (bool)wxDataObject_SetData(arg1
,(wxDataFormat
const &)*arg2
,arg3
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24708 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24711 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24713 return Py_BuildValue((char *)"");
24715 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24718 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24719 wxDataObjectSimple
*result
;
24720 PyObject
* obj0
= 0 ;
24721 char *kwnames
[] = {
24722 (char *) "format", NULL
24725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24730 if (arg1
== NULL
) {
24731 PyErr_SetString(PyExc_TypeError
,"null reference");
24736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24737 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24749 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24752 wxDataFormat
*result
;
24753 PyObject
* obj0
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24764 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24765 result
= (wxDataFormat
*) &_result_ref
;
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24771 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24778 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
;
24780 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24781 wxDataFormat
*arg2
= 0 ;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self",(char *) "format", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24792 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24794 if (arg2
== NULL
) {
24795 PyErr_SetString(PyExc_TypeError
,"null reference");
24799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24800 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24802 wxPyEndAllowThreads(__tstate
);
24803 if (PyErr_Occurred()) SWIG_fail
;
24805 Py_INCREF(Py_None
); resultobj
= Py_None
;
24812 static PyObject
*_wrap_DataObjectSimple_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24813 PyObject
*resultobj
;
24814 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24816 PyObject
* obj0
= 0 ;
24817 char *kwnames
[] = {
24818 (char *) "self", NULL
24821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataSize",kwnames
,&obj0
)) goto fail
;
24822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 result
= (size_t)((wxDataObjectSimple
const *)arg1
)->GetDataSize();
24828 wxPyEndAllowThreads(__tstate
);
24829 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24838 static PyObject
*_wrap_DataObjectSimple_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
;
24840 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24842 PyObject
* obj0
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetDataHere",kwnames
,&obj0
)) goto fail
;
24848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 result
= (PyObject
*)wxDataObjectSimple_GetDataHere(arg1
);
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24857 resultobj
= result
;
24864 static PyObject
*_wrap_DataObjectSimple_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
;
24866 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24867 PyObject
*arg2
= (PyObject
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 PyObject
* obj1
= 0 ;
24871 char *kwnames
[] = {
24872 (char *) "self",(char *) "data", NULL
24875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
24876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (bool)wxDataObjectSimple_SetData(arg1
,arg2
);
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24895 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24897 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24898 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24900 return Py_BuildValue((char *)"");
24902 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24903 PyObject
*resultobj
;
24904 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24905 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24906 wxPyDataObjectSimple
*result
;
24907 PyObject
* obj0
= 0 ;
24908 char *kwnames
[] = {
24909 (char *) "format", NULL
24912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24915 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24917 if (arg1
== NULL
) {
24918 PyErr_SetString(PyExc_TypeError
,"null reference");
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24936 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24939 PyObject
*arg2
= (PyObject
*) 0 ;
24940 PyObject
*arg3
= (PyObject
*) 0 ;
24941 PyObject
* obj0
= 0 ;
24942 PyObject
* obj1
= 0 ;
24943 PyObject
* obj2
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self",(char *) "self",(char *) "_class", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 Py_INCREF(Py_None
); resultobj
= Py_None
;
24967 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24970 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24972 return Py_BuildValue((char *)"");
24974 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24975 PyObject
*resultobj
;
24976 wxDataObjectComposite
*result
;
24977 char *kwnames
[] = {
24981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24984 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24989 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24996 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24997 PyObject
*resultobj
;
24998 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24999 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
25000 bool arg3
= (bool) False
;
25001 PyObject
* obj0
= 0 ;
25002 PyObject
* obj1
= 0 ;
25003 PyObject
* obj2
= 0 ;
25004 char *kwnames
[] = {
25005 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
25008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
25010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
25012 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25014 arg3
= (bool) SWIG_AsBool(obj2
);
25015 if (PyErr_Occurred()) SWIG_fail
;
25018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25019 (arg1
)->Add(arg2
,arg3
);
25021 wxPyEndAllowThreads(__tstate
);
25022 if (PyErr_Occurred()) SWIG_fail
;
25024 Py_INCREF(Py_None
); resultobj
= Py_None
;
25031 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
25033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25034 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
25036 return Py_BuildValue((char *)"");
25038 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25040 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25041 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25042 wxTextDataObject
*result
;
25043 bool temp1
= False
;
25044 PyObject
* obj0
= 0 ;
25045 char *kwnames
[] = {
25046 (char *) "text", NULL
25049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
25052 arg1
= wxString_in_helper(obj0
);
25053 if (arg1
== NULL
) SWIG_fail
;
25058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25059 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
25061 wxPyEndAllowThreads(__tstate
);
25062 if (PyErr_Occurred()) SWIG_fail
;
25064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
25079 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25080 PyObject
*resultobj
;
25081 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25083 PyObject
* obj0
= 0 ;
25084 char *kwnames
[] = {
25085 (char *) "self", NULL
25088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
25089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 result
= (size_t)(arg1
)->GetTextLength();
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25105 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
;
25107 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25109 PyObject
* obj0
= 0 ;
25110 char *kwnames
[] = {
25111 (char *) "self", NULL
25114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
25115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (arg1
)->GetText();
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25126 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25128 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25137 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25138 PyObject
*resultobj
;
25139 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
25140 wxString
*arg2
= 0 ;
25141 bool temp2
= False
;
25142 PyObject
* obj0
= 0 ;
25143 PyObject
* obj1
= 0 ;
25144 char *kwnames
[] = {
25145 (char *) "self",(char *) "text", NULL
25148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
25149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
25150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25152 arg2
= wxString_in_helper(obj1
);
25153 if (arg2
== NULL
) SWIG_fail
;
25157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25158 (arg1
)->SetText((wxString
const &)*arg2
);
25160 wxPyEndAllowThreads(__tstate
);
25161 if (PyErr_Occurred()) SWIG_fail
;
25163 Py_INCREF(Py_None
); resultobj
= Py_None
;
25178 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25181 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
25183 return Py_BuildValue((char *)"");
25185 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxString
const &arg1_defvalue
= wxPyEmptyString
;
25188 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
25189 wxPyTextDataObject
*result
;
25190 bool temp1
= False
;
25191 PyObject
* obj0
= 0 ;
25192 char *kwnames
[] = {
25193 (char *) "text", NULL
25196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
25199 arg1
= wxString_in_helper(obj0
);
25200 if (arg1
== NULL
) SWIG_fail
;
25205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25206 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
25208 wxPyEndAllowThreads(__tstate
);
25209 if (PyErr_Occurred()) SWIG_fail
;
25211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
25226 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25227 PyObject
*resultobj
;
25228 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
25229 PyObject
*arg2
= (PyObject
*) 0 ;
25230 PyObject
*arg3
= (PyObject
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 PyObject
* obj1
= 0 ;
25233 PyObject
* obj2
= 0 ;
25234 char *kwnames
[] = {
25235 (char *) "self",(char *) "self",(char *) "_class", NULL
25238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
25240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25250 Py_INCREF(Py_None
); resultobj
= Py_None
;
25257 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25260 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25262 return Py_BuildValue((char *)"");
25264 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25265 PyObject
*resultobj
;
25266 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25267 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25268 wxBitmapDataObject
*result
;
25269 PyObject
* obj0
= 0 ;
25270 char *kwnames
[] = {
25271 (char *) "bitmap", NULL
25274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25277 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25279 if (arg1
== NULL
) {
25280 PyErr_SetString(PyExc_TypeError
,"null reference");
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25298 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25302 PyObject
* obj0
= 0 ;
25303 char *kwnames
[] = {
25304 (char *) "self", NULL
25307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25318 wxBitmap
* resultptr
;
25319 resultptr
= new wxBitmap((wxBitmap
&) result
);
25320 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25328 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
;
25330 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25331 wxBitmap
*arg2
= 0 ;
25332 PyObject
* obj0
= 0 ;
25333 PyObject
* obj1
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "self",(char *) "bitmap", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25342 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25344 if (arg2
== NULL
) {
25345 PyErr_SetString(PyExc_TypeError
,"null reference");
25349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25350 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25352 wxPyEndAllowThreads(__tstate
);
25353 if (PyErr_Occurred()) SWIG_fail
;
25355 Py_INCREF(Py_None
); resultobj
= Py_None
;
25362 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25365 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25367 return Py_BuildValue((char *)"");
25369 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25372 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25373 wxPyBitmapDataObject
*result
;
25374 PyObject
* obj0
= 0 ;
25375 char *kwnames
[] = {
25376 (char *) "bitmap", NULL
25379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25382 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25384 if (arg1
== NULL
) {
25385 PyErr_SetString(PyExc_TypeError
,"null reference");
25390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25391 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25393 wxPyEndAllowThreads(__tstate
);
25394 if (PyErr_Occurred()) SWIG_fail
;
25396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25403 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25404 PyObject
*resultobj
;
25405 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25406 PyObject
*arg2
= (PyObject
*) 0 ;
25407 PyObject
*arg3
= (PyObject
*) 0 ;
25408 PyObject
* obj0
= 0 ;
25409 PyObject
* obj1
= 0 ;
25410 PyObject
* obj2
= 0 ;
25411 char *kwnames
[] = {
25412 (char *) "self",(char *) "self",(char *) "_class", NULL
25415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25422 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25424 wxPyEndAllowThreads(__tstate
);
25425 if (PyErr_Occurred()) SWIG_fail
;
25427 Py_INCREF(Py_None
); resultobj
= Py_None
;
25434 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25437 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25439 return Py_BuildValue((char *)"");
25441 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25442 PyObject
*resultobj
;
25443 wxFileDataObject
*result
;
25444 char *kwnames
[] = {
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25451 result
= (wxFileDataObject
*)new wxFileDataObject();
25453 wxPyEndAllowThreads(__tstate
);
25454 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25463 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25464 PyObject
*resultobj
;
25465 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25466 wxArrayString
*result
;
25467 PyObject
* obj0
= 0 ;
25468 char *kwnames
[] = {
25469 (char *) "self", NULL
25472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25479 result
= (wxArrayString
*) &_result_ref
;
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25486 resultobj
= wxArrayString2PyList_helper(*result
);
25494 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25497 wxString
*arg2
= 0 ;
25498 bool temp2
= False
;
25499 PyObject
* obj0
= 0 ;
25500 PyObject
* obj1
= 0 ;
25501 char *kwnames
[] = {
25502 (char *) "self",(char *) "filename", NULL
25505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25509 arg2
= wxString_in_helper(obj1
);
25510 if (arg2
== NULL
) SWIG_fail
;
25514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25515 (arg1
)->AddFile((wxString
const &)*arg2
);
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 Py_INCREF(Py_None
); resultobj
= Py_None
;
25535 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25538 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25540 return Py_BuildValue((char *)"");
25542 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25543 PyObject
*resultobj
;
25544 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25545 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25546 wxCustomDataObject
*result
;
25547 PyObject
* obj0
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "format", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25557 if (arg1
== NULL
) {
25558 PyErr_SetString(PyExc_TypeError
,"null reference");
25563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25564 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25566 wxPyEndAllowThreads(__tstate
);
25567 if (PyErr_Occurred()) SWIG_fail
;
25569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25576 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25577 PyObject
*resultobj
;
25578 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25579 PyObject
*arg2
= (PyObject
*) 0 ;
25581 PyObject
* obj0
= 0 ;
25582 PyObject
* obj1
= 0 ;
25583 char *kwnames
[] = {
25584 (char *) "self",(char *) "data", NULL
25587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25607 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25608 PyObject
*resultobj
;
25609 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25611 PyObject
* obj0
= 0 ;
25612 char *kwnames
[] = {
25613 (char *) "self", NULL
25616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 result
= (size_t)(arg1
)->GetSize();
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25633 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25634 PyObject
*resultobj
;
25635 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25637 PyObject
* obj0
= 0 ;
25638 char *kwnames
[] = {
25639 (char *) "self", NULL
25642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= result
;
25659 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25662 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25664 return Py_BuildValue((char *)"");
25666 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
;
25668 wxURLDataObject
*result
;
25669 char *kwnames
[] = {
25673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 result
= (wxURLDataObject
*)new wxURLDataObject();
25678 wxPyEndAllowThreads(__tstate
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25688 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25689 PyObject
*resultobj
;
25690 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25692 PyObject
* obj0
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25702 result
= (arg1
)->GetURL();
25704 wxPyEndAllowThreads(__tstate
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25720 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25721 PyObject
*resultobj
;
25722 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25723 wxString
*arg2
= 0 ;
25724 bool temp2
= False
;
25725 PyObject
* obj0
= 0 ;
25726 PyObject
* obj1
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "self",(char *) "url", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25735 arg2
= wxString_in_helper(obj1
);
25736 if (arg2
== NULL
) SWIG_fail
;
25740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25741 (arg1
)->SetURL((wxString
const &)*arg2
);
25743 wxPyEndAllowThreads(__tstate
);
25744 if (PyErr_Occurred()) SWIG_fail
;
25746 Py_INCREF(Py_None
); resultobj
= Py_None
;
25761 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25764 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25766 return Py_BuildValue((char *)"");
25768 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25769 PyObject
*resultobj
;
25770 wxMetafileDataObject
*result
;
25771 char *kwnames
[] = {
25775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25778 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25790 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
;
25792 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25793 wxMetafile
*arg2
= 0 ;
25794 PyObject
* obj0
= 0 ;
25795 PyObject
* obj1
= 0 ;
25796 char *kwnames
[] = {
25797 (char *) "self",(char *) "metafile", NULL
25800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25803 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25804 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25806 if (arg2
== NULL
) {
25807 PyErr_SetString(PyExc_TypeError
,"null reference");
25811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25812 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25814 wxPyEndAllowThreads(__tstate
);
25815 if (PyErr_Occurred()) SWIG_fail
;
25817 Py_INCREF(Py_None
); resultobj
= Py_None
;
25824 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25825 PyObject
*resultobj
;
25826 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25828 PyObject
* obj0
= 0 ;
25829 char *kwnames
[] = {
25830 (char *) "self", NULL
25833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25840 wxPyEndAllowThreads(__tstate
);
25841 if (PyErr_Occurred()) SWIG_fail
;
25844 wxMetafile
* resultptr
;
25845 resultptr
= new wxMetafile((wxMetafile
&) result
);
25846 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25854 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25857 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25859 return Py_BuildValue((char *)"");
25861 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
;
25865 PyObject
* obj0
= 0 ;
25866 char *kwnames
[] = {
25867 (char *) "res", NULL
25870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25871 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25872 if (PyErr_Occurred()) SWIG_fail
;
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25889 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25890 PyObject
*resultobj
;
25891 wxWindow
*arg1
= (wxWindow
*) 0 ;
25892 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25893 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25894 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25895 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25896 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25897 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25898 wxPyDropSource
*result
;
25899 PyObject
* obj0
= 0 ;
25900 PyObject
* obj1
= 0 ;
25901 PyObject
* obj2
= 0 ;
25902 PyObject
* obj3
= 0 ;
25903 char *kwnames
[] = {
25904 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25914 if (arg2
== NULL
) {
25915 PyErr_SetString(PyExc_TypeError
,"null reference");
25920 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25921 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25923 if (arg3
== NULL
) {
25924 PyErr_SetString(PyExc_TypeError
,"null reference");
25929 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25932 if (arg4
== NULL
) {
25933 PyErr_SetString(PyExc_TypeError
,"null reference");
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25951 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
;
25953 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25954 PyObject
*arg2
= (PyObject
*) 0 ;
25955 PyObject
*arg3
= (PyObject
*) 0 ;
25957 PyObject
* obj0
= 0 ;
25958 PyObject
* obj1
= 0 ;
25959 PyObject
* obj2
= 0 ;
25960 PyObject
* obj3
= 0 ;
25961 char *kwnames
[] = {
25962 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25970 arg4
= (int) SWIG_AsInt(obj3
);
25971 if (PyErr_Occurred()) SWIG_fail
;
25973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25974 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25976 wxPyEndAllowThreads(__tstate
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 Py_INCREF(Py_None
); resultobj
= Py_None
;
25986 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25987 PyObject
*resultobj
;
25988 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25989 PyObject
* obj0
= 0 ;
25990 char *kwnames
[] = {
25991 (char *) "self", NULL
25994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26004 Py_INCREF(Py_None
); resultobj
= Py_None
;
26011 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26012 PyObject
*resultobj
;
26013 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26014 wxDataObject
*arg2
= 0 ;
26015 PyObject
* obj0
= 0 ;
26016 PyObject
* obj1
= 0 ;
26017 char *kwnames
[] = {
26018 (char *) "self",(char *) "data", NULL
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26027 if (arg2
== NULL
) {
26028 PyErr_SetString(PyExc_TypeError
,"null reference");
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 (arg1
)->SetData(*arg2
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 Py_INCREF(Py_None
); resultobj
= Py_None
;
26045 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26046 PyObject
*resultobj
;
26047 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26048 wxDataObject
*result
;
26049 PyObject
* obj0
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "self", NULL
26054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
26055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26071 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
;
26073 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26075 wxCursor
*arg3
= 0 ;
26076 PyObject
* obj0
= 0 ;
26077 PyObject
* obj1
= 0 ;
26078 PyObject
* obj2
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self",(char *) "res",(char *) "cursor", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26086 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26088 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
26089 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26091 if (arg3
== NULL
) {
26092 PyErr_SetString(PyExc_TypeError
,"null reference");
26096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26097 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
26099 wxPyEndAllowThreads(__tstate
);
26100 if (PyErr_Occurred()) SWIG_fail
;
26102 Py_INCREF(Py_None
); resultobj
= Py_None
;
26109 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26112 int arg2
= (int) wxDrag_CopyOnly
;
26114 PyObject
* obj0
= 0 ;
26115 PyObject
* obj1
= 0 ;
26116 char *kwnames
[] = {
26117 (char *) "self",(char *) "flags", NULL
26120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
26121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26124 arg2
= (int) SWIG_AsInt(obj1
);
26125 if (PyErr_Occurred()) SWIG_fail
;
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 result
= (int)(arg1
)->DoDragDrop(arg2
);
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26134 resultobj
= SWIG_FromInt((int)result
);
26141 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
;
26143 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
26146 PyObject
* obj0
= 0 ;
26147 PyObject
* obj1
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self",(char *) "effect", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
26153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26159 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26173 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
26175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26176 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
26178 return Py_BuildValue((char *)"");
26180 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26181 PyObject
*resultobj
;
26182 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
26183 wxPyDropTarget
*result
;
26184 PyObject
* obj0
= 0 ;
26185 char *kwnames
[] = {
26186 (char *) "dataObject", NULL
26189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
26191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
26192 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
26208 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26211 PyObject
*arg2
= (PyObject
*) 0 ;
26212 PyObject
*arg3
= (PyObject
*) 0 ;
26213 PyObject
* obj0
= 0 ;
26214 PyObject
* obj1
= 0 ;
26215 PyObject
* obj2
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self",(char *) "self",(char *) "_class", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 Py_INCREF(Py_None
); resultobj
= Py_None
;
26239 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
;
26241 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26242 PyObject
* obj0
= 0 ;
26243 char *kwnames
[] = {
26244 (char *) "self", NULL
26247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 Py_INCREF(Py_None
); resultobj
= Py_None
;
26264 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
;
26266 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26267 wxDataObject
*result
;
26268 PyObject
* obj0
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26278 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26280 wxPyEndAllowThreads(__tstate
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26290 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26291 PyObject
*resultobj
;
26292 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26293 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26294 PyObject
* obj0
= 0 ;
26295 PyObject
* obj1
= 0 ;
26296 char *kwnames
[] = {
26297 (char *) "self",(char *) "dataObject", NULL
26300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26304 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 (arg1
)->SetDataObject(arg2
);
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 Py_INCREF(Py_None
); resultobj
= Py_None
;
26319 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
;
26321 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26326 PyObject
* obj0
= 0 ;
26327 PyObject
* obj1
= 0 ;
26328 PyObject
* obj2
= 0 ;
26329 PyObject
* obj3
= 0 ;
26330 char *kwnames
[] = {
26331 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26337 arg2
= (int) SWIG_AsInt(obj1
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26339 arg3
= (int) SWIG_AsInt(obj2
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26341 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26342 if (PyErr_Occurred()) SWIG_fail
;
26344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26345 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26347 wxPyEndAllowThreads(__tstate
);
26348 if (PyErr_Occurred()) SWIG_fail
;
26350 resultobj
= SWIG_FromInt((int)result
);
26357 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26364 PyObject
* obj0
= 0 ;
26365 PyObject
* obj1
= 0 ;
26366 PyObject
* obj2
= 0 ;
26367 PyObject
* obj3
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26375 arg2
= (int) SWIG_AsInt(obj1
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26377 arg3
= (int) SWIG_AsInt(obj2
);
26378 if (PyErr_Occurred()) SWIG_fail
;
26379 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26380 if (PyErr_Occurred()) SWIG_fail
;
26382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26383 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= SWIG_FromInt((int)result
);
26395 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26396 PyObject
*resultobj
;
26397 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26398 PyObject
* obj0
= 0 ;
26399 char *kwnames
[] = {
26400 (char *) "self", NULL
26403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26408 (arg1
)->base_OnLeave();
26410 wxPyEndAllowThreads(__tstate
);
26411 if (PyErr_Occurred()) SWIG_fail
;
26413 Py_INCREF(Py_None
); resultobj
= Py_None
;
26420 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26421 PyObject
*resultobj
;
26422 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26426 PyObject
* obj0
= 0 ;
26427 PyObject
* obj1
= 0 ;
26428 PyObject
* obj2
= 0 ;
26429 char *kwnames
[] = {
26430 (char *) "self",(char *) "x",(char *) "y", NULL
26433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26436 arg2
= (int) SWIG_AsInt(obj1
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26438 arg3
= (int) SWIG_AsInt(obj2
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26456 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26458 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26460 PyObject
* obj0
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26470 result
= (bool)(arg1
)->GetData();
26472 wxPyEndAllowThreads(__tstate
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26484 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26487 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26489 return Py_BuildValue((char *)"");
26491 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
;
26493 wxPyTextDropTarget
*result
;
26494 char *kwnames
[] = {
26498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26501 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26503 wxPyEndAllowThreads(__tstate
);
26504 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26513 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26514 PyObject
*resultobj
;
26515 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26516 PyObject
*arg2
= (PyObject
*) 0 ;
26517 PyObject
*arg3
= (PyObject
*) 0 ;
26518 PyObject
* obj0
= 0 ;
26519 PyObject
* obj1
= 0 ;
26520 PyObject
* obj2
= 0 ;
26521 char *kwnames
[] = {
26522 (char *) "self",(char *) "self",(char *) "_class", NULL
26525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26534 wxPyEndAllowThreads(__tstate
);
26535 if (PyErr_Occurred()) SWIG_fail
;
26537 Py_INCREF(Py_None
); resultobj
= Py_None
;
26544 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26545 PyObject
*resultobj
;
26546 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 PyObject
* obj1
= 0 ;
26553 PyObject
* obj2
= 0 ;
26554 PyObject
* obj3
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26562 arg2
= (int) SWIG_AsInt(obj1
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26564 arg3
= (int) SWIG_AsInt(obj2
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26566 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26570 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26575 resultobj
= SWIG_FromInt((int)result
);
26582 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
;
26584 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26589 PyObject
* obj0
= 0 ;
26590 PyObject
* obj1
= 0 ;
26591 PyObject
* obj2
= 0 ;
26592 PyObject
* obj3
= 0 ;
26593 char *kwnames
[] = {
26594 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26600 arg2
= (int) SWIG_AsInt(obj1
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26602 arg3
= (int) SWIG_AsInt(obj2
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26604 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26608 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26610 wxPyEndAllowThreads(__tstate
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26613 resultobj
= SWIG_FromInt((int)result
);
26620 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26621 PyObject
*resultobj
;
26622 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26623 PyObject
* obj0
= 0 ;
26624 char *kwnames
[] = {
26625 (char *) "self", NULL
26628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 (arg1
)->base_OnLeave();
26635 wxPyEndAllowThreads(__tstate
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 Py_INCREF(Py_None
); resultobj
= Py_None
;
26645 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26646 PyObject
*resultobj
;
26647 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26651 PyObject
* obj0
= 0 ;
26652 PyObject
* obj1
= 0 ;
26653 PyObject
* obj2
= 0 ;
26654 char *kwnames
[] = {
26655 (char *) "self",(char *) "x",(char *) "y", NULL
26658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26661 arg2
= (int) SWIG_AsInt(obj1
);
26662 if (PyErr_Occurred()) SWIG_fail
;
26663 arg3
= (int) SWIG_AsInt(obj2
);
26664 if (PyErr_Occurred()) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26681 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26682 PyObject
*resultobj
;
26683 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26688 PyObject
* obj0
= 0 ;
26689 PyObject
* obj1
= 0 ;
26690 PyObject
* obj2
= 0 ;
26691 PyObject
* obj3
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26699 arg2
= (int) SWIG_AsInt(obj1
);
26700 if (PyErr_Occurred()) SWIG_fail
;
26701 arg3
= (int) SWIG_AsInt(obj2
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26703 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26707 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= SWIG_FromInt((int)result
);
26719 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26722 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26724 return Py_BuildValue((char *)"");
26726 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26727 PyObject
*resultobj
;
26728 wxPyFileDropTarget
*result
;
26729 char *kwnames
[] = {
26733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26748 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
;
26750 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26751 PyObject
*arg2
= (PyObject
*) 0 ;
26752 PyObject
*arg3
= (PyObject
*) 0 ;
26753 PyObject
* obj0
= 0 ;
26754 PyObject
* obj1
= 0 ;
26755 PyObject
* obj2
= 0 ;
26756 char *kwnames
[] = {
26757 (char *) "self",(char *) "self",(char *) "_class", NULL
26760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 Py_INCREF(Py_None
); resultobj
= Py_None
;
26779 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26780 PyObject
*resultobj
;
26781 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26786 PyObject
* obj0
= 0 ;
26787 PyObject
* obj1
= 0 ;
26788 PyObject
* obj2
= 0 ;
26789 PyObject
* obj3
= 0 ;
26790 char *kwnames
[] = {
26791 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26797 arg2
= (int) SWIG_AsInt(obj1
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26799 arg3
= (int) SWIG_AsInt(obj2
);
26800 if (PyErr_Occurred()) SWIG_fail
;
26801 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26802 if (PyErr_Occurred()) SWIG_fail
;
26804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26805 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= SWIG_FromInt((int)result
);
26817 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26824 PyObject
* obj0
= 0 ;
26825 PyObject
* obj1
= 0 ;
26826 PyObject
* obj2
= 0 ;
26827 PyObject
* obj3
= 0 ;
26828 char *kwnames
[] = {
26829 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26835 arg2
= (int) SWIG_AsInt(obj1
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26837 arg3
= (int) SWIG_AsInt(obj2
);
26838 if (PyErr_Occurred()) SWIG_fail
;
26839 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 resultobj
= SWIG_FromInt((int)result
);
26855 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
;
26857 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26858 PyObject
* obj0
= 0 ;
26859 char *kwnames
[] = {
26860 (char *) "self", NULL
26863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 (arg1
)->base_OnLeave();
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26873 Py_INCREF(Py_None
); resultobj
= Py_None
;
26880 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
;
26882 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26886 PyObject
* obj0
= 0 ;
26887 PyObject
* obj1
= 0 ;
26888 PyObject
* obj2
= 0 ;
26889 char *kwnames
[] = {
26890 (char *) "self",(char *) "x",(char *) "y", NULL
26893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26896 arg2
= (int) SWIG_AsInt(obj1
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26898 arg3
= (int) SWIG_AsInt(obj2
);
26899 if (PyErr_Occurred()) SWIG_fail
;
26901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26902 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26904 wxPyEndAllowThreads(__tstate
);
26905 if (PyErr_Occurred()) SWIG_fail
;
26908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26916 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26917 PyObject
*resultobj
;
26918 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26923 PyObject
* obj0
= 0 ;
26924 PyObject
* obj1
= 0 ;
26925 PyObject
* obj2
= 0 ;
26926 PyObject
* obj3
= 0 ;
26927 char *kwnames
[] = {
26928 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26934 arg2
= (int) SWIG_AsInt(obj1
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26936 arg3
= (int) SWIG_AsInt(obj2
);
26937 if (PyErr_Occurred()) SWIG_fail
;
26938 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= SWIG_FromInt((int)result
);
26954 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26957 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26959 return Py_BuildValue((char *)"");
26961 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26962 PyObject
*resultobj
;
26963 wxClipboard
*result
;
26964 char *kwnames
[] = {
26968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26971 result
= (wxClipboard
*)new wxClipboard();
26973 wxPyEndAllowThreads(__tstate
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26983 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26984 PyObject
*resultobj
;
26985 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26986 PyObject
* obj0
= 0 ;
26987 char *kwnames
[] = {
26988 (char *) "self", NULL
26991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27001 Py_INCREF(Py_None
); resultobj
= Py_None
;
27008 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
;
27010 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27012 PyObject
* obj0
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "self", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
27018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 result
= (bool)(arg1
)->Open();
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27036 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27038 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "self", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
27045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 Py_INCREF(Py_None
); resultobj
= Py_None
;
27061 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
;
27063 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
27071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27089 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
;
27091 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27092 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27094 PyObject
* obj0
= 0 ;
27095 PyObject
* obj1
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "self",(char *) "data", NULL
27100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
27101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27104 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27107 result
= (bool)(arg1
)->AddData(arg2
);
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27121 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27122 PyObject
*resultobj
;
27123 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27124 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self",(char *) "data", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27136 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 result
= (bool)(arg1
)->SetData(arg2
);
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27153 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
;
27155 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27156 wxDataFormat
*arg2
= 0 ;
27158 PyObject
* obj0
= 0 ;
27159 PyObject
* obj1
= 0 ;
27160 char *kwnames
[] = {
27161 (char *) "self",(char *) "format", NULL
27164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
27165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27167 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
27168 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27170 if (arg2
== NULL
) {
27171 PyErr_SetString(PyExc_TypeError
,"null reference");
27175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27176 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
27178 wxPyEndAllowThreads(__tstate
);
27179 if (PyErr_Occurred()) SWIG_fail
;
27182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27190 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27191 PyObject
*resultobj
;
27192 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27193 wxDataObject
*arg2
= 0 ;
27195 PyObject
* obj0
= 0 ;
27196 PyObject
* obj1
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "self",(char *) "data", NULL
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
27202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27204 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
27205 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27207 if (arg2
== NULL
) {
27208 PyErr_SetString(PyExc_TypeError
,"null reference");
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 result
= (bool)(arg1
)->GetData(*arg2
);
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27227 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
;
27229 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27230 PyObject
* obj0
= 0 ;
27231 char *kwnames
[] = {
27232 (char *) "self", NULL
27235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 Py_INCREF(Py_None
); resultobj
= Py_None
;
27252 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27256 PyObject
* obj0
= 0 ;
27257 char *kwnames
[] = {
27258 (char *) "self", NULL
27261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27266 result
= (bool)(arg1
)->Flush();
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27280 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
;
27282 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27283 bool arg2
= (bool) True
;
27284 PyObject
* obj0
= 0 ;
27285 PyObject
* obj1
= 0 ;
27286 char *kwnames
[] = {
27287 (char *) "self",(char *) "primary", NULL
27290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27294 arg2
= (bool) SWIG_AsBool(obj1
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 (arg1
)->UsePrimarySelection(arg2
);
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27304 Py_INCREF(Py_None
); resultobj
= Py_None
;
27311 static PyObject
*_wrap_Clipboard_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27312 PyObject
*resultobj
;
27313 wxClipboard
*result
;
27314 char *kwnames
[] = {
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Clipboard_Get",kwnames
)) goto fail
;
27320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27321 result
= (wxClipboard
*)wxClipboard::Get();
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 0);
27333 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27335 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27336 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27338 return Py_BuildValue((char *)"");
27340 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27341 PyObject
*resultobj
;
27342 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27343 wxClipboardLocker
*result
;
27344 PyObject
* obj0
= 0 ;
27345 char *kwnames
[] = {
27346 (char *) "clipboard", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27368 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27371 PyObject
* obj0
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 wxPyEndAllowThreads(__tstate
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27386 Py_INCREF(Py_None
); resultobj
= Py_None
;
27393 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27394 PyObject
*resultobj
;
27395 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27397 PyObject
* obj0
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27407 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27421 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27423 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27424 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27426 return Py_BuildValue((char *)"");
27428 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 int arg1
= (int) 0 ;
27431 int arg2
= (int) 0 ;
27432 int arg3
= (int) 0 ;
27433 int arg4
= (int) 0 ;
27434 wxVideoMode
*result
;
27435 PyObject
* obj0
= 0 ;
27436 PyObject
* obj1
= 0 ;
27437 PyObject
* obj2
= 0 ;
27438 PyObject
* obj3
= 0 ;
27439 char *kwnames
[] = {
27440 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27445 arg1
= (int) SWIG_AsInt(obj0
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27449 arg2
= (int) SWIG_AsInt(obj1
);
27450 if (PyErr_Occurred()) SWIG_fail
;
27453 arg3
= (int) SWIG_AsInt(obj2
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27457 arg4
= (int) SWIG_AsInt(obj3
);
27458 if (PyErr_Occurred()) SWIG_fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27467 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27474 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27475 PyObject
*resultobj
;
27476 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27477 PyObject
* obj0
= 0 ;
27478 char *kwnames
[] = {
27479 (char *) "self", NULL
27482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 Py_INCREF(Py_None
); resultobj
= Py_None
;
27499 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
;
27501 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27502 wxVideoMode
*arg2
= 0 ;
27504 PyObject
* obj0
= 0 ;
27505 PyObject
* obj1
= 0 ;
27506 char *kwnames
[] = {
27507 (char *) "self",(char *) "other", NULL
27510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27513 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27514 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27516 if (arg2
== NULL
) {
27517 PyErr_SetString(PyExc_TypeError
,"null reference");
27521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27522 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27524 wxPyEndAllowThreads(__tstate
);
27525 if (PyErr_Occurred()) SWIG_fail
;
27528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27536 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27540 PyObject
* obj0
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "self", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27550 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27552 wxPyEndAllowThreads(__tstate
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27555 resultobj
= SWIG_FromInt((int)result
);
27562 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27563 PyObject
*resultobj
;
27564 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27566 PyObject
* obj0
= 0 ;
27567 char *kwnames
[] = {
27568 (char *) "self", NULL
27571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27576 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27578 wxPyEndAllowThreads(__tstate
);
27579 if (PyErr_Occurred()) SWIG_fail
;
27581 resultobj
= SWIG_FromInt((int)result
);
27588 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27589 PyObject
*resultobj
;
27590 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27592 PyObject
* obj0
= 0 ;
27593 char *kwnames
[] = {
27594 (char *) "self", NULL
27597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27604 wxPyEndAllowThreads(__tstate
);
27605 if (PyErr_Occurred()) SWIG_fail
;
27607 resultobj
= SWIG_FromInt((int)result
);
27614 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27615 PyObject
*resultobj
;
27616 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27618 PyObject
* obj0
= 0 ;
27619 char *kwnames
[] = {
27620 (char *) "self", NULL
27623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27628 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27630 wxPyEndAllowThreads(__tstate
);
27631 if (PyErr_Occurred()) SWIG_fail
;
27634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27642 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27643 PyObject
*resultobj
;
27644 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27645 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27647 PyObject
* obj0
= 0 ;
27648 PyObject
* obj1
= 0 ;
27649 char *kwnames
[] = {
27650 (char *) "self",(char *) "other", NULL
27653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27656 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27660 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27662 wxPyEndAllowThreads(__tstate
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27674 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27675 PyObject
*resultobj
;
27676 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27677 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27679 PyObject
* obj0
= 0 ;
27680 PyObject
* obj1
= 0 ;
27681 char *kwnames
[] = {
27682 (char *) "self",(char *) "other", NULL
27685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27692 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27694 wxPyEndAllowThreads(__tstate
);
27695 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27706 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27707 PyObject
*resultobj
;
27708 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27710 PyObject
* obj0
= 0 ;
27711 PyObject
* obj1
= 0 ;
27712 char *kwnames
[] = {
27713 (char *) "self",(char *) "w", NULL
27716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27719 arg2
= (int) SWIG_AsInt(obj1
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27721 if (arg1
) (arg1
)->w
= arg2
;
27723 Py_INCREF(Py_None
); resultobj
= Py_None
;
27730 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
;
27732 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27734 PyObject
* obj0
= 0 ;
27735 char *kwnames
[] = {
27736 (char *) "self", NULL
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27742 result
= (int) ((arg1
)->w
);
27744 resultobj
= SWIG_FromInt((int)result
);
27751 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
;
27753 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27755 PyObject
* obj0
= 0 ;
27756 PyObject
* obj1
= 0 ;
27757 char *kwnames
[] = {
27758 (char *) "self",(char *) "h", NULL
27761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27764 arg2
= (int) SWIG_AsInt(obj1
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27766 if (arg1
) (arg1
)->h
= arg2
;
27768 Py_INCREF(Py_None
); resultobj
= Py_None
;
27775 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27776 PyObject
*resultobj
;
27777 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27779 PyObject
* obj0
= 0 ;
27780 char *kwnames
[] = {
27781 (char *) "self", NULL
27784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27787 result
= (int) ((arg1
)->h
);
27789 resultobj
= SWIG_FromInt((int)result
);
27796 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27797 PyObject
*resultobj
;
27798 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27800 PyObject
* obj0
= 0 ;
27801 PyObject
* obj1
= 0 ;
27802 char *kwnames
[] = {
27803 (char *) "self",(char *) "bpp", NULL
27806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27809 arg2
= (int) SWIG_AsInt(obj1
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27811 if (arg1
) (arg1
)->bpp
= arg2
;
27813 Py_INCREF(Py_None
); resultobj
= Py_None
;
27820 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27821 PyObject
*resultobj
;
27822 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27824 PyObject
* obj0
= 0 ;
27825 char *kwnames
[] = {
27826 (char *) "self", NULL
27829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27832 result
= (int) ((arg1
)->bpp
);
27834 resultobj
= SWIG_FromInt((int)result
);
27841 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27842 PyObject
*resultobj
;
27843 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27845 PyObject
* obj0
= 0 ;
27846 PyObject
* obj1
= 0 ;
27847 char *kwnames
[] = {
27848 (char *) "self",(char *) "refresh", NULL
27851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27854 arg2
= (int) SWIG_AsInt(obj1
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27856 if (arg1
) (arg1
)->refresh
= arg2
;
27858 Py_INCREF(Py_None
); resultobj
= Py_None
;
27865 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27866 PyObject
*resultobj
;
27867 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27869 PyObject
* obj0
= 0 ;
27870 char *kwnames
[] = {
27871 (char *) "self", NULL
27874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27877 result
= (int) ((arg1
)->refresh
);
27879 resultobj
= SWIG_FromInt((int)result
);
27886 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27888 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27889 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27891 return Py_BuildValue((char *)"");
27893 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27894 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27899 static PyObject
*_wrap_DefaultVideoMode_get() {
27902 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27907 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27908 PyObject
*resultobj
;
27909 size_t arg1
= (size_t) 0 ;
27911 PyObject
* obj0
= 0 ;
27912 char *kwnames
[] = {
27913 (char *) "index", NULL
27916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27918 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27923 result
= (wxDisplay
*)new wxDisplay(arg1
);
27925 wxPyEndAllowThreads(__tstate
);
27926 if (PyErr_Occurred()) SWIG_fail
;
27928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27935 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
;
27937 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27938 PyObject
* obj0
= 0 ;
27939 char *kwnames
[] = {
27940 (char *) "self", NULL
27943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27950 wxPyEndAllowThreads(__tstate
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27953 Py_INCREF(Py_None
); resultobj
= Py_None
;
27960 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27961 PyObject
*resultobj
;
27963 char *kwnames
[] = {
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27970 result
= (size_t)wxDisplay::GetCount();
27972 wxPyEndAllowThreads(__tstate
);
27973 if (PyErr_Occurred()) SWIG_fail
;
27975 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27982 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27983 PyObject
*resultobj
;
27984 wxPoint
*arg1
= 0 ;
27987 PyObject
* obj0
= 0 ;
27988 char *kwnames
[] = {
27989 (char *) "pt", NULL
27992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27995 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27999 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
28001 wxPyEndAllowThreads(__tstate
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 resultobj
= SWIG_FromInt((int)result
);
28011 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28012 PyObject
*resultobj
;
28013 wxWindow
*arg1
= (wxWindow
*) 0 ;
28015 PyObject
* obj0
= 0 ;
28016 char *kwnames
[] = {
28017 (char *) "window", NULL
28020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
28021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 result
= (int)wxDisplay::GetFromWindow(arg1
);
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= SWIG_FromInt((int)result
);
28037 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28038 PyObject
*resultobj
;
28039 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28041 PyObject
* obj0
= 0 ;
28042 char *kwnames
[] = {
28043 (char *) "self", NULL
28046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
28047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28051 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28065 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28066 PyObject
*resultobj
;
28067 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28069 PyObject
* obj0
= 0 ;
28070 char *kwnames
[] = {
28071 (char *) "self", NULL
28074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
28075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28079 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28085 wxRect
* resultptr
;
28086 resultptr
= new wxRect((wxRect
&) result
);
28087 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
28095 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28096 PyObject
*resultobj
;
28097 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28099 PyObject
* obj0
= 0 ;
28100 char *kwnames
[] = {
28101 (char *) "self", NULL
28104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
28105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28109 result
= ((wxDisplay
const *)arg1
)->GetName();
28111 wxPyEndAllowThreads(__tstate
);
28112 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28127 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28128 PyObject
*resultobj
;
28129 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28131 PyObject
* obj0
= 0 ;
28132 char *kwnames
[] = {
28133 (char *) "self", NULL
28136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
28137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28141 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
28143 wxPyEndAllowThreads(__tstate
);
28144 if (PyErr_Occurred()) SWIG_fail
;
28147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28155 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28156 PyObject
*resultobj
;
28157 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28158 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28159 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28161 PyObject
* obj0
= 0 ;
28162 PyObject
* obj1
= 0 ;
28163 char *kwnames
[] = {
28164 (char *) "self",(char *) "mode", NULL
28167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
28168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28171 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28174 if (arg2
== NULL
) {
28175 PyErr_SetString(PyExc_TypeError
,"null reference");
28180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28181 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
28183 wxPyEndAllowThreads(__tstate
);
28184 if (PyErr_Occurred()) SWIG_fail
;
28186 resultobj
= result
;
28193 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28194 PyObject
*resultobj
;
28195 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28196 wxVideoMode result
;
28197 PyObject
* obj0
= 0 ;
28198 char *kwnames
[] = {
28199 (char *) "self", NULL
28202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
28203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28207 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
28209 wxPyEndAllowThreads(__tstate
);
28210 if (PyErr_Occurred()) SWIG_fail
;
28213 wxVideoMode
* resultptr
;
28214 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
28215 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
28223 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28224 PyObject
*resultobj
;
28225 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28226 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
28227 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28229 PyObject
* obj0
= 0 ;
28230 PyObject
* obj1
= 0 ;
28231 char *kwnames
[] = {
28232 (char *) "self",(char *) "mode", NULL
28235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28239 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28240 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28242 if (arg2
== NULL
) {
28243 PyErr_SetString(PyExc_TypeError
,"null reference");
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28263 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28264 PyObject
*resultobj
;
28265 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "self", NULL
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 (arg1
)->ResetMode();
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28281 Py_INCREF(Py_None
); resultobj
= Py_None
;
28288 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28291 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28293 return Py_BuildValue((char *)"");
28295 static PyMethodDef SwigMethods
[] = {
28296 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28303 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28310 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"MilliSleep", (PyCFunction
) _wrap_MilliSleep
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"MicroSleep", (PyCFunction
) _wrap_MicroSleep
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28371 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28379 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28395 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28400 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28403 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28406 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28412 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28426 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28432 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28438 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28441 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28455 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28458 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28459 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28462 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28489 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28491 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28493 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28495 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28502 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28507 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28508 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28510 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28514 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28521 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28526 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28529 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28546 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28554 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28600 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28612 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28613 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28628 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28638 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28654 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28670 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28684 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28693 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28705 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28736 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28739 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28742 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28746 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28757 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28763 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28767 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28771 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28781 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28792 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28800 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28808 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28821 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28825 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28838 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28839 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28840 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28841 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28842 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28843 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28844 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28845 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28846 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28847 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28857 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28858 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28859 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28860 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28861 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28862 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28863 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28864 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28865 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28866 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28867 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28868 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28869 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28870 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28871 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28872 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28873 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28874 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28875 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28876 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28877 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28878 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28879 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28880 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28881 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28882 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28883 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28884 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28885 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28886 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28887 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28888 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28889 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28890 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28891 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28892 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28893 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28894 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28895 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28896 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28897 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28898 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28899 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28900 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28901 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28902 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28903 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28904 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28905 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28906 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28907 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28908 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28909 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28910 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28911 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28912 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28913 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28914 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28915 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28916 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28917 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28918 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28919 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28920 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28921 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28922 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28923 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28924 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28925 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28926 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28927 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28928 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28929 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28930 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28931 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28932 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28933 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28934 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28935 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28936 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28937 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28938 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28939 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28940 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28941 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28942 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28943 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28944 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28945 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28946 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28947 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28948 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28949 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28950 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28951 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28952 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28953 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28954 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28955 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28956 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28957 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28958 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28959 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28960 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28961 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28962 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28963 { (char *)"DataObjectSimple_GetDataSize", (PyCFunction
) _wrap_DataObjectSimple_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28964 { (char *)"DataObjectSimple_GetDataHere", (PyCFunction
) _wrap_DataObjectSimple_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28965 { (char *)"DataObjectSimple_SetData", (PyCFunction
) _wrap_DataObjectSimple_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28966 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28967 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28968 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28969 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28970 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28971 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28972 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28973 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28974 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28975 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28976 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28977 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28978 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28979 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28980 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28981 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28982 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28983 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28984 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28985 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28986 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28987 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28988 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28989 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28990 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28991 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28992 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28993 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28994 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28995 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28996 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28997 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28998 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28999 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
29000 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
29001 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29002 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
29003 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
29004 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
29005 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
29006 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
29007 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29008 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
29009 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29010 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29011 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
29012 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
29013 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
29014 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
29015 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29016 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29017 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29018 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29019 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
29020 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29021 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29022 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29023 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29024 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29025 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
29026 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29027 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29028 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29029 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29030 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29031 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29032 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29033 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
29034 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
29035 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
29036 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
29037 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
29038 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
29039 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
29040 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
29041 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
29042 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29043 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
29044 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
29045 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
29046 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
29047 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
29048 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
29049 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
29050 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
29051 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
29052 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
29053 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
29054 { (char *)"Clipboard_Get", (PyCFunction
) _wrap_Clipboard_Get
, METH_VARARGS
| METH_KEYWORDS
},
29055 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
29056 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29057 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
29058 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
29059 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
29060 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29061 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
29062 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
29063 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
29064 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
29065 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
29066 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29067 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
29068 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
29069 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
29070 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
29071 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
29072 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
29073 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
29074 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
29075 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
29076 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
29077 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
29078 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
29079 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
29080 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
29081 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
29082 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
29083 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
29084 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
29085 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
29086 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
29087 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
29088 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
29089 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
29090 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
29091 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
29096 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
29098 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
29099 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29101 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
29102 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
29104 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
29105 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
29107 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
29108 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
29110 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
29111 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
29113 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
29114 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
29116 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
29117 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
29119 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
29120 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
29122 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
29123 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
29125 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
29126 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
29128 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
29129 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29131 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
29132 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
29134 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
29135 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
29137 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
29138 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29140 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
29141 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29143 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
29144 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
29146 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
29147 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
29149 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
29150 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
29152 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
29153 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
29155 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
29156 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
29158 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
29159 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
29161 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
29162 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
29164 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
29165 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29167 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
29168 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29170 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
29171 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29173 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
29174 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29176 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
29177 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29179 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
29180 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
29182 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
29183 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
29185 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
29186 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29188 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
29189 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
29191 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
29192 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
29194 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
29195 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
29197 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
29198 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29200 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
29201 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29203 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
29204 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29206 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
29207 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
29209 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
29210 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
29212 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
29213 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
29215 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
29216 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
29218 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
29219 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29221 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
29222 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29224 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
29225 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
29227 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
29228 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29230 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
29231 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
29233 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
29234 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29236 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29237 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29239 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29240 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29242 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29243 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29245 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29246 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29248 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29249 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29251 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29252 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29254 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29255 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29257 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29258 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29260 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29261 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29263 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29264 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29266 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29267 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29269 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29270 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29272 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29273 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29275 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29276 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29278 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29279 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29281 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29282 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29284 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29285 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29287 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29288 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29290 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29291 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29293 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29294 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29296 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29297 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29299 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29300 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29302 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29303 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29305 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29306 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29308 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29309 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29311 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29312 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29314 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29315 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29317 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29318 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29320 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29321 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29323 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29324 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29326 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29327 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29329 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29330 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29332 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29333 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29335 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29336 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29338 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29339 return (void *)((wxObject
*) ((wxSizer
*) x
));
29341 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29342 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29344 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29345 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29347 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29348 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29350 static void *_p_wxEventTo_p_wxObject(void *x
) {
29351 return (void *)((wxObject
*) ((wxEvent
*) x
));
29353 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29354 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29356 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29357 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29359 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29360 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29362 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29363 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29365 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29366 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29368 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29369 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29371 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29372 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29374 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29375 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29377 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29378 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29380 static void *_p_wxControlTo_p_wxObject(void *x
) {
29381 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29383 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29384 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29386 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29387 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29389 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29390 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29392 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29393 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29395 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29396 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29398 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29399 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29401 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29402 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29404 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29405 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29407 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29408 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29410 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29411 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29413 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29414 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29416 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29417 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29419 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29420 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29422 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29423 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29425 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29426 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29428 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29429 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29431 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29432 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29434 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29435 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29437 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29438 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29440 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29441 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29443 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29444 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29446 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29447 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29449 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29450 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29452 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29453 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29455 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29456 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29458 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29459 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29461 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29462 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29464 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29465 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29467 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29468 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29470 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29471 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29473 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29474 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29476 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29477 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29479 static void *_p_wxImageTo_p_wxObject(void *x
) {
29480 return (void *)((wxObject
*) ((wxImage
*) x
));
29482 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29483 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29485 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29486 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29488 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29489 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29491 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29492 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29494 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29495 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29497 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29498 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29500 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29501 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29503 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29504 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29506 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29507 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29509 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29510 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29512 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29513 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29515 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29516 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29518 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29519 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29521 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29522 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29524 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29525 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29527 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29528 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29530 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29531 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29533 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29534 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29536 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29537 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29539 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29540 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29542 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29543 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29545 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29546 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29548 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29549 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29551 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29552 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29554 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29555 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29557 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29558 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29560 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29561 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29563 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29564 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29566 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29567 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29569 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29570 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29572 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29573 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29575 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29576 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29578 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29579 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29581 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29582 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29584 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29585 return (void *)((wxWindow
*) ((wxControl
*) x
));
29587 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29588 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29590 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29591 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29593 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29594 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29596 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29597 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29599 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}};
29600 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}};
29601 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}};
29602 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}};
29603 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}};
29604 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}};
29605 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}};
29606 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}};
29607 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}};
29608 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}};
29609 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}};
29610 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}};
29611 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}};
29612 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}};
29613 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}};
29614 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}};
29615 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}};
29616 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}};
29617 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}};
29618 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}};
29619 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}};
29620 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}};
29621 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}};
29622 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}};
29623 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}};
29624 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}};
29625 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}};
29626 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}};
29627 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}};
29628 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}};
29629 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}};
29630 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}};
29631 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}};
29632 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}};
29633 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}};
29634 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}};
29635 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}};
29636 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}};
29637 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}};
29638 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}};
29639 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}};
29640 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}};
29641 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}};
29642 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}};
29643 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}};
29644 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}};
29645 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}};
29646 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}};
29647 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}};
29648 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}};
29649 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}};
29650 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}};
29651 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}};
29652 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}};
29653 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}};
29654 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}};
29655 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}};
29656 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}};
29657 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}};
29658 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}};
29659 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}};
29660 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}};
29661 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}};
29662 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}};
29663 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}};
29664 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}};
29665 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}};
29666 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}};
29667 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}};
29668 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}};
29669 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}};
29670 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}};
29671 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}};
29672 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}};
29673 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}};
29674 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}};
29675 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}};
29676 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}};
29677 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}};
29678 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}};
29679 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}};
29680 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}};
29681 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}};
29682 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}};
29683 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}};
29684 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}};
29686 static swig_type_info
*swig_types_initial
[] = {
29687 _swigt__p_wxLogChain
,
29688 _swigt__p_wxMutexGuiLocker
,
29689 _swigt__p_wxMetafile
,
29690 _swigt__p_wxFileHistory
,
29692 _swigt__p_wxDateTime__TimeZone
,
29695 _swigt__p_wxConfigBase
,
29696 _swigt__p_wxDisplay
,
29697 _swigt__p_wxFileType
,
29698 _swigt__p_wxLogGui
,
29700 _swigt__p_wxDataFormat
,
29701 _swigt__p_wxTimerEvent
,
29705 _swigt__p_wxClipboard
,
29706 _swigt__p_wxStopWatch
,
29708 _swigt__p_wxClipboardLocker
,
29710 _swigt__p_wxLogStderr
,
29711 _swigt__p_wxLogTextCtrl
,
29712 _swigt__p_wxTextCtrl
,
29713 _swigt__p_wxBusyCursor
,
29714 _swigt__p_wxPyBitmapDataObject
,
29715 _swigt__p_wxPyTextDataObject
,
29716 _swigt__p_wxBitmapDataObject
,
29717 _swigt__p_wxTextDataObject
,
29718 _swigt__p_wxDataObject
,
29719 _swigt__p_wxFileDataObject
,
29720 _swigt__p_wxCustomDataObject
,
29721 _swigt__p_wxURLDataObject
,
29722 _swigt__p_wxMetafileDataObject
,
29724 _swigt__p_wxTimerRunner
,
29725 _swigt__p_wxLogWindow
,
29726 _swigt__p_wxTimeSpan
,
29727 _swigt__p_wxArrayString
,
29728 _swigt__p_wxWindowDisabler
,
29729 _swigt__p_wxToolTip
,
29730 _swigt__p_wxDataObjectComposite
,
29731 _swigt__p_wxFileConfig
,
29732 _swigt__p_wxSystemSettings
,
29733 _swigt__p_wxVideoMode
,
29734 _swigt__p_wxPyDataObjectSimple
,
29735 _swigt__p_wxDataObjectSimple
,
29736 _swigt__p_wxEvtHandler
,
29739 _swigt__p_wxSingleInstanceChecker
,
29740 _swigt__p_wxFileTypeInfo
,
29743 _swigt__p_wxMimeTypesManager
,
29744 _swigt__p_wxPyArtProvider
,
29745 _swigt__p_wxPyTipProvider
,
29746 _swigt__p_wxTipProvider
,
29747 _swigt__p_wxJoystick
,
29748 _swigt__p_wxSystemOptions
,
29750 _swigt__p_wxJoystickEvent
,
29751 _swigt__p_wxCursor
,
29752 _swigt__p_wxObject
,
29753 _swigt__p_wxOutputStream
,
29754 _swigt__p_wxDateTime
,
29755 _swigt__p_wxPyDropSource
,
29756 _swigt__p_wxWindow
,
29757 _swigt__p_wxString
,
29758 _swigt__p_wxPyProcess
,
29759 _swigt__p_wxBitmap
,
29760 _swigt__p_wxConfig
,
29762 _swigt__p_wxBusyInfo
,
29763 _swigt__p_wxPyDropTarget
,
29764 _swigt__p_wxPyTextDropTarget
,
29765 _swigt__p_wxPyFileDropTarget
,
29766 _swigt__p_wxProcessEvent
,
29768 _swigt__p_wxLogNull
,
29769 _swigt__p_wxColour
,
29770 _swigt__p_wxConfigPathChanger
,
29771 _swigt__p_wxPyTimer
,
29772 _swigt__p_wxDateSpan
,
29777 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29779 static swig_const_info swig_const_table
[] = {
29780 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29781 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29782 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29783 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29784 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29794 SWIGEXPORT(void) SWIG_init(void) {
29795 static PyObject
*SWIG_globals
= 0;
29796 static int typeinit
= 0;
29799 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29800 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29801 d
= PyModule_GetDict(m
);
29804 for (i
= 0; swig_types_initial
[i
]; i
++) {
29805 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29809 SWIG_InstallConstants(d
,swig_const_table
);
29811 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29812 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29813 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29814 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29815 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29816 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29817 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29818 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29819 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29820 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29821 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29822 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29823 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29824 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29825 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29826 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29827 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29828 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29829 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29830 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29831 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29832 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29833 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29834 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29835 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29836 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29837 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29838 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29839 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29840 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29841 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29842 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29843 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29844 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29845 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29846 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29847 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29848 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29849 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29850 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29851 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29852 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29853 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29854 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29855 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29856 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29857 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29858 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29859 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29860 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29861 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29862 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29863 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29864 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29865 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29866 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29867 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29868 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29869 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29870 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29871 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29872 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29873 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29874 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29875 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29876 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29877 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29878 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29879 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29880 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29881 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29882 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29883 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29884 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29885 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29886 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29887 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29888 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29889 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29890 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29891 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29892 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29893 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29894 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29895 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29896 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29897 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29898 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29899 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29900 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29901 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29902 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29903 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29904 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29905 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29906 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29907 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29908 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29909 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29910 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29912 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29914 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29915 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29916 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29917 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29918 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29919 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29920 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29921 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29922 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29923 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29924 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29925 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29926 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29927 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29928 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29929 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29930 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29931 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29932 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29933 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29934 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29935 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29936 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29937 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29938 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29939 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29940 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29941 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29942 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29943 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29944 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29945 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29946 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29947 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29948 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29949 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29950 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29951 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29952 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29953 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29954 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29955 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29956 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29957 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29958 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29959 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29960 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29961 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29962 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29963 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29965 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29967 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29968 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29969 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29970 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29971 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29972 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29973 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29974 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29975 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29976 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29977 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29978 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29979 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29980 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29981 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29982 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29983 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29984 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29985 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29986 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29987 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29988 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29989 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29990 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29991 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29992 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29993 SWIG_addvarlink(SWIG_globals
,(char*)"ART_BUTTON",_wrap_ART_BUTTON_get
, _wrap_ART_BUTTON_set
);
29994 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29995 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29996 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29997 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29998 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29999 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
30000 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
30001 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
30002 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
30003 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
30004 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
30005 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
30006 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
30007 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
30008 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
30009 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
30010 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
30011 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
30012 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
30013 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
30014 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
30015 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
30016 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
30017 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
30018 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
30019 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
30020 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
30021 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
30022 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
30023 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
30024 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
30025 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
30027 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
30029 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
30030 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
30031 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
30032 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
30033 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
30034 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
30035 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
30036 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
30037 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
30038 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
30039 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
30040 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
30041 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
30042 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
30043 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
30044 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
30045 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
30046 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
30047 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
30048 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
30049 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
30050 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
30051 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
30052 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
30053 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
30054 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
30055 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
30056 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
30057 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
30058 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
30059 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
30060 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
30061 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
30062 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
30063 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
30064 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
30065 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
30066 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
30067 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
30068 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
30069 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
30070 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
30071 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
30072 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
30073 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
30074 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
30075 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
30076 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
30077 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
30078 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
30079 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
30080 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
30081 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
30082 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
30083 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
30084 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
30085 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
30086 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
30087 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
30088 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
30089 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
30090 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
30091 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
30092 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
30093 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
30094 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
30095 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
30096 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
30097 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
30098 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
30099 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
30100 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
30101 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
30102 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
30103 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
30104 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
30105 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
30106 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
30107 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
30108 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
30109 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
30110 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
30111 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
30112 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
30113 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
30114 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
30115 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
30116 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
30117 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
30118 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
30119 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
30120 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
30121 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
30122 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
30123 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
30124 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
30125 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
30126 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
30127 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
30128 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
30129 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
30130 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
30131 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
30132 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
30133 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
30134 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
30135 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
30136 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
30137 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
30138 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
30139 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
30140 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
30141 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
30142 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
30143 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
30144 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
30145 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
30146 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
30147 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
30148 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
30149 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
30150 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
30151 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
30152 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
30153 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
30154 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
30155 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
30156 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
30157 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
30158 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
30159 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
30160 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
30161 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
30162 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
30163 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
30164 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
30165 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
30166 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
30167 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
30168 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
30169 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
30170 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
30171 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
30172 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
30173 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
30174 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
30175 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
30176 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
30177 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
30178 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
30179 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
30180 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
30181 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
30182 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
30183 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
30184 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
30185 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
30186 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
30187 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
30188 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
30189 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
30190 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
30191 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
30192 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
30193 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
30194 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
30195 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
30196 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
30197 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
30198 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
30199 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
30200 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
30201 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
30202 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
30203 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
30204 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
30205 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
30206 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
30207 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
30208 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
30209 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
30210 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
30211 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
30212 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
30213 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
30214 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
30215 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
30216 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
30217 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
30218 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
30219 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
30220 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
30221 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
30222 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
30223 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
30224 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
30225 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
30226 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
30227 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
30228 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
30230 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
30231 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
30232 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
30233 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
30235 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);