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_wxFileHistory swig_types[2]
212 #define SWIGTYPE_p_wxLog swig_types[3]
213 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[4]
214 #define SWIGTYPE_p_wxMenu swig_types[5]
215 #define SWIGTYPE_p_wxEvent swig_types[6]
216 #define SWIGTYPE_p_wxConfigBase swig_types[7]
217 #define SWIGTYPE_p_wxDisplay swig_types[8]
218 #define SWIGTYPE_p_wxFileType swig_types[9]
219 #define SWIGTYPE_p_wxLogGui swig_types[10]
220 #define SWIGTYPE_p_wxFont swig_types[11]
221 #define SWIGTYPE_p_wxDataFormat swig_types[12]
222 #define SWIGTYPE_p_wxTimerEvent swig_types[13]
223 #define SWIGTYPE_p_wxCaret swig_types[14]
224 #define SWIGTYPE_p_int swig_types[15]
225 #define SWIGTYPE_p_wxSize swig_types[16]
226 #define SWIGTYPE_p_wxClipboard swig_types[17]
227 #define SWIGTYPE_p_wxStopWatch swig_types[18]
228 #define SWIGTYPE_p_wxDC swig_types[19]
229 #define SWIGTYPE_p_wxClipboardLocker swig_types[20]
230 #define SWIGTYPE_p_wxIcon swig_types[21]
231 #define SWIGTYPE_p_wxLogStderr swig_types[22]
232 #define SWIGTYPE_p_wxLogTextCtrl swig_types[23]
233 #define SWIGTYPE_p_wxTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxBusyCursor swig_types[25]
235 #define SWIGTYPE_p_wxPyBitmapDataObject swig_types[26]
236 #define SWIGTYPE_p_wxPyTextDataObject swig_types[27]
237 #define SWIGTYPE_p_wxBitmapDataObject swig_types[28]
238 #define SWIGTYPE_p_wxTextDataObject swig_types[29]
239 #define SWIGTYPE_p_wxDataObject swig_types[30]
240 #define SWIGTYPE_p_wxFileDataObject swig_types[31]
241 #define SWIGTYPE_p_wxCustomDataObject swig_types[32]
242 #define SWIGTYPE_p_wxURLDataObject swig_types[33]
243 #define SWIGTYPE_p_wxMetafileDataObject swig_types[34]
244 #define SWIGTYPE_p_wxSound swig_types[35]
245 #define SWIGTYPE_p_wxTimerRunner swig_types[36]
246 #define SWIGTYPE_p_wxLogWindow swig_types[37]
247 #define SWIGTYPE_p_wxTimeSpan swig_types[38]
248 #define SWIGTYPE_p_wxArrayString swig_types[39]
249 #define SWIGTYPE_p_wxWindowDisabler swig_types[40]
250 #define SWIGTYPE_p_wxToolTip swig_types[41]
251 #define SWIGTYPE_p_wxDataObjectComposite swig_types[42]
252 #define SWIGTYPE_p_wxFileConfig swig_types[43]
253 #define SWIGTYPE_p_wxSystemSettings swig_types[44]
254 #define SWIGTYPE_p_wxVideoMode swig_types[45]
255 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[46]
256 #define SWIGTYPE_p_wxDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxEvtHandler swig_types[48]
258 #define SWIGTYPE_p_wxRect swig_types[49]
259 #define SWIGTYPE_p_char swig_types[50]
260 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[51]
261 #define SWIGTYPE_p_wxFileTypeInfo swig_types[52]
262 #define SWIGTYPE_p_wxFrame swig_types[53]
263 #define SWIGTYPE_p_wxTimer swig_types[54]
264 #define SWIGTYPE_p_wxMimeTypesManager swig_types[55]
265 #define SWIGTYPE_p_wxPyArtProvider swig_types[56]
266 #define SWIGTYPE_p_wxPyTipProvider swig_types[57]
267 #define SWIGTYPE_p_wxTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxJoystick swig_types[59]
269 #define SWIGTYPE_p_wxSystemOptions swig_types[60]
270 #define SWIGTYPE_p_wxPoint swig_types[61]
271 #define SWIGTYPE_p_wxJoystickEvent swig_types[62]
272 #define SWIGTYPE_p_wxCursor swig_types[63]
273 #define SWIGTYPE_p_wxObject swig_types[64]
274 #define SWIGTYPE_p_wxOutputStream swig_types[65]
275 #define SWIGTYPE_p_wxDateTime swig_types[66]
276 #define SWIGTYPE_p_wxPyDropSource swig_types[67]
277 #define SWIGTYPE_p_wxWindow swig_types[68]
278 #define SWIGTYPE_p_wxString swig_types[69]
279 #define SWIGTYPE_p_wxPyProcess swig_types[70]
280 #define SWIGTYPE_p_wxBitmap swig_types[71]
281 #define SWIGTYPE_p_wxConfig swig_types[72]
282 #define SWIGTYPE_p_wxChar swig_types[73]
283 #define SWIGTYPE_p_wxBusyInfo swig_types[74]
284 #define SWIGTYPE_p_wxPyDropTarget swig_types[75]
285 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxProcessEvent swig_types[78]
288 #define SWIGTYPE_p_wxPyLog swig_types[79]
289 #define SWIGTYPE_p_wxLogNull swig_types[80]
290 #define SWIGTYPE_p_wxColour swig_types[81]
291 #define SWIGTYPE_p_wxConfigPathChanger swig_types[82]
292 #define SWIGTYPE_p_wxPyTimer swig_types[83]
293 #define SWIGTYPE_p_wxDateSpan swig_types[84]
294 static swig_type_info
*swig_types
[86];
296 /* -------- TYPES TABLE (END) -------- */
299 /*-----------------------------------------------
300 @(target):= _misc_.so
301 ------------------------------------------------*/
302 #define SWIG_init init_misc_
304 #define SWIG_name "_misc_"
306 /* Auxiliar swig macros */
309 #define SWIGSTATICINLINE(a) static inline a
310 #define SWIGSTATIC(a) static a
311 #define swig_new_array(type, size) (new type[(size)])
312 #define swig_delete_array(cptr) delete[] cptr
313 #define swig_const_cast(type,a) const_cast<type>(a)
314 #define swig_static_cast(type,a) static_cast<type>(a)
315 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
317 #ifdef HAVE_NUMERIC_CAST
318 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
320 #define swig_numeric_cast(type,a) static_cast<type>(a)
325 #define SWIGSTATICINLINE(a) static a
326 #define SWIGSTATIC(a) static a
327 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
328 #define swig_delete_array(cptr) free((char*)cptr)
329 #define swig_const_cast(type,a) (type)(a)
330 #define swig_static_cast(type,a) (type)(a)
331 #define swig_reinterpret_cast(type,a) (type)(a)
332 #define swig_numeric_cast(type,a) (type)(a)
334 #endif /* __cplusplus */
337 #define SWIG_FromSignedChar PyInt_FromLong
338 #define SWIG_FromUnsignedChar PyInt_FromLong
339 #define SWIG_FromShort PyInt_FromLong
340 #define SWIG_FromUnsignedShort PyInt_FromLong
341 #define SWIG_FromInt PyInt_FromLong
342 #define SWIG_FromLong PyInt_FromLong
343 #define SWIG_FromFloat PyFloat_FromDouble
344 #define SWIG_FromDouble PyFloat_FromDouble
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
349 #include "wx/wxPython/wxPython.h"
350 #include "wx/wxPython/pyclasses.h"
351 #include "wx/wxPython/pyistream.h"
354 static const wxString
wxPyEmptyString(wxEmptyString
);
361 SWIGSTATICINLINE(long)
362 SWIG_CheckLongInRange(long value
, const char* type
,
363 long min_value
, long max_value
)
365 if (!PyErr_Occurred()) {
366 if (value
< min_value
) {
368 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
369 value
, type
, min_value
);
371 PyErr_SetObject(PyExc_OverflowError
, err
);
373 } else if (value
> max_value
) {
375 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
376 value
, type
, max_value
);
377 PyErr_SetObject(PyExc_OverflowError
, err
);
385 SWIGSTATICINLINE(long)
386 SWIG_AsLong(PyObject
* obj
)
388 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 long wxGetFreeMemory()
490 { wxPyRaiseNotImplemented(); return 0; }
493 SWIGSTATICINLINE(unsigned long)
494 SWIG_AsUnsignedLong(PyObject
* obj
)
496 if (PyLong_Check(obj
)) {
497 return PyLong_AsUnsignedLong(obj
);
499 long i
= SWIG_AsLong(obj
);
500 if ( !PyErr_Occurred() && (i
< 0)) {
501 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
508 SWIGSTATICINLINE(int)
509 SWIG_CheckUnsignedLong(PyObject
* obj
)
511 SWIG_AsUnsignedLong(obj
);
512 if (PyErr_Occurred()) {
521 SWIGSTATICINLINE(PyObject
* )
522 SWIG_FromUnsignedLong(unsigned long value
)
524 return (value
> LONG_MAX
) ?
525 PyLong_FromUnsignedLong(value
)
526 : PyInt_FromLong(swig_numeric_cast(long,value
));
530 bool wxGetKeyState(wxKeyCode key
)
531 { wxPyRaiseNotImplemented(); return False
; }
534 void wxWakeUpMainThread() {}
537 bool wxThread_IsMain() {
538 #ifdef WXP_WITH_THREAD
539 return wxThread::IsMain();
546 int wxCaret_GetBlinkTime() {
547 return wxCaret::GetBlinkTime();
550 void wxCaret_SetBlinkTime(int milliseconds
) {
551 wxCaret::SetBlinkTime(milliseconds
);
555 #include <wx/snglinst.h>
559 #include <wx/msw/private.h>
560 #include <wx/dynload.h>
565 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
572 // This one only partially works. Appears to be an undocumented
573 // "standard" convention that not all widgets adhear to. For
574 // example, for some widgets backgrounds or non-client areas may
576 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
580 // This one works much better, except for on XP. On Win2k nearly
581 // all widgets and their children are captured correctly[**]. On
582 // XP with Themes activated most native widgets draw only
583 // partially, if at all. Without themes it works just like on
586 // ** For example the radio buttons in a wxRadioBox are not its
587 // children by default, but you can capture it via the panel
588 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
589 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
590 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
591 PRF_ERASEBKGND
| PRF_OWNED
);
595 // This one is only defined in the latest SDK and is only
596 // available on XP. MSDN says it is similar to sending WM_PRINT
597 // so I expect that it will work similar to the above. Since it
598 // is avaialble only on XP, it can't be compiled like this and
599 // will have to be loaded dynamically.
600 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
605 // Use PrintWindow if available, or fallback to WM_PRINT
606 // otherwise. Unfortunately using PrintWindow is even worse than
607 // WM_PRINT. For most native widgets nothing is drawn to the dc
608 // at all, with or without Themes.
609 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
610 static bool s_triedToLoad
= False
;
611 static PrintWindow_t pfnPrintWindow
= NULL
;
612 if ( !s_triedToLoad
)
615 s_triedToLoad
= True
;
616 wxDynamicLibrary
dllUser32(_T("user32.dll"));
617 if ( dllUser32
.IsLoaded() )
619 wxLogNull nolog
; // Don't report errors here
620 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
625 printf("Using PrintWindow\n");
626 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
630 printf("Using WM_PRINT\n");
631 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
632 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
640 #include <wx/tipdlg.h>
643 class wxPyTipProvider
: public wxTipProvider
{
645 wxPyTipProvider(size_t currentTip
)
646 : wxTipProvider(currentTip
) {}
648 DEC_PYCALLBACK_STRING__pure(GetTip
);
649 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
653 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
654 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
657 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
659 IMPLEMENT_ABSTRACT_CLASS(wxPyTimer
, wxTimer
);
661 void wxPyTimer::Notify() {
663 bool blocked
= wxPyBeginBlockThreads();
664 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
665 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
666 wxPyEndBlockThreads(blocked
);
670 void wxPyTimer::base_Notify() {
676 SWIGSTATICINLINE(PyObject
*)
677 SWIG_FromCharPtr(const char* cptr
)
679 size_t size
= cptr
? strlen(cptr
) : 0;
681 if (size
> INT_MAX
) {
682 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
683 SWIG_TypeQuery("char *"), 0);
685 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
694 SWIGSTATICINLINE(unsigned long)
695 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
696 unsigned long max_value
)
698 if (!PyErr_Occurred()) {
699 if (value
> max_value
) {
701 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
702 value
, type
, max_value
);
703 PyErr_SetObject(PyExc_OverflowError
, err
);
711 #if UINT_MAX != ULONG_MAX
712 SWIGSTATICINLINE(unsigned int)
713 SWIG_AsUnsignedInt(PyObject
*obj
)
715 return swig_numeric_cast(unsigned int,
716 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
717 "unsigned int", UINT_MAX
));
720 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
724 SWIGSTATICINLINE(int)
725 SWIG_CheckUnsignedInt(PyObject
* obj
)
727 SWIG_AsUnsignedInt(obj
);
728 if (PyErr_Occurred()) {
736 wxString
Log_TimeStamp(){
738 wxLog::TimeStamp(&msg
);
741 void wxLog_Destroy(wxLog
*self
){ delete self
; }
743 // A wxLog class that can be derived from in wxPython
744 class wxPyLog
: public wxLog
{
746 wxPyLog() : wxLog() {}
748 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
750 bool blocked
= wxPyBeginBlockThreads();
751 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
752 PyObject
* s
= wx2PyString(szString
);
753 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
756 wxPyEndBlockThreads(blocked
);
758 wxLog::DoLog(level
, szString
, t
);
761 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
763 bool blocked
= wxPyBeginBlockThreads();
764 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
765 PyObject
* s
= wx2PyString(szString
);
766 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
769 wxPyEndBlockThreads(blocked
);
771 wxLog::DoLogString(szString
, t
);
780 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
783 #include <wx/joystick.h>
786 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
787 // A C++ stub class for wxJoystick for platforms that don't have it.
788 class wxJoystick
: public wxObject
{
790 wxJoystick(int joystick
= wxJOYSTICK1
) {
791 bool blocked
= wxPyBeginBlockThreads();
792 PyErr_SetString(PyExc_NotImplementedError
,
793 "wxJoystick is not available on this platform.");
794 wxPyEndBlockThreads(blocked
);
796 wxPoint
GetPosition() { return wxPoint(-1,-1); }
797 int GetZPosition() { return -1; }
798 int GetButtonState() { return -1; }
799 int GetPOVPosition() { return -1; }
800 int GetPOVCTSPosition() { return -1; }
801 int GetRudderPosition() { return -1; }
802 int GetUPosition() { return -1; }
803 int GetVPosition() { return -1; }
804 int GetMovementThreshold() { return -1; }
805 void SetMovementThreshold(int threshold
) {}
807 bool IsOk(void) { return False
; }
808 int GetNumberJoysticks() { return -1; }
809 int GetManufacturerId() { return -1; }
810 int GetProductId() { return -1; }
811 wxString
GetProductName() { return wxEmptyString
; }
812 int GetXMin() { return -1; }
813 int GetYMin() { return -1; }
814 int GetZMin() { return -1; }
815 int GetXMax() { return -1; }
816 int GetYMax() { return -1; }
817 int GetZMax() { return -1; }
818 int GetNumberButtons() { return -1; }
819 int GetNumberAxes() { return -1; }
820 int GetMaxButtons() { return -1; }
821 int GetMaxAxes() { return -1; }
822 int GetPollingMin() { return -1; }
823 int GetPollingMax() { return -1; }
824 int GetRudderMin() { return -1; }
825 int GetRudderMax() { return -1; }
826 int GetUMin() { return -1; }
827 int GetUMax() { return -1; }
828 int GetVMin() { return -1; }
829 int GetVMax() { return -1; }
831 bool HasRudder() { return False
; }
832 bool HasZ() { return False
; }
833 bool HasU() { return False
; }
834 bool HasV() { return False
; }
835 bool HasPOV() { return False
; }
836 bool HasPOV4Dir() { return False
; }
837 bool HasPOVCTS() { return False
; }
839 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
840 bool ReleaseCapture() { return False
; }
845 #include <wx/sound.h>
849 // A C++ stub class for wxWave for platforms that don't have it.
850 class wxSound
: public wxObject
854 bool blocked
= wxPyBeginBlockThreads();
855 PyErr_SetString(PyExc_NotImplementedError
,
856 "wxSound is not available on this platform.");
857 wxPyEndBlockThreads(blocked
);
859 wxSound(const wxString
&/*, bool*/) {
860 bool blocked
= wxPyBeginBlockThreads();
861 PyErr_SetString(PyExc_NotImplementedError
,
862 "wxSound is not available on this platform.");
863 wxPyEndBlockThreads(blocked
);
865 wxSound(int, const wxByte
*) {
866 bool blocked
= wxPyBeginBlockThreads();
867 PyErr_SetString(PyExc_NotImplementedError
,
868 "wxSound is not available on this platform.");
869 wxPyEndBlockThreads(blocked
);
874 bool Create(const wxString
&/*, bool*/) { return false; }
875 bool Create(int, const wxByte
*) { return false; };
876 bool IsOk() { return false; };
877 bool Play(unsigned) const { return false; }
878 static bool Play(const wxString
&, unsigned) { return false; }
879 static void Stop() {}
884 wxSound
*new_wxSound(wxString
const &fileName
){
885 if (fileName
.Length() == 0)
888 return new wxSound(fileName
);
890 wxSound
*new_wxSound(PyObject
*data
){
891 unsigned char* buffer
; int size
;
892 wxSound
*sound
= NULL
;
894 bool blocked
= wxPyBeginBlockThreads();
895 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
897 sound
= new wxSound(size
, buffer
);
899 wxPyEndBlockThreads(blocked
);
902 bool wxSound_CreateFromData(wxSound
*self
,PyObject
*data
){
904 unsigned char* buffer
;
908 bool blocked
= wxPyBeginBlockThreads();
909 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
911 rv
= self
->Create(size
, buffer
);
913 wxPyEndBlockThreads(blocked
);
916 bool blocked
= wxPyBeginBlockThreads();
917 PyErr_SetString(PyExc_NotImplementedError
,
918 "Create from data is not available on this platform.");
919 wxPyEndBlockThreads(blocked
);
924 #include <wx/mimetype.h>
926 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
928 if (self
->GetMimeType(&str
))
929 return wx2PyString(str
);
933 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
935 if (self
->GetMimeTypes(arr
))
936 return wxArrayString2PyList_helper(arr
);
940 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
942 if (self
->GetExtensions(arr
))
943 return wxArrayString2PyList_helper(arr
);
947 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
949 if (self
->GetIcon(&loc
))
950 return new wxIcon(loc
);
954 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
956 if (self
->GetIcon(&loc
)) {
957 wxString iconFile
= loc
.GetFileName();
962 // Make a tuple and put the values in it
963 bool blocked
= wxPyBeginBlockThreads();
964 PyObject
* tuple
= PyTuple_New(3);
965 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
966 wxT("wxIcon"), True
));
967 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
968 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
969 wxPyEndBlockThreads(blocked
);
975 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
977 if (self
->GetDescription(&str
))
978 return wx2PyString(str
);
982 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
984 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
985 return wx2PyString(str
);
989 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
991 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
992 return wx2PyString(str
);
996 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
998 wxArrayString commands
;
999 if (self
->GetAllCommands(&verbs
, &commands
,
1000 wxFileType::MessageParameters(filename
, mimetype
))) {
1001 bool blocked
= wxPyBeginBlockThreads();
1002 PyObject
* tuple
= PyTuple_New(2);
1003 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
1004 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
1005 wxPyEndBlockThreads(blocked
);
1011 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
1012 return wxFileType::ExpandCommand(command
,
1013 wxFileType::MessageParameters(filename
, mimetype
));
1015 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
1017 self
->EnumAllFileTypes(arr
);
1018 return wxArrayString2PyList_helper(arr
);
1021 #include <wx/artprov.h>
1023 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
1024 static const wxString
wxPyART_MENU(wxART_MENU
);
1025 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
1026 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
1027 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
1028 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
1029 static const wxString
wxPyART_OTHER(wxART_OTHER
);
1030 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
1031 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
1032 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
1033 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
1034 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
1035 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
1036 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
1037 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
1038 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
1039 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
1040 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
1041 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
1042 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
1043 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
1044 static const wxString
wxPyART_PRINT(wxART_PRINT
);
1045 static const wxString
wxPyART_HELP(wxART_HELP
);
1046 static const wxString
wxPyART_TIP(wxART_TIP
);
1047 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
1048 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
1049 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1050 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1051 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1052 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1053 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1054 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1055 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1056 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1057 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1058 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1059 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1060 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1061 // Python aware wxArtProvider
1062 class wxPyArtProvider
: public wxArtProvider
{
1065 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1066 const wxArtClient
& client
,
1067 const wxSize
& size
) {
1068 wxBitmap rval
= wxNullBitmap
;
1069 bool blocked
= wxPyBeginBlockThreads();
1070 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1071 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1075 s1
= wx2PyString(id
);
1076 s2
= wx2PyString(client
);
1077 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1082 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1087 wxPyEndBlockThreads(blocked
);
1094 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1098 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1099 PyObject
* ret
= PyTuple_New(3);
1101 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1102 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1103 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1108 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1113 cont
= self
->GetFirstGroup(value
, index
);
1114 return __EnumerationHelper(cont
, value
, index
);
1116 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1120 cont
= self
->GetNextGroup(value
, index
);
1121 return __EnumerationHelper(cont
, value
, index
);
1123 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1128 cont
= self
->GetFirstEntry(value
, index
);
1129 return __EnumerationHelper(cont
, value
, index
);
1131 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1135 cont
= self
->GetNextEntry(value
, index
);
1136 return __EnumerationHelper(cont
, value
, index
);
1138 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1140 self
->Read(key
, &rv
, defaultVal
);
1144 SWIGSTATICINLINE(double)
1145 SWIG_AsDouble(PyObject
*obj
)
1147 if (PyNumber_Check(obj
))
1148 return PyFloat_AsDouble(obj
);
1150 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1151 obj
->ob_type
->tp_name
);
1152 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1159 SWIGSTATICINLINE(int)
1160 SWIG_CheckDouble(PyObject
* obj
)
1163 if (PyErr_Occurred()) {
1171 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1173 self
->Read(key
, &rv
, defaultVal
);
1176 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1178 self
->Read(key
, &rv
, defaultVal
);
1182 #include <wx/datetime.h>
1185 static const wxString
wxPyDateFormatStr(wxT("%c"));
1186 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1188 #define LOCAL_TZ wxDateTime::Local
1191 #if UINT_MAX < LONG_MAX
1192 #define SWIG_FromUnsignedInt SWIG_FromLong
1194 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1197 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1198 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1199 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1200 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1201 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1202 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){
1203 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
< other
;
1204 return (*self
< *other
);
1206 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){
1207 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
<= other
;
1208 return (*self
<= *other
);
1210 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){
1211 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
> other
;
1212 return (*self
> *other
);
1214 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){
1215 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
>= other
;
1216 return (*self
>= *other
);
1218 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){
1219 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
== other
;
1220 return (*self
== *other
);
1222 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){
1223 if (!other
|| !self
->IsValid() || !other
->IsValid()) return self
!= other
;
1224 return (*self
!= *other
);
1226 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1228 const wxChar
* _date
= date
;
1229 rv
= self
->ParseRfc822Date(_date
);
1230 if (rv
== NULL
) return -1;
1233 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1235 const wxChar
* _date
= date
;
1236 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1237 if (rv
== NULL
) return -1;
1240 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1242 const wxChar
* _datetime
= datetime
;
1243 rv
= self
->ParseDateTime(_datetime
);
1244 if (rv
== NULL
) return -1;
1245 return rv
- _datetime
;
1247 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1249 const wxChar
* _date
= date
;
1250 rv
= self
->ParseDate(_date
);
1251 if (rv
== NULL
) return -1;
1254 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1256 const wxChar
* _time
= time
;
1257 rv
= self
->ParseTime(_time
);
1258 if (rv
== NULL
) return -1;
1261 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1262 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1263 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1264 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1265 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1266 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1267 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1268 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1269 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1270 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1271 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1272 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1273 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1274 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1275 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1276 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1278 #include <wx/dataobj.h>
1280 // Create a new class for wxPython to use
1281 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1283 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1284 : wxDataObjectSimple(format
) {}
1286 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1287 bool GetDataHere(void *buf
) const;
1288 bool SetData(size_t len
, const void *buf
) const;
1292 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1294 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1295 // We need to get the data for this object and write it to buf. I think
1296 // the best way to do this for wxPython is to have the Python method
1297 // return either a string or None and then act appropriately with the
1301 bool blocked
= wxPyBeginBlockThreads();
1302 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1304 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1306 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1308 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1312 wxPyEndBlockThreads(blocked
);
1316 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1317 // For this one we simply need to make a string from buf and len
1318 // and send it to the Python method.
1320 bool blocked
= wxPyBeginBlockThreads();
1321 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1322 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1323 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1326 wxPyEndBlockThreads(blocked
);
1330 // Create a new class for wxPython to use
1331 class wxPyTextDataObject
: public wxTextDataObject
{
1333 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1334 : wxTextDataObject(text
) {}
1336 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1337 DEC_PYCALLBACK_STRING__const(GetText
);
1338 DEC_PYCALLBACK__STRING(SetText
);
1342 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1343 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1344 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1347 // Create a new class for wxPython to use
1348 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1350 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1351 : wxBitmapDataObject(bitmap
) {}
1353 wxBitmap
GetBitmap() const;
1354 void SetBitmap(const wxBitmap
& bitmap
);
1358 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1359 wxBitmap
* rval
= &wxNullBitmap
;
1360 bool blocked
= wxPyBeginBlockThreads();
1361 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1364 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1366 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1371 wxPyEndBlockThreads(blocked
);
1375 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1376 bool blocked
= wxPyBeginBlockThreads();
1377 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1378 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1379 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1382 wxPyEndBlockThreads(blocked
);
1385 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1386 if (PyString_Check(data
)) {
1387 // for Python we just call SetData here since we always need it to make a copy.
1388 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1391 // raise a TypeError if not a string
1392 PyErr_SetString(PyExc_TypeError
, "String expected.");
1395 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1396 if (PyString_Check(data
)) {
1397 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1400 // raise a TypeError if not a string
1401 PyErr_SetString(PyExc_TypeError
, "String expected.");
1405 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1406 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1409 class wxMetafileDataObject
: public wxDataObjectSimple
1412 wxMetafileDataObject() { wxPyRaiseNotImplemented(); }
1416 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1419 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1420 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1421 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1422 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1423 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1426 class wxPyTextDropTarget
: public wxTextDropTarget
{
1428 wxPyTextDropTarget() {}
1430 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1432 DEC_PYCALLBACK__(OnLeave
);
1433 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1434 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1435 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1436 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1441 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1442 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1443 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1444 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1445 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1446 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1450 class wxPyFileDropTarget
: public wxFileDropTarget
{
1452 wxPyFileDropTarget() {}
1454 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1456 DEC_PYCALLBACK__(OnLeave
);
1457 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1458 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1459 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1460 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1465 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1466 const wxArrayString
& filenames
) {
1468 bool blocked
= wxPyBeginBlockThreads();
1469 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1470 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1471 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1474 wxPyEndBlockThreads(blocked
);
1480 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1481 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1482 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1483 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1484 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1489 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1491 #include "wx/display.h"
1493 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1494 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1495 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1496 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1497 PyObject
* pyList
= NULL
;
1498 wxArrayVideoModes arr
= self
->GetModes(mode
);
1499 bool blocked
= wxPyBeginBlockThreads();
1500 pyList
= PyList_New(0);
1501 for (int i
=0; i
< arr
.GetCount(); i
++) {
1502 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1503 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1504 PyList_Append(pyList
, pyObj
);
1506 wxPyEndBlockThreads(blocked
);
1512 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
*resultobj
;
1516 PyObject
* obj0
= 0 ;
1518 (char *) "index", NULL
1521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1522 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1523 if (PyErr_Occurred()) SWIG_fail
;
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1532 wxColour
* resultptr
;
1533 resultptr
= new wxColour((wxColour
&) result
);
1534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1542 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1543 PyObject
*resultobj
;
1546 PyObject
* obj0
= 0 ;
1548 (char *) "index", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1552 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1553 if (PyErr_Occurred()) SWIG_fail
;
1555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1556 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1558 wxPyEndAllowThreads(__tstate
);
1559 if (PyErr_Occurred()) SWIG_fail
;
1563 resultptr
= new wxFont((wxFont
&) result
);
1564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1572 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1573 PyObject
*resultobj
;
1576 PyObject
* obj0
= 0 ;
1578 (char *) "index", NULL
1581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1582 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1583 if (PyErr_Occurred()) SWIG_fail
;
1585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1586 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1588 wxPyEndAllowThreads(__tstate
);
1589 if (PyErr_Occurred()) SWIG_fail
;
1591 resultobj
= SWIG_FromInt((int)result
);
1598 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1599 PyObject
*resultobj
;
1602 PyObject
* obj0
= 0 ;
1604 (char *) "index", NULL
1607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1608 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1609 if (PyErr_Occurred()) SWIG_fail
;
1611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1612 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1614 wxPyEndAllowThreads(__tstate
);
1615 if (PyErr_Occurred()) SWIG_fail
;
1618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1626 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1627 PyObject
*resultobj
;
1633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= (int)wxSystemSettings::GetScreenType();
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1641 resultobj
= SWIG_FromInt((int)result
);
1648 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1651 PyObject
* obj0
= 0 ;
1653 (char *) "screen", NULL
1656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1657 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1666 Py_INCREF(Py_None
); resultobj
= Py_None
;
1673 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1676 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1678 return Py_BuildValue((char *)"");
1680 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1681 PyObject
*resultobj
;
1682 wxSystemOptions
*result
;
1687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1690 result
= (wxSystemOptions
*)new wxSystemOptions();
1692 wxPyEndAllowThreads(__tstate
);
1693 if (PyErr_Occurred()) SWIG_fail
;
1695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1702 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1703 PyObject
*resultobj
;
1704 wxString
*arg1
= 0 ;
1705 wxString
*arg2
= 0 ;
1706 bool temp1
= False
;
1707 bool temp2
= False
;
1708 PyObject
* obj0
= 0 ;
1709 PyObject
* obj1
= 0 ;
1711 (char *) "name",(char *) "value", NULL
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1716 arg1
= wxString_in_helper(obj0
);
1717 if (arg1
== NULL
) SWIG_fail
;
1721 arg2
= wxString_in_helper(obj1
);
1722 if (arg2
== NULL
) SWIG_fail
;
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) SWIG_fail
;
1732 Py_INCREF(Py_None
); resultobj
= Py_None
;
1755 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
*resultobj
;
1757 wxString
*arg1
= 0 ;
1759 bool temp1
= False
;
1760 PyObject
* obj0
= 0 ;
1761 PyObject
* obj1
= 0 ;
1763 (char *) "name",(char *) "value", NULL
1766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1768 arg1
= wxString_in_helper(obj0
);
1769 if (arg1
== NULL
) SWIG_fail
;
1772 arg2
= (int) SWIG_AsInt(obj1
);
1773 if (PyErr_Occurred()) SWIG_fail
;
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1781 Py_INCREF(Py_None
); resultobj
= Py_None
;
1796 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
*resultobj
;
1798 wxString
*arg1
= 0 ;
1800 bool temp1
= False
;
1801 PyObject
* obj0
= 0 ;
1803 (char *) "name", NULL
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1808 arg1
= wxString_in_helper(obj0
);
1809 if (arg1
== NULL
) SWIG_fail
;
1813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1814 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1816 wxPyEndAllowThreads(__tstate
);
1817 if (PyErr_Occurred()) SWIG_fail
;
1821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1840 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxString
*arg1
= 0 ;
1844 bool temp1
= False
;
1845 PyObject
* obj0
= 0 ;
1847 (char *) "name", NULL
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1852 arg1
= wxString_in_helper(obj0
);
1853 if (arg1
== NULL
) SWIG_fail
;
1857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1858 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1860 wxPyEndAllowThreads(__tstate
);
1861 if (PyErr_Occurred()) SWIG_fail
;
1863 resultobj
= SWIG_FromInt((int)result
);
1878 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1879 PyObject
*resultobj
;
1880 wxString
*arg1
= 0 ;
1882 bool temp1
= False
;
1883 PyObject
* obj0
= 0 ;
1885 (char *) "name", NULL
1888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1890 arg1
= wxString_in_helper(obj0
);
1891 if (arg1
== NULL
) SWIG_fail
;
1895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1896 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1898 wxPyEndAllowThreads(__tstate
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1918 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1921 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1923 return Py_BuildValue((char *)"");
1925 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1926 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1931 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1936 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1938 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1945 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1946 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1951 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1956 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1958 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1965 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1966 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1971 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1976 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1978 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1985 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1986 PyObject
*resultobj
;
1992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1995 result
= (long)wxNewId();
1997 wxPyEndAllowThreads(__tstate
);
1998 if (PyErr_Occurred()) SWIG_fail
;
2000 resultobj
= SWIG_FromLong((long)result
);
2007 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2008 PyObject
*resultobj
;
2010 PyObject
* obj0
= 0 ;
2015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
2016 arg1
= (long) SWIG_AsLong(obj0
);
2017 if (PyErr_Occurred()) SWIG_fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 Py_INCREF(Py_None
); resultobj
= Py_None
;
2032 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 result
= (long)wxGetCurrentId();
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 resultobj
= SWIG_FromLong((long)result
);
2054 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
*resultobj
;
2060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
2062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2065 wxPyEndAllowThreads(__tstate
);
2066 if (PyErr_Occurred()) SWIG_fail
;
2068 Py_INCREF(Py_None
); resultobj
= Py_None
;
2075 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2076 PyObject
*resultobj
;
2081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2089 Py_INCREF(Py_None
); resultobj
= Py_None
;
2096 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2098 bool arg1
= (bool) True
;
2100 PyObject
* obj0
= 0 ;
2102 (char *) "resetTimer", NULL
2105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2107 arg1
= (bool) SWIG_AsBool(obj0
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2112 result
= (long)wxGetElapsedTime(arg1
);
2114 wxPyEndAllowThreads(__tstate
);
2115 if (PyErr_Occurred()) SWIG_fail
;
2117 resultobj
= SWIG_FromLong((long)result
);
2124 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2125 PyObject
*resultobj
;
2126 int *arg1
= (int *) 0 ;
2127 int *arg2
= (int *) 0 ;
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 wxGetMousePosition(arg1
,arg2
);
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) SWIG_fail
;
2144 Py_INCREF(Py_None
); resultobj
= Py_None
;
2146 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2147 resultobj
= t_output_helper(resultobj
,o
);
2150 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2151 resultobj
= t_output_helper(resultobj
,o
);
2159 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
*resultobj
;
2166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 result
= (bool)wxIsBusy();
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2183 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2195 wxPyEndAllowThreads(__tstate
);
2196 if (PyErr_Occurred()) SWIG_fail
;
2200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2211 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2214 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2216 bool temp1
= False
;
2217 PyObject
* obj0
= 0 ;
2219 (char *) "command", NULL
2222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2225 arg1
= wxString_in_helper(obj0
);
2226 if (arg1
== NULL
) SWIG_fail
;
2231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2232 result
= (bool)wxShell((wxString
const &)*arg1
);
2234 wxPyEndAllowThreads(__tstate
);
2235 if (PyErr_Occurred()) SWIG_fail
;
2238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2254 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2265 wxPyEndAllowThreads(__tstate
);
2266 if (PyErr_Occurred()) SWIG_fail
;
2268 Py_INCREF(Py_None
); resultobj
= Py_None
;
2275 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2276 PyObject
*resultobj
;
2277 int *arg1
= (int *) 0 ;
2278 int *arg2
= (int *) 0 ;
2288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2291 result
= (int)wxGetOsVersion(arg1
,arg2
);
2293 wxPyEndAllowThreads(__tstate
);
2294 if (PyErr_Occurred()) SWIG_fail
;
2296 resultobj
= SWIG_FromInt((int)result
);
2298 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2299 resultobj
= t_output_helper(resultobj
,o
);
2302 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2303 resultobj
= t_output_helper(resultobj
,o
);
2311 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2312 PyObject
*resultobj
;
2318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2321 result
= wxGetOsDescription();
2323 wxPyEndAllowThreads(__tstate
);
2324 if (PyErr_Occurred()) SWIG_fail
;
2328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2339 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2340 PyObject
*resultobj
;
2346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 result
= (long)wxGetFreeMemory();
2351 wxPyEndAllowThreads(__tstate
);
2352 if (PyErr_Occurred()) SWIG_fail
;
2354 resultobj
= SWIG_FromLong((long)result
);
2361 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2362 PyObject
*resultobj
;
2365 PyObject
* obj0
= 0 ;
2367 (char *) "wFlags", NULL
2370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2371 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2375 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2377 wxPyEndAllowThreads(__tstate
);
2378 if (PyErr_Occurred()) SWIG_fail
;
2381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2389 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2392 PyObject
* obj0
= 0 ;
2394 (char *) "secs", NULL
2397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2398 arg1
= (int) SWIG_AsInt(obj0
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2407 Py_INCREF(Py_None
); resultobj
= Py_None
;
2414 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2416 unsigned long arg1
;
2417 PyObject
* obj0
= 0 ;
2419 (char *) "milliseconds", NULL
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2423 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2429 wxPyEndAllowThreads(__tstate
);
2430 if (PyErr_Occurred()) SWIG_fail
;
2432 Py_INCREF(Py_None
); resultobj
= Py_None
;
2439 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2440 PyObject
*resultobj
;
2442 PyObject
* obj0
= 0 ;
2444 (char *) "enable", NULL
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2448 arg1
= (bool) SWIG_AsBool(obj0
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2452 wxEnableTopLevelWindows(arg1
);
2454 wxPyEndAllowThreads(__tstate
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2457 Py_INCREF(Py_None
); resultobj
= Py_None
;
2464 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2465 PyObject
*resultobj
;
2466 wxString
*arg1
= 0 ;
2468 bool temp1
= False
;
2469 PyObject
* obj0
= 0 ;
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2476 arg1
= wxString_in_helper(obj0
);
2477 if (arg1
== NULL
) SWIG_fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2482 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2508 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
*resultobj
;
2515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2518 result
= wxGetEmailAddress();
2520 wxPyEndAllowThreads(__tstate
);
2521 if (PyErr_Occurred()) SWIG_fail
;
2525 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2527 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2536 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2537 PyObject
*resultobj
;
2543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 result
= wxGetHostName();
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2564 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2565 PyObject
*resultobj
;
2571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2574 result
= wxGetFullHostName();
2576 wxPyEndAllowThreads(__tstate
);
2577 if (PyErr_Occurred()) SWIG_fail
;
2581 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2583 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2592 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2602 result
= wxGetUserId();
2604 wxPyEndAllowThreads(__tstate
);
2605 if (PyErr_Occurred()) SWIG_fail
;
2609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2620 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2621 PyObject
*resultobj
;
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 result
= wxGetUserName();
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2648 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
*resultobj
;
2655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2658 result
= wxGetHomeDir();
2660 wxPyEndAllowThreads(__tstate
);
2661 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2667 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2676 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2677 PyObject
*resultobj
;
2678 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2679 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2681 bool temp1
= False
;
2682 PyObject
* obj0
= 0 ;
2684 (char *) "user", NULL
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2690 arg1
= wxString_in_helper(obj0
);
2691 if (arg1
== NULL
) SWIG_fail
;
2696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2697 result
= wxGetUserHome((wxString
const &)*arg1
);
2699 wxPyEndAllowThreads(__tstate
);
2700 if (PyErr_Occurred()) SWIG_fail
;
2704 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2706 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2723 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
*resultobj
;
2725 unsigned long result
;
2730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2733 result
= (unsigned long)wxGetProcessId();
2735 wxPyEndAllowThreads(__tstate
);
2736 if (PyErr_Occurred()) SWIG_fail
;
2738 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2745 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2756 wxPyEndAllowThreads(__tstate
);
2757 if (PyErr_Occurred()) SWIG_fail
;
2759 Py_INCREF(Py_None
); resultobj
= Py_None
;
2766 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2767 PyObject
*resultobj
;
2768 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2769 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2770 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2771 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2772 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2773 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2774 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2775 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2776 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2777 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2778 int arg6
= (int) 0 ;
2779 wxWindow
*arg7
= (wxWindow
*) NULL
;
2780 int arg8
= (int) -1 ;
2781 int arg9
= (int) -1 ;
2783 bool temp1
= False
;
2784 bool temp2
= False
;
2785 bool temp3
= False
;
2786 bool temp4
= False
;
2787 bool temp5
= False
;
2788 PyObject
* obj0
= 0 ;
2789 PyObject
* obj1
= 0 ;
2790 PyObject
* obj2
= 0 ;
2791 PyObject
* obj3
= 0 ;
2792 PyObject
* obj4
= 0 ;
2793 PyObject
* obj5
= 0 ;
2794 PyObject
* obj6
= 0 ;
2795 PyObject
* obj7
= 0 ;
2796 PyObject
* obj8
= 0 ;
2798 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2804 arg1
= wxString_in_helper(obj0
);
2805 if (arg1
== NULL
) SWIG_fail
;
2811 arg2
= wxString_in_helper(obj1
);
2812 if (arg2
== NULL
) SWIG_fail
;
2818 arg3
= wxString_in_helper(obj2
);
2819 if (arg3
== NULL
) SWIG_fail
;
2825 arg4
= wxString_in_helper(obj3
);
2826 if (arg4
== NULL
) SWIG_fail
;
2832 arg5
= wxString_in_helper(obj4
);
2833 if (arg5
== NULL
) SWIG_fail
;
2838 arg6
= (int) SWIG_AsInt(obj5
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2842 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2846 arg8
= (int) SWIG_AsInt(obj7
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2850 arg9
= (int) SWIG_AsInt(obj8
);
2851 if (PyErr_Occurred()) SWIG_fail
;
2854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2855 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2857 wxPyEndAllowThreads(__tstate
);
2858 if (PyErr_Occurred()) SWIG_fail
;
2862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2913 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2914 PyObject
*resultobj
;
2915 wxString
*arg1
= 0 ;
2916 wxString
*arg2
= 0 ;
2917 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2918 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2919 wxWindow
*arg4
= (wxWindow
*) NULL
;
2921 bool temp1
= False
;
2922 bool temp2
= False
;
2923 bool temp3
= False
;
2924 PyObject
* obj0
= 0 ;
2925 PyObject
* obj1
= 0 ;
2926 PyObject
* obj2
= 0 ;
2927 PyObject
* obj3
= 0 ;
2929 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2934 arg1
= wxString_in_helper(obj0
);
2935 if (arg1
== NULL
) SWIG_fail
;
2939 arg2
= wxString_in_helper(obj1
);
2940 if (arg2
== NULL
) SWIG_fail
;
2945 arg3
= wxString_in_helper(obj2
);
2946 if (arg3
== NULL
) SWIG_fail
;
2951 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2963 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2965 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2998 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2999 PyObject
*resultobj
;
3000 wxString
*arg1
= 0 ;
3001 wxString
*arg2
= 0 ;
3002 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3003 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3004 wxWindow
*arg4
= (wxWindow
*) NULL
;
3006 bool temp1
= False
;
3007 bool temp2
= False
;
3008 bool temp3
= False
;
3009 PyObject
* obj0
= 0 ;
3010 PyObject
* obj1
= 0 ;
3011 PyObject
* obj2
= 0 ;
3012 PyObject
* obj3
= 0 ;
3014 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3019 arg1
= wxString_in_helper(obj0
);
3020 if (arg1
== NULL
) SWIG_fail
;
3024 arg2
= wxString_in_helper(obj1
);
3025 if (arg2
== NULL
) SWIG_fail
;
3030 arg3
= wxString_in_helper(obj2
);
3031 if (arg3
== NULL
) SWIG_fail
;
3036 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3083 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3084 PyObject
*resultobj
;
3085 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3086 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3087 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3088 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3089 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3090 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3091 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3092 wxWindow
*arg5
= (wxWindow
*) NULL
;
3094 bool temp1
= False
;
3095 bool temp2
= False
;
3097 PyObject
* obj0
= 0 ;
3098 PyObject
* obj1
= 0 ;
3099 PyObject
* obj2
= 0 ;
3100 PyObject
* obj3
= 0 ;
3101 PyObject
* obj4
= 0 ;
3103 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3109 arg1
= wxString_in_helper(obj0
);
3110 if (arg1
== NULL
) SWIG_fail
;
3116 arg2
= wxString_in_helper(obj1
);
3117 if (arg2
== NULL
) SWIG_fail
;
3122 arg3
= (long) SWIG_AsLong(obj2
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3132 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3144 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3146 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3171 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3172 PyObject
*resultobj
;
3173 wxString
*arg1
= 0 ;
3174 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3175 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3176 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3177 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3178 wxWindow
*arg4
= (wxWindow
*) NULL
;
3179 int arg5
= (int) -1 ;
3180 int arg6
= (int) -1 ;
3181 bool arg7
= (bool) True
;
3183 bool temp1
= False
;
3184 bool temp2
= False
;
3185 bool temp3
= False
;
3186 PyObject
* obj0
= 0 ;
3187 PyObject
* obj1
= 0 ;
3188 PyObject
* obj2
= 0 ;
3189 PyObject
* obj3
= 0 ;
3190 PyObject
* obj4
= 0 ;
3191 PyObject
* obj5
= 0 ;
3192 PyObject
* obj6
= 0 ;
3194 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3199 arg1
= wxString_in_helper(obj0
);
3200 if (arg1
== NULL
) SWIG_fail
;
3205 arg2
= wxString_in_helper(obj1
);
3206 if (arg2
== NULL
) SWIG_fail
;
3212 arg3
= wxString_in_helper(obj2
);
3213 if (arg3
== NULL
) SWIG_fail
;
3218 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3222 arg5
= (int) SWIG_AsInt(obj4
);
3223 if (PyErr_Occurred()) SWIG_fail
;
3226 arg6
= (int) SWIG_AsInt(obj5
);
3227 if (PyErr_Occurred()) SWIG_fail
;
3230 arg7
= (bool) SWIG_AsBool(obj6
);
3231 if (PyErr_Occurred()) SWIG_fail
;
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3242 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3244 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3277 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxString
*arg1
= 0 ;
3280 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3281 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3282 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3283 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3284 wxWindow
*arg4
= (wxWindow
*) NULL
;
3286 bool temp1
= False
;
3287 bool temp2
= False
;
3288 bool temp3
= False
;
3289 PyObject
* obj0
= 0 ;
3290 PyObject
* obj1
= 0 ;
3291 PyObject
* obj2
= 0 ;
3292 PyObject
* obj3
= 0 ;
3294 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3299 arg1
= wxString_in_helper(obj0
);
3300 if (arg1
== NULL
) SWIG_fail
;
3305 arg2
= wxString_in_helper(obj1
);
3306 if (arg2
== NULL
) SWIG_fail
;
3312 arg3
= wxString_in_helper(obj2
);
3313 if (arg3
== NULL
) SWIG_fail
;
3318 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3325 wxPyEndAllowThreads(__tstate
);
3326 if (PyErr_Occurred()) SWIG_fail
;
3330 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3332 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3365 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxString
*arg1
= 0 ;
3368 wxString
*arg2
= 0 ;
3370 wxString
*arg4
= (wxString
*) 0 ;
3371 wxWindow
*arg5
= (wxWindow
*) NULL
;
3372 int arg6
= (int) -1 ;
3373 int arg7
= (int) -1 ;
3374 bool arg8
= (bool) True
;
3375 int arg9
= (int) 150 ;
3376 int arg10
= (int) 200 ;
3378 bool temp1
= False
;
3379 bool temp2
= False
;
3380 PyObject
* obj0
= 0 ;
3381 PyObject
* obj1
= 0 ;
3382 PyObject
* obj2
= 0 ;
3383 PyObject
* obj3
= 0 ;
3384 PyObject
* obj4
= 0 ;
3385 PyObject
* obj5
= 0 ;
3386 PyObject
* obj6
= 0 ;
3387 PyObject
* obj7
= 0 ;
3388 PyObject
* obj8
= 0 ;
3390 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3395 arg1
= wxString_in_helper(obj0
);
3396 if (arg1
== NULL
) SWIG_fail
;
3400 arg2
= wxString_in_helper(obj1
);
3401 if (arg2
== NULL
) SWIG_fail
;
3405 arg3
= PyList_Size(obj2
);
3406 arg4
= wxString_LIST_helper(obj2
);
3407 if (arg4
== NULL
) SWIG_fail
;
3410 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3414 arg6
= (int) SWIG_AsInt(obj4
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3418 arg7
= (int) SWIG_AsInt(obj5
);
3419 if (PyErr_Occurred()) SWIG_fail
;
3422 arg8
= (bool) SWIG_AsBool(obj6
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3426 arg9
= (int) SWIG_AsInt(obj7
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3430 arg10
= (int) SWIG_AsInt(obj8
);
3431 if (PyErr_Occurred()) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3456 if (arg4
) delete [] arg4
;
3469 if (arg4
) delete [] arg4
;
3475 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3477 wxString
*arg1
= 0 ;
3478 wxString
*arg2
= 0 ;
3480 wxString
*arg4
= (wxString
*) 0 ;
3481 wxWindow
*arg5
= (wxWindow
*) NULL
;
3482 int arg6
= (int) -1 ;
3483 int arg7
= (int) -1 ;
3484 bool arg8
= (bool) True
;
3485 int arg9
= (int) 150 ;
3486 int arg10
= (int) 200 ;
3488 bool temp1
= False
;
3489 bool temp2
= False
;
3490 PyObject
* obj0
= 0 ;
3491 PyObject
* obj1
= 0 ;
3492 PyObject
* obj2
= 0 ;
3493 PyObject
* obj3
= 0 ;
3494 PyObject
* obj4
= 0 ;
3495 PyObject
* obj5
= 0 ;
3496 PyObject
* obj6
= 0 ;
3497 PyObject
* obj7
= 0 ;
3498 PyObject
* obj8
= 0 ;
3500 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3505 arg1
= wxString_in_helper(obj0
);
3506 if (arg1
== NULL
) SWIG_fail
;
3510 arg2
= wxString_in_helper(obj1
);
3511 if (arg2
== NULL
) SWIG_fail
;
3515 arg3
= PyList_Size(obj2
);
3516 arg4
= wxString_LIST_helper(obj2
);
3517 if (arg4
== NULL
) SWIG_fail
;
3520 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3524 arg6
= (int) SWIG_AsInt(obj4
);
3525 if (PyErr_Occurred()) SWIG_fail
;
3528 arg7
= (int) SWIG_AsInt(obj5
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3532 arg8
= (bool) SWIG_AsBool(obj6
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3536 arg9
= (int) SWIG_AsInt(obj7
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3540 arg10
= (int) SWIG_AsInt(obj8
);
3541 if (PyErr_Occurred()) SWIG_fail
;
3544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3545 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3547 wxPyEndAllowThreads(__tstate
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3550 resultobj
= SWIG_FromInt((int)result
);
3560 if (arg4
) delete [] arg4
;
3573 if (arg4
) delete [] arg4
;
3579 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3580 PyObject
*resultobj
;
3581 wxString
*arg1
= 0 ;
3582 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3583 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3584 int arg3
= (int) wxOK
|wxCENTRE
;
3585 wxWindow
*arg4
= (wxWindow
*) NULL
;
3586 int arg5
= (int) -1 ;
3587 int arg6
= (int) -1 ;
3589 bool temp1
= False
;
3590 bool temp2
= False
;
3591 PyObject
* obj0
= 0 ;
3592 PyObject
* obj1
= 0 ;
3593 PyObject
* obj2
= 0 ;
3594 PyObject
* obj3
= 0 ;
3595 PyObject
* obj4
= 0 ;
3596 PyObject
* obj5
= 0 ;
3598 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3603 arg1
= wxString_in_helper(obj0
);
3604 if (arg1
== NULL
) SWIG_fail
;
3609 arg2
= wxString_in_helper(obj1
);
3610 if (arg2
== NULL
) SWIG_fail
;
3615 arg3
= (int) SWIG_AsInt(obj2
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3619 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3623 arg5
= (int) SWIG_AsInt(obj4
);
3624 if (PyErr_Occurred()) SWIG_fail
;
3627 arg6
= (int) SWIG_AsInt(obj5
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 resultobj
= SWIG_FromInt((int)result
);
3660 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3661 PyObject
*resultobj
;
3662 wxString
*arg1
= 0 ;
3663 wxString
*arg2
= 0 ;
3664 wxString
*arg3
= 0 ;
3666 long arg5
= (long) 0 ;
3667 long arg6
= (long) 100 ;
3668 wxWindow
*arg7
= (wxWindow
*) NULL
;
3669 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3670 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3672 bool temp1
= False
;
3673 bool temp2
= False
;
3674 bool temp3
= False
;
3676 PyObject
* obj0
= 0 ;
3677 PyObject
* obj1
= 0 ;
3678 PyObject
* obj2
= 0 ;
3679 PyObject
* obj3
= 0 ;
3680 PyObject
* obj4
= 0 ;
3681 PyObject
* obj5
= 0 ;
3682 PyObject
* obj6
= 0 ;
3683 PyObject
* obj7
= 0 ;
3685 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3690 arg1
= wxString_in_helper(obj0
);
3691 if (arg1
== NULL
) SWIG_fail
;
3695 arg2
= wxString_in_helper(obj1
);
3696 if (arg2
== NULL
) SWIG_fail
;
3700 arg3
= wxString_in_helper(obj2
);
3701 if (arg3
== NULL
) SWIG_fail
;
3704 arg4
= (long) SWIG_AsLong(obj3
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3707 arg5
= (long) SWIG_AsLong(obj4
);
3708 if (PyErr_Occurred()) SWIG_fail
;
3711 arg6
= (long) SWIG_AsLong(obj5
);
3712 if (PyErr_Occurred()) SWIG_fail
;
3715 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3721 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 resultobj
= SWIG_FromLong((long)result
);
3762 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 result
= (bool)wxColourDisplay();
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3786 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3787 PyObject
*resultobj
;
3793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3796 result
= (int)wxDisplayDepth();
3798 wxPyEndAllowThreads(__tstate
);
3799 if (PyErr_Occurred()) SWIG_fail
;
3801 resultobj
= SWIG_FromInt((int)result
);
3808 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3809 PyObject
*resultobj
;
3815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (int)wxGetDisplayDepth();
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 resultobj
= SWIG_FromInt((int)result
);
3830 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
;
3832 int *arg1
= (int *) 0 ;
3833 int *arg2
= (int *) 0 ;
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3845 wxDisplaySize(arg1
,arg2
);
3847 wxPyEndAllowThreads(__tstate
);
3848 if (PyErr_Occurred()) SWIG_fail
;
3850 Py_INCREF(Py_None
); resultobj
= Py_None
;
3852 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3853 resultobj
= t_output_helper(resultobj
,o
);
3856 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3857 resultobj
= t_output_helper(resultobj
,o
);
3865 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= wxGetDisplaySize();
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3882 resultptr
= new wxSize((wxSize
&) result
);
3883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3891 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3892 PyObject
*resultobj
;
3893 int *arg1
= (int *) 0 ;
3894 int *arg2
= (int *) 0 ;
3903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3906 wxDisplaySizeMM(arg1
,arg2
);
3908 wxPyEndAllowThreads(__tstate
);
3909 if (PyErr_Occurred()) SWIG_fail
;
3911 Py_INCREF(Py_None
); resultobj
= Py_None
;
3913 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3914 resultobj
= t_output_helper(resultobj
,o
);
3917 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3918 resultobj
= t_output_helper(resultobj
,o
);
3926 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3927 PyObject
*resultobj
;
3933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3936 result
= wxGetDisplaySizeMM();
3938 wxPyEndAllowThreads(__tstate
);
3939 if (PyErr_Occurred()) SWIG_fail
;
3943 resultptr
= new wxSize((wxSize
&) result
);
3944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3952 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3953 PyObject
*resultobj
;
3954 int *arg1
= (int *) 0 ;
3955 int *arg2
= (int *) 0 ;
3956 int *arg3
= (int *) 0 ;
3957 int *arg4
= (int *) 0 ;
3970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 Py_INCREF(Py_None
); resultobj
= Py_None
;
3980 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3981 resultobj
= t_output_helper(resultobj
,o
);
3984 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3985 resultobj
= t_output_helper(resultobj
,o
);
3988 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3989 resultobj
= t_output_helper(resultobj
,o
);
3992 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3993 resultobj
= t_output_helper(resultobj
,o
);
4001 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4002 PyObject
*resultobj
;
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= wxGetClientDisplayRect();
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4018 resultptr
= new wxRect((wxRect
&) result
);
4019 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4027 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4028 PyObject
*resultobj
;
4029 wxCursor
*arg1
= 0 ;
4030 PyObject
* obj0
= 0 ;
4032 (char *) "cursor", NULL
4035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
4036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
4040 PyErr_SetString(PyExc_TypeError
,"null reference");
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4047 wxPyEndAllowThreads(__tstate
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4050 Py_INCREF(Py_None
); resultobj
= Py_None
;
4057 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4059 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4060 PyObject
* obj0
= 0 ;
4062 (char *) "cursor", NULL
4065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
4067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
4068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4072 wxBeginBusyCursor(arg1
);
4074 wxPyEndAllowThreads(__tstate
);
4075 if (PyErr_Occurred()) SWIG_fail
;
4077 Py_INCREF(Py_None
); resultobj
= Py_None
;
4084 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4094 result
= (wxWindow
*)wxGetActiveWindow();
4096 wxPyEndAllowThreads(__tstate
);
4097 if (PyErr_Occurred()) SWIG_fail
;
4100 resultobj
= wxPyMake_wxObject(result
);
4108 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4113 PyObject
* obj0
= 0 ;
4118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4121 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4127 wxPyEndAllowThreads(__tstate
);
4128 if (PyErr_Occurred()) SWIG_fail
;
4131 resultobj
= wxPyMake_wxObject(result
);
4139 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4140 PyObject
*resultobj
;
4144 PyObject
* obj0
= 0 ;
4149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4152 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= wxPyMake_wxObject(result
);
4170 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxWindow
*arg1
= (wxWindow
*) 0 ;
4174 PyObject
* obj0
= 0 ;
4176 (char *) "win", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4190 resultobj
= wxPyMake_wxObject(result
);
4198 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4202 PyObject
* obj0
= 0 ;
4204 (char *) "key", NULL
4207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4208 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4212 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4214 wxPyEndAllowThreads(__tstate
);
4215 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4226 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4227 PyObject
*resultobj
;
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4235 wxWakeUpMainThread();
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4240 Py_INCREF(Py_None
); resultobj
= Py_None
;
4247 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4248 PyObject
*resultobj
;
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4258 wxPyEndAllowThreads(__tstate
);
4259 if (PyErr_Occurred()) SWIG_fail
;
4261 Py_INCREF(Py_None
); resultobj
= Py_None
;
4268 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4269 PyObject
*resultobj
;
4274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 Py_INCREF(Py_None
); resultobj
= Py_None
;
4289 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxMutexGuiLocker
*result
;
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4311 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4312 PyObject
*resultobj
;
4313 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4316 (char *) "self", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 Py_INCREF(Py_None
); resultobj
= Py_None
;
4336 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4339 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4341 return Py_BuildValue((char *)"");
4343 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
;
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4353 result
= (bool)wxThread_IsMain();
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4367 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4368 PyObject
*resultobj
;
4369 wxString
*arg1
= 0 ;
4371 bool temp1
= False
;
4372 PyObject
* obj0
= 0 ;
4374 (char *) "tip", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4379 arg1
= wxString_in_helper(obj0
);
4380 if (arg1
== NULL
) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4385 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4387 wxPyEndAllowThreads(__tstate
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4391 resultobj
= wxPyMake_wxObject(result
);
4407 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
;
4409 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4410 wxString
*arg2
= 0 ;
4411 bool temp2
= False
;
4412 PyObject
* obj0
= 0 ;
4413 PyObject
* obj1
= 0 ;
4415 (char *) "self",(char *) "tip", NULL
4418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4422 arg2
= wxString_in_helper(obj1
);
4423 if (arg2
== NULL
) SWIG_fail
;
4427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4428 (arg1
)->SetTip((wxString
const &)*arg2
);
4430 wxPyEndAllowThreads(__tstate
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4433 Py_INCREF(Py_None
); resultobj
= Py_None
;
4448 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4449 PyObject
*resultobj
;
4450 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4452 PyObject
* obj0
= 0 ;
4454 (char *) "self", NULL
4457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4462 result
= (arg1
)->GetTip();
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4471 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4480 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
;
4482 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4484 PyObject
* obj0
= 0 ;
4486 (char *) "self", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4494 result
= (wxWindow
*)(arg1
)->GetWindow();
4496 wxPyEndAllowThreads(__tstate
);
4497 if (PyErr_Occurred()) SWIG_fail
;
4500 resultobj
= wxPyMake_wxObject(result
);
4508 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4511 PyObject
* obj0
= 0 ;
4513 (char *) "flag", NULL
4516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4517 arg1
= (bool) SWIG_AsBool(obj0
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4521 wxToolTip::Enable(arg1
);
4523 wxPyEndAllowThreads(__tstate
);
4524 if (PyErr_Occurred()) SWIG_fail
;
4526 Py_INCREF(Py_None
); resultobj
= Py_None
;
4533 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4536 PyObject
* obj0
= 0 ;
4538 (char *) "milliseconds", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4542 arg1
= (long) SWIG_AsLong(obj0
);
4543 if (PyErr_Occurred()) SWIG_fail
;
4545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4546 wxToolTip::SetDelay(arg1
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 Py_INCREF(Py_None
); resultobj
= Py_None
;
4558 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4561 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4563 return Py_BuildValue((char *)"");
4565 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4566 PyObject
*resultobj
;
4567 wxWindow
*arg1
= (wxWindow
*) 0 ;
4571 PyObject
* obj0
= 0 ;
4572 PyObject
* obj1
= 0 ;
4574 (char *) "window",(char *) "size", NULL
4577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4582 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4586 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4588 wxPyEndAllowThreads(__tstate
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4598 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
*resultobj
;
4600 wxCaret
*arg1
= (wxCaret
*) 0 ;
4601 PyObject
* obj0
= 0 ;
4603 (char *) "self", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4613 wxPyEndAllowThreads(__tstate
);
4614 if (PyErr_Occurred()) SWIG_fail
;
4616 Py_INCREF(Py_None
); resultobj
= Py_None
;
4623 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4625 wxCaret
*arg1
= (wxCaret
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4629 (char *) "self", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4637 result
= (bool)(arg1
)->IsOk();
4639 wxPyEndAllowThreads(__tstate
);
4640 if (PyErr_Occurred()) SWIG_fail
;
4643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4651 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4652 PyObject
*resultobj
;
4653 wxCaret
*arg1
= (wxCaret
*) 0 ;
4655 PyObject
* obj0
= 0 ;
4657 (char *) "self", NULL
4660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4665 result
= (bool)(arg1
)->IsVisible();
4667 wxPyEndAllowThreads(__tstate
);
4668 if (PyErr_Occurred()) SWIG_fail
;
4671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4679 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
*resultobj
;
4681 wxCaret
*arg1
= (wxCaret
*) 0 ;
4683 PyObject
* obj0
= 0 ;
4685 (char *) "self", NULL
4688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 result
= (arg1
)->GetPosition();
4695 wxPyEndAllowThreads(__tstate
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4699 wxPoint
* resultptr
;
4700 resultptr
= new wxPoint((wxPoint
&) result
);
4701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4709 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4710 PyObject
*resultobj
;
4711 wxCaret
*arg1
= (wxCaret
*) 0 ;
4712 int *arg2
= (int *) 0 ;
4713 int *arg3
= (int *) 0 ;
4716 PyObject
* obj0
= 0 ;
4718 (char *) "self", NULL
4723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 (arg1
)->GetPosition(arg2
,arg3
);
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 Py_INCREF(Py_None
); resultobj
= Py_None
;
4735 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4736 resultobj
= t_output_helper(resultobj
,o
);
4739 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4740 resultobj
= t_output_helper(resultobj
,o
);
4748 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4749 PyObject
*resultobj
;
4750 wxCaret
*arg1
= (wxCaret
*) 0 ;
4752 PyObject
* obj0
= 0 ;
4754 (char *) "self", NULL
4757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= (arg1
)->GetSize();
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4769 resultptr
= new wxSize((wxSize
&) result
);
4770 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4778 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4779 PyObject
*resultobj
;
4780 wxCaret
*arg1
= (wxCaret
*) 0 ;
4781 int *arg2
= (int *) 0 ;
4782 int *arg3
= (int *) 0 ;
4785 PyObject
* obj0
= 0 ;
4787 (char *) "self", NULL
4792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4797 (arg1
)->GetSize(arg2
,arg3
);
4799 wxPyEndAllowThreads(__tstate
);
4800 if (PyErr_Occurred()) SWIG_fail
;
4802 Py_INCREF(Py_None
); resultobj
= Py_None
;
4804 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4805 resultobj
= t_output_helper(resultobj
,o
);
4808 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4809 resultobj
= t_output_helper(resultobj
,o
);
4817 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
;
4819 wxCaret
*arg1
= (wxCaret
*) 0 ;
4821 PyObject
* obj0
= 0 ;
4823 (char *) "self", NULL
4826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 result
= (wxWindow
*)(arg1
)->GetWindow();
4833 wxPyEndAllowThreads(__tstate
);
4834 if (PyErr_Occurred()) SWIG_fail
;
4837 resultobj
= wxPyMake_wxObject(result
);
4845 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4846 PyObject
*resultobj
;
4847 wxCaret
*arg1
= (wxCaret
*) 0 ;
4850 PyObject
* obj0
= 0 ;
4851 PyObject
* obj1
= 0 ;
4852 PyObject
* obj2
= 0 ;
4854 (char *) "self",(char *) "x",(char *) "y", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4860 arg2
= (int) SWIG_AsInt(obj1
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4862 arg3
= (int) SWIG_AsInt(obj2
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4866 (arg1
)->Move(arg2
,arg3
);
4868 wxPyEndAllowThreads(__tstate
);
4869 if (PyErr_Occurred()) SWIG_fail
;
4871 Py_INCREF(Py_None
); resultobj
= Py_None
;
4878 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4879 PyObject
*resultobj
;
4880 wxCaret
*arg1
= (wxCaret
*) 0 ;
4883 PyObject
* obj0
= 0 ;
4884 PyObject
* obj1
= 0 ;
4886 (char *) "self",(char *) "pt", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4894 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4898 (arg1
)->Move((wxPoint
const &)*arg2
);
4900 wxPyEndAllowThreads(__tstate
);
4901 if (PyErr_Occurred()) SWIG_fail
;
4903 Py_INCREF(Py_None
); resultobj
= Py_None
;
4910 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4911 PyObject
*resultobj
;
4912 wxCaret
*arg1
= (wxCaret
*) 0 ;
4915 PyObject
* obj0
= 0 ;
4916 PyObject
* obj1
= 0 ;
4917 PyObject
* obj2
= 0 ;
4919 (char *) "self",(char *) "width",(char *) "height", NULL
4922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4925 arg2
= (int) SWIG_AsInt(obj1
);
4926 if (PyErr_Occurred()) SWIG_fail
;
4927 arg3
= (int) SWIG_AsInt(obj2
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 (arg1
)->SetSize(arg2
,arg3
);
4933 wxPyEndAllowThreads(__tstate
);
4934 if (PyErr_Occurred()) SWIG_fail
;
4936 Py_INCREF(Py_None
); resultobj
= Py_None
;
4943 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4944 PyObject
*resultobj
;
4945 wxCaret
*arg1
= (wxCaret
*) 0 ;
4948 PyObject
* obj0
= 0 ;
4949 PyObject
* obj1
= 0 ;
4951 (char *) "self",(char *) "size", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4959 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4963 (arg1
)->SetSize((wxSize
const &)*arg2
);
4965 wxPyEndAllowThreads(__tstate
);
4966 if (PyErr_Occurred()) SWIG_fail
;
4968 Py_INCREF(Py_None
); resultobj
= Py_None
;
4975 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4976 PyObject
*resultobj
;
4977 wxCaret
*arg1
= (wxCaret
*) 0 ;
4978 int arg2
= (int) True
;
4979 PyObject
* obj0
= 0 ;
4980 PyObject
* obj1
= 0 ;
4982 (char *) "self",(char *) "show", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4989 arg2
= (int) SWIG_AsInt(obj1
);
4990 if (PyErr_Occurred()) SWIG_fail
;
4993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 wxPyEndAllowThreads(__tstate
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 Py_INCREF(Py_None
); resultobj
= Py_None
;
5006 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5007 PyObject
*resultobj
;
5008 wxCaret
*arg1
= (wxCaret
*) 0 ;
5009 PyObject
* obj0
= 0 ;
5011 (char *) "self", NULL
5014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
5015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
5016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5021 wxPyEndAllowThreads(__tstate
);
5022 if (PyErr_Occurred()) SWIG_fail
;
5024 Py_INCREF(Py_None
); resultobj
= Py_None
;
5031 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
5033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5034 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
5036 return Py_BuildValue((char *)"");
5038 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5039 PyObject
*resultobj
;
5045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 result
= (int)wxCaret_GetBlinkTime();
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= SWIG_FromInt((int)result
);
5060 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5063 PyObject
* obj0
= 0 ;
5065 (char *) "milliseconds", NULL
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
5069 arg1
= (int) SWIG_AsInt(obj0
);
5070 if (PyErr_Occurred()) SWIG_fail
;
5072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5073 wxCaret_SetBlinkTime(arg1
);
5075 wxPyEndAllowThreads(__tstate
);
5076 if (PyErr_Occurred()) SWIG_fail
;
5078 Py_INCREF(Py_None
); resultobj
= Py_None
;
5085 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5086 PyObject
*resultobj
;
5087 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5088 wxBusyCursor
*result
;
5089 PyObject
* obj0
= 0 ;
5091 (char *) "cursor", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5113 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5116 PyObject
* obj0
= 0 ;
5118 (char *) "self", NULL
5121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 Py_INCREF(Py_None
); resultobj
= Py_None
;
5138 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5141 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5143 return Py_BuildValue((char *)"");
5145 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
;
5147 wxWindow
*arg1
= (wxWindow
*) NULL
;
5148 wxWindowDisabler
*result
;
5149 PyObject
* obj0
= 0 ;
5151 (char *) "winToSkip", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5173 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
;
5175 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5176 PyObject
* obj0
= 0 ;
5178 (char *) "self", NULL
5181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 Py_INCREF(Py_None
); resultobj
= Py_None
;
5198 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5201 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5203 return Py_BuildValue((char *)"");
5205 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5207 wxString
*arg1
= 0 ;
5209 bool temp1
= False
;
5210 PyObject
* obj0
= 0 ;
5212 (char *) "message", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5217 arg1
= wxString_in_helper(obj0
);
5218 if (arg1
== NULL
) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5243 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5246 PyObject
* obj0
= 0 ;
5248 (char *) "self", NULL
5251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5258 wxPyEndAllowThreads(__tstate
);
5259 if (PyErr_Occurred()) SWIG_fail
;
5261 Py_INCREF(Py_None
); resultobj
= Py_None
;
5268 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5271 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5273 return Py_BuildValue((char *)"");
5275 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5276 PyObject
*resultobj
;
5277 wxStopWatch
*result
;
5282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= (wxStopWatch
*)new wxStopWatch();
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5297 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5300 long arg2
= (long) 0 ;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5304 (char *) "self",(char *) "t0", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5311 arg2
= (long) SWIG_AsLong(obj1
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 (arg1
)->Start(arg2
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 Py_INCREF(Py_None
); resultobj
= Py_None
;
5328 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5331 PyObject
* obj0
= 0 ;
5333 (char *) "self", NULL
5336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 Py_INCREF(Py_None
); resultobj
= Py_None
;
5353 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 Py_INCREF(Py_None
); resultobj
= Py_None
;
5378 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5382 PyObject
* obj0
= 0 ;
5384 (char *) "self", NULL
5387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5392 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5394 wxPyEndAllowThreads(__tstate
);
5395 if (PyErr_Occurred()) SWIG_fail
;
5397 resultobj
= SWIG_FromLong((long)result
);
5404 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5406 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5407 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5409 return Py_BuildValue((char *)"");
5411 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 int arg1
= (int) 9 ;
5414 wxFileHistory
*result
;
5415 PyObject
* obj0
= 0 ;
5417 (char *) "maxFiles", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5422 arg1
= (int) SWIG_AsInt(obj0
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5439 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
;
5441 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5442 PyObject
* obj0
= 0 ;
5444 (char *) "self", NULL
5447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 Py_INCREF(Py_None
); resultobj
= Py_None
;
5464 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5465 PyObject
*resultobj
;
5466 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5467 wxString
*arg2
= 0 ;
5468 bool temp2
= False
;
5469 PyObject
* obj0
= 0 ;
5470 PyObject
* obj1
= 0 ;
5472 (char *) "self",(char *) "file", NULL
5475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5479 arg2
= wxString_in_helper(obj1
);
5480 if (arg2
== NULL
) SWIG_fail
;
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5487 wxPyEndAllowThreads(__tstate
);
5488 if (PyErr_Occurred()) SWIG_fail
;
5490 Py_INCREF(Py_None
); resultobj
= Py_None
;
5505 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5506 PyObject
*resultobj
;
5507 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5509 PyObject
* obj0
= 0 ;
5510 PyObject
* obj1
= 0 ;
5512 (char *) "self",(char *) "i", NULL
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5518 arg2
= (int) SWIG_AsInt(obj1
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5522 (arg1
)->RemoveFileFromHistory(arg2
);
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5527 Py_INCREF(Py_None
); resultobj
= Py_None
;
5534 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5538 PyObject
* obj0
= 0 ;
5540 (char *) "self", NULL
5543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5548 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= SWIG_FromInt((int)result
);
5560 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
;
5562 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5563 wxMenu
*arg2
= (wxMenu
*) 0 ;
5564 PyObject
* obj0
= 0 ;
5565 PyObject
* obj1
= 0 ;
5567 (char *) "self",(char *) "menu", NULL
5570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5577 (arg1
)->UseMenu(arg2
);
5579 wxPyEndAllowThreads(__tstate
);
5580 if (PyErr_Occurred()) SWIG_fail
;
5582 Py_INCREF(Py_None
); resultobj
= Py_None
;
5589 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5592 wxMenu
*arg2
= (wxMenu
*) 0 ;
5593 PyObject
* obj0
= 0 ;
5594 PyObject
* obj1
= 0 ;
5596 (char *) "self",(char *) "menu", NULL
5599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5606 (arg1
)->RemoveMenu(arg2
);
5608 wxPyEndAllowThreads(__tstate
);
5609 if (PyErr_Occurred()) SWIG_fail
;
5611 Py_INCREF(Py_None
); resultobj
= Py_None
;
5618 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
*resultobj
;
5620 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5621 wxConfigBase
*arg2
= 0 ;
5622 PyObject
* obj0
= 0 ;
5623 PyObject
* obj1
= 0 ;
5625 (char *) "self",(char *) "config", NULL
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5631 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5635 PyErr_SetString(PyExc_TypeError
,"null reference");
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 (arg1
)->Load(*arg2
);
5642 wxPyEndAllowThreads(__tstate
);
5643 if (PyErr_Occurred()) SWIG_fail
;
5645 Py_INCREF(Py_None
); resultobj
= Py_None
;
5652 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5653 PyObject
*resultobj
;
5654 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5655 wxConfigBase
*arg2
= 0 ;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5659 (char *) "self",(char *) "config", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5665 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5666 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5669 PyErr_SetString(PyExc_TypeError
,"null reference");
5673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5674 (arg1
)->Save(*arg2
);
5676 wxPyEndAllowThreads(__tstate
);
5677 if (PyErr_Occurred()) SWIG_fail
;
5679 Py_INCREF(Py_None
); resultobj
= Py_None
;
5686 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5689 PyObject
* obj0
= 0 ;
5691 (char *) "self", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5699 (arg1
)->AddFilesToMenu();
5701 wxPyEndAllowThreads(__tstate
);
5702 if (PyErr_Occurred()) SWIG_fail
;
5704 Py_INCREF(Py_None
); resultobj
= Py_None
;
5711 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5714 wxMenu
*arg2
= (wxMenu
*) 0 ;
5715 PyObject
* obj0
= 0 ;
5716 PyObject
* obj1
= 0 ;
5718 (char *) "self",(char *) "menu", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 (arg1
)->AddFilesToMenu(arg2
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 Py_INCREF(Py_None
); resultobj
= Py_None
;
5740 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5741 PyObject
*resultobj
;
5742 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5745 PyObject
* obj0
= 0 ;
5746 PyObject
* obj1
= 0 ;
5748 (char *) "self",(char *) "i", NULL
5751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5754 arg2
= (int) SWIG_AsInt(obj1
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5758 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5760 wxPyEndAllowThreads(__tstate
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5776 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5780 PyObject
* obj0
= 0 ;
5782 (char *) "self", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= SWIG_FromInt((int)result
);
5802 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5805 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5807 return Py_BuildValue((char *)"");
5809 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxString
*arg1
= 0 ;
5812 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5813 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5814 wxSingleInstanceChecker
*result
;
5815 bool temp1
= False
;
5816 bool temp2
= False
;
5817 PyObject
* obj0
= 0 ;
5818 PyObject
* obj1
= 0 ;
5820 (char *) "name",(char *) "path", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5825 arg1
= wxString_in_helper(obj0
);
5826 if (arg1
== NULL
) SWIG_fail
;
5831 arg2
= wxString_in_helper(obj1
);
5832 if (arg2
== NULL
) SWIG_fail
;
5837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5838 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5840 wxPyEndAllowThreads(__tstate
);
5841 if (PyErr_Occurred()) SWIG_fail
;
5843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5866 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxSingleInstanceChecker
*result
;
5873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5876 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5878 wxPyEndAllowThreads(__tstate
);
5879 if (PyErr_Occurred()) SWIG_fail
;
5881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5888 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5889 PyObject
*resultobj
;
5890 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5891 PyObject
* obj0
= 0 ;
5893 (char *) "self", NULL
5896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 Py_INCREF(Py_None
); resultobj
= Py_None
;
5913 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5914 PyObject
*resultobj
;
5915 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5916 wxString
*arg2
= 0 ;
5917 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5918 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5920 bool temp2
= False
;
5921 bool temp3
= False
;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5924 PyObject
* obj2
= 0 ;
5926 (char *) "self",(char *) "name",(char *) "path", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 arg2
= wxString_in_helper(obj1
);
5934 if (arg2
== NULL
) SWIG_fail
;
5939 arg3
= wxString_in_helper(obj2
);
5940 if (arg3
== NULL
) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5976 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
;
5978 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5980 PyObject
* obj0
= 0 ;
5982 (char *) "self", NULL
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5990 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5992 wxPyEndAllowThreads(__tstate
);
5993 if (PyErr_Occurred()) SWIG_fail
;
5996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6004 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
6006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6007 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
6009 return Py_BuildValue((char *)"");
6011 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxWindow
*arg1
= (wxWindow
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6017 PyObject
* obj1
= 0 ;
6018 PyObject
* obj2
= 0 ;
6020 (char *) "window",(char *) "dc",(char *) "method", NULL
6023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
6027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6030 PyErr_SetString(PyExc_TypeError
,"null reference");
6033 arg3
= (int) SWIG_AsInt(obj2
);
6034 if (PyErr_Occurred()) SWIG_fail
;
6036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6037 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
6039 wxPyEndAllowThreads(__tstate
);
6040 if (PyErr_Occurred()) SWIG_fail
;
6042 Py_INCREF(Py_None
); resultobj
= Py_None
;
6049 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6052 PyObject
* obj0
= 0 ;
6054 (char *) "self", NULL
6057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
6058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 Py_INCREF(Py_None
); resultobj
= Py_None
;
6074 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6078 PyObject
* obj0
= 0 ;
6080 (char *) "self", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (arg1
)->GetTip();
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6106 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
;
6108 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6110 PyObject
* obj0
= 0 ;
6112 (char *) "self", NULL
6115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (size_t)(arg1
)->GetCurrentTip();
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6125 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6132 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6135 wxString
*arg2
= 0 ;
6137 bool temp2
= False
;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6141 (char *) "self",(char *) "tip", NULL
6144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6148 arg2
= wxString_in_helper(obj1
);
6149 if (arg2
== NULL
) SWIG_fail
;
6153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6154 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6156 wxPyEndAllowThreads(__tstate
);
6157 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6180 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6183 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6185 return Py_BuildValue((char *)"");
6187 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6188 PyObject
*resultobj
;
6190 wxPyTipProvider
*result
;
6191 PyObject
* obj0
= 0 ;
6193 (char *) "currentTip", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6197 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6201 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6213 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6216 PyObject
*arg2
= (PyObject
*) 0 ;
6217 PyObject
*arg3
= (PyObject
*) 0 ;
6218 PyObject
* obj0
= 0 ;
6219 PyObject
* obj1
= 0 ;
6220 PyObject
* obj2
= 0 ;
6222 (char *) "self",(char *) "self",(char *) "_class", NULL
6225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6232 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6234 wxPyEndAllowThreads(__tstate
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 Py_INCREF(Py_None
); resultobj
= Py_None
;
6244 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6247 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6249 return Py_BuildValue((char *)"");
6251 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6252 PyObject
*resultobj
;
6253 wxWindow
*arg1
= (wxWindow
*) 0 ;
6254 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6255 bool arg3
= (bool) True
;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6259 PyObject
* obj2
= 0 ;
6261 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6270 arg3
= (bool) SWIG_AsBool(obj2
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6289 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6290 PyObject
*resultobj
;
6291 wxString
*arg1
= 0 ;
6293 wxTipProvider
*result
;
6294 bool temp1
= False
;
6295 PyObject
* obj0
= 0 ;
6296 PyObject
* obj1
= 0 ;
6298 (char *) "filename",(char *) "currentTip", NULL
6301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6303 arg1
= wxString_in_helper(obj0
);
6304 if (arg1
== NULL
) SWIG_fail
;
6307 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6311 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6313 wxPyEndAllowThreads(__tstate
);
6314 if (PyErr_Occurred()) SWIG_fail
;
6316 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6331 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6334 int arg2
= (int) -1 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6339 (char *) "owner",(char *) "id", NULL
6342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6348 arg2
= (int) SWIG_AsInt(obj1
);
6349 if (PyErr_Occurred()) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6353 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6365 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6368 PyObject
* obj0
= 0 ;
6370 (char *) "self", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 Py_INCREF(Py_None
); resultobj
= Py_None
;
6390 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6393 PyObject
*arg2
= (PyObject
*) 0 ;
6394 PyObject
*arg3
= (PyObject
*) 0 ;
6395 int arg4
= (int) 1 ;
6396 PyObject
* obj0
= 0 ;
6397 PyObject
* obj1
= 0 ;
6398 PyObject
* obj2
= 0 ;
6399 PyObject
* obj3
= 0 ;
6401 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6410 arg4
= (int) SWIG_AsInt(obj3
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6420 Py_INCREF(Py_None
); resultobj
= Py_None
;
6427 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6428 PyObject
*resultobj
;
6429 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6430 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6431 int arg3
= (int) -1 ;
6432 PyObject
* obj0
= 0 ;
6433 PyObject
* obj1
= 0 ;
6434 PyObject
* obj2
= 0 ;
6436 (char *) "self",(char *) "owner",(char *) "id", NULL
6439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6445 arg3
= (int) SWIG_AsInt(obj2
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 (arg1
)->SetOwner(arg2
,arg3
);
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6455 Py_INCREF(Py_None
); resultobj
= Py_None
;
6462 static PyObject
*_wrap_Timer_GetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6463 PyObject
*resultobj
;
6464 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6465 wxEvtHandler
*result
;
6466 PyObject
* obj0
= 0 ;
6468 (char *) "self", NULL
6471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetOwner",kwnames
,&obj0
)) goto fail
;
6472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6476 result
= (wxEvtHandler
*)(arg1
)->GetOwner();
6478 wxPyEndAllowThreads(__tstate
);
6479 if (PyErr_Occurred()) SWIG_fail
;
6482 resultobj
= wxPyMake_wxObject(result
);
6490 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6491 PyObject
*resultobj
;
6492 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6493 int arg2
= (int) -1 ;
6494 bool arg3
= (bool) False
;
6496 PyObject
* obj0
= 0 ;
6497 PyObject
* obj1
= 0 ;
6498 PyObject
* obj2
= 0 ;
6500 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6507 arg2
= (int) SWIG_AsInt(obj1
);
6508 if (PyErr_Occurred()) SWIG_fail
;
6511 arg3
= (bool) SWIG_AsBool(obj2
);
6512 if (PyErr_Occurred()) SWIG_fail
;
6515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6516 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6518 wxPyEndAllowThreads(__tstate
);
6519 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6530 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
;
6532 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6533 PyObject
* obj0
= 0 ;
6535 (char *) "self", NULL
6538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 wxPyEndAllowThreads(__tstate
);
6546 if (PyErr_Occurred()) SWIG_fail
;
6548 Py_INCREF(Py_None
); resultobj
= Py_None
;
6555 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
;
6557 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6559 PyObject
* obj0
= 0 ;
6561 (char *) "self", NULL
6564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6569 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6571 wxPyEndAllowThreads(__tstate
);
6572 if (PyErr_Occurred()) SWIG_fail
;
6575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6583 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6587 PyObject
* obj0
= 0 ;
6589 (char *) "self", NULL
6592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6597 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6599 wxPyEndAllowThreads(__tstate
);
6600 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= SWIG_FromInt((int)result
);
6609 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6610 PyObject
*resultobj
;
6611 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6613 PyObject
* obj0
= 0 ;
6615 (char *) "self", NULL
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6637 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6638 PyObject
*resultobj
;
6639 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6641 PyObject
* obj0
= 0 ;
6643 (char *) "self", NULL
6646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6651 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6653 wxPyEndAllowThreads(__tstate
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 resultobj
= SWIG_FromInt((int)result
);
6663 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6666 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6668 return Py_BuildValue((char *)"");
6670 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
;
6672 int arg1
= (int) 0 ;
6673 int arg2
= (int) 0 ;
6674 wxTimerEvent
*result
;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6678 (char *) "timerid",(char *) "interval", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6683 arg1
= (int) SWIG_AsInt(obj0
);
6684 if (PyErr_Occurred()) SWIG_fail
;
6687 arg2
= (int) SWIG_AsInt(obj1
);
6688 if (PyErr_Occurred()) SWIG_fail
;
6691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6692 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6694 wxPyEndAllowThreads(__tstate
);
6695 if (PyErr_Occurred()) SWIG_fail
;
6697 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6704 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6705 PyObject
*resultobj
;
6706 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6708 PyObject
* obj0
= 0 ;
6710 (char *) "self", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6718 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6720 wxPyEndAllowThreads(__tstate
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6723 resultobj
= SWIG_FromInt((int)result
);
6730 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6733 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6735 return Py_BuildValue((char *)"");
6737 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6738 PyObject
*resultobj
;
6740 wxTimerRunner
*result
;
6741 PyObject
* obj0
= 0 ;
6743 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6745 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6748 PyErr_SetString(PyExc_TypeError
,"null reference");
6752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6753 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6755 wxPyEndAllowThreads(__tstate
);
6756 if (PyErr_Occurred()) SWIG_fail
;
6758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6765 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6766 PyObject
*resultobj
;
6769 bool arg3
= (bool) False
;
6770 wxTimerRunner
*result
;
6771 PyObject
* obj0
= 0 ;
6772 PyObject
* obj1
= 0 ;
6773 PyObject
* obj2
= 0 ;
6775 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6780 PyErr_SetString(PyExc_TypeError
,"null reference");
6783 arg2
= (int) SWIG_AsInt(obj1
);
6784 if (PyErr_Occurred()) SWIG_fail
;
6786 arg3
= (bool) SWIG_AsBool(obj2
);
6787 if (PyErr_Occurred()) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6803 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6808 argc
= PyObject_Length(args
);
6809 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6810 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6816 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6824 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6827 if ((argc
>= 2) && (argc
<= 3)) {
6831 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6839 _v
= SWIG_CheckInt(argv
[1]);
6842 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6844 _v
= SWIG_CheckBool(argv
[2]);
6846 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6852 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6857 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6858 PyObject
*resultobj
;
6859 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6860 PyObject
* obj0
= 0 ;
6862 (char *) "self", NULL
6865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6872 wxPyEndAllowThreads(__tstate
);
6873 if (PyErr_Occurred()) SWIG_fail
;
6875 Py_INCREF(Py_None
); resultobj
= Py_None
;
6882 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6883 PyObject
*resultobj
;
6884 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6886 bool arg3
= (bool) False
;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6889 PyObject
* obj2
= 0 ;
6891 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 arg2
= (int) SWIG_AsInt(obj1
);
6898 if (PyErr_Occurred()) SWIG_fail
;
6900 arg3
= (bool) SWIG_AsBool(obj2
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 (arg1
)->Start(arg2
,arg3
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6910 Py_INCREF(Py_None
); resultobj
= Py_None
;
6917 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6920 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6922 return Py_BuildValue((char *)"");
6924 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
;
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6934 result
= (wxLog
*)new wxLog();
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6946 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6956 result
= (bool)wxLog::IsEnabled();
6958 wxPyEndAllowThreads(__tstate
);
6959 if (PyErr_Occurred()) SWIG_fail
;
6962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6970 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
;
6972 bool arg1
= (bool) True
;
6974 PyObject
* obj0
= 0 ;
6976 (char *) "doIt", NULL
6979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6981 arg1
= (bool) SWIG_AsBool(obj0
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6986 result
= (bool)wxLog::EnableLogging(arg1
);
6988 wxPyEndAllowThreads(__tstate
);
6989 if (PyErr_Occurred()) SWIG_fail
;
6992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7000 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7003 wxChar
*arg2
= (wxChar
*) 0 ;
7005 PyObject
* obj0
= 0 ;
7006 PyObject
* obj1
= 0 ;
7007 PyObject
* obj2
= 0 ;
7009 (char *) "level",(char *) "szString",(char *) "t", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7013 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
7016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7017 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7021 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
7023 wxPyEndAllowThreads(__tstate
);
7024 if (PyErr_Occurred()) SWIG_fail
;
7026 Py_INCREF(Py_None
); resultobj
= Py_None
;
7033 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7034 PyObject
*resultobj
;
7035 wxLog
*arg1
= (wxLog
*) 0 ;
7036 PyObject
* obj0
= 0 ;
7038 (char *) "self", NULL
7041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
7042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 Py_INCREF(Py_None
); resultobj
= Py_None
;
7058 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 wxLog::FlushActive();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 Py_INCREF(Py_None
); resultobj
= Py_None
;
7079 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (wxLog
*)wxLog::GetActiveTarget();
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7101 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7103 wxLog
*arg1
= (wxLog
*) 0 ;
7105 PyObject
* obj0
= 0 ;
7107 (char *) "pLogger", NULL
7110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7115 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7117 wxPyEndAllowThreads(__tstate
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7127 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7128 PyObject
*resultobj
;
7133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 wxPyEndAllowThreads(__tstate
);
7139 if (PyErr_Occurred()) SWIG_fail
;
7141 Py_INCREF(Py_None
); resultobj
= Py_None
;
7148 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7149 PyObject
*resultobj
;
7154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7159 wxPyEndAllowThreads(__tstate
);
7160 if (PyErr_Occurred()) SWIG_fail
;
7162 Py_INCREF(Py_None
); resultobj
= Py_None
;
7169 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7170 PyObject
*resultobj
;
7171 bool arg1
= (bool) True
;
7172 PyObject
* obj0
= 0 ;
7174 (char *) "bVerbose", NULL
7177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7179 arg1
= (bool) SWIG_AsBool(obj0
);
7180 if (PyErr_Occurred()) SWIG_fail
;
7183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7184 wxLog::SetVerbose(arg1
);
7186 wxPyEndAllowThreads(__tstate
);
7187 if (PyErr_Occurred()) SWIG_fail
;
7189 Py_INCREF(Py_None
); resultobj
= Py_None
;
7196 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7197 PyObject
*resultobj
;
7199 PyObject
* obj0
= 0 ;
7201 (char *) "logLevel", NULL
7204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7205 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7209 wxLog::SetLogLevel(arg1
);
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 Py_INCREF(Py_None
); resultobj
= Py_None
;
7221 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7222 PyObject
*resultobj
;
7227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 wxLog::DontCreateOnDemand();
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7235 Py_INCREF(Py_None
); resultobj
= Py_None
;
7242 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7243 PyObject
*resultobj
;
7245 PyObject
* obj0
= 0 ;
7247 (char *) "ulMask", NULL
7250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7251 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7255 wxLog::SetTraceMask(arg1
);
7257 wxPyEndAllowThreads(__tstate
);
7258 if (PyErr_Occurred()) SWIG_fail
;
7260 Py_INCREF(Py_None
); resultobj
= Py_None
;
7267 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7268 PyObject
*resultobj
;
7269 wxString
*arg1
= 0 ;
7270 bool temp1
= False
;
7271 PyObject
* obj0
= 0 ;
7273 (char *) "str", NULL
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7278 arg1
= wxString_in_helper(obj0
);
7279 if (arg1
== NULL
) SWIG_fail
;
7283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7284 wxLog::AddTraceMask((wxString
const &)*arg1
);
7286 wxPyEndAllowThreads(__tstate
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 Py_INCREF(Py_None
); resultobj
= Py_None
;
7304 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7305 PyObject
*resultobj
;
7306 wxString
*arg1
= 0 ;
7307 bool temp1
= False
;
7308 PyObject
* obj0
= 0 ;
7310 (char *) "str", NULL
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7315 arg1
= wxString_in_helper(obj0
);
7316 if (arg1
== NULL
) SWIG_fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7326 Py_INCREF(Py_None
); resultobj
= Py_None
;
7341 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7350 wxLog::ClearTraceMasks();
7352 wxPyEndAllowThreads(__tstate
);
7353 if (PyErr_Occurred()) SWIG_fail
;
7355 Py_INCREF(Py_None
); resultobj
= Py_None
;
7362 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxArrayString
*result
;
7369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7374 result
= (wxArrayString
*) &_result_ref
;
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= wxArrayString2PyList_helper(*result
);
7389 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7390 PyObject
*resultobj
;
7391 wxChar
*arg1
= (wxChar
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7402 wxLog::SetTimestamp((wxChar
const *)arg1
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 Py_INCREF(Py_None
); resultobj
= Py_None
;
7414 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7415 PyObject
*resultobj
;
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7424 result
= (bool)wxLog::GetVerbose();
7426 wxPyEndAllowThreads(__tstate
);
7427 if (PyErr_Occurred()) SWIG_fail
;
7430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7438 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7439 PyObject
*resultobj
;
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= (wxTraceMask
)wxLog::GetTraceMask();
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7460 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxChar
*arg1
= (wxChar
*) 0 ;
7464 PyObject
* obj0
= 0 ;
7466 (char *) "mask", NULL
7469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7488 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7489 PyObject
*resultobj
;
7495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (wxLogLevel
)wxLog::GetLogLevel();
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7503 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7510 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7511 PyObject
*resultobj
;
7517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7520 result
= (wxChar
*)wxLog::GetTimestamp();
7522 wxPyEndAllowThreads(__tstate
);
7523 if (PyErr_Occurred()) SWIG_fail
;
7525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7532 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= Log_TimeStamp();
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7560 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7561 PyObject
*resultobj
;
7562 wxLog
*arg1
= (wxLog
*) 0 ;
7563 PyObject
* obj0
= 0 ;
7565 (char *) "self", NULL
7568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7573 wxLog_Destroy(arg1
);
7575 wxPyEndAllowThreads(__tstate
);
7576 if (PyErr_Occurred()) SWIG_fail
;
7578 Py_INCREF(Py_None
); resultobj
= Py_None
;
7585 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7588 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7590 return Py_BuildValue((char *)"");
7592 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7593 PyObject
*resultobj
;
7594 wxLogStderr
*result
;
7599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (wxLogStderr
*)new wxLogStderr();
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7614 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7617 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7619 return Py_BuildValue((char *)"");
7621 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7624 wxLogTextCtrl
*result
;
7625 PyObject
* obj0
= 0 ;
7627 (char *) "pTextCtrl", NULL
7630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7635 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7647 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7650 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7652 return Py_BuildValue((char *)"");
7654 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7664 result
= (wxLogGui
*)new wxLogGui();
7666 wxPyEndAllowThreads(__tstate
);
7667 if (PyErr_Occurred()) SWIG_fail
;
7669 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7676 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7678 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7679 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7681 return Py_BuildValue((char *)"");
7683 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxFrame
*arg1
= (wxFrame
*) 0 ;
7686 wxString
*arg2
= 0 ;
7687 bool arg3
= (bool) True
;
7688 bool arg4
= (bool) True
;
7689 wxLogWindow
*result
;
7690 bool temp2
= False
;
7691 PyObject
* obj0
= 0 ;
7692 PyObject
* obj1
= 0 ;
7693 PyObject
* obj2
= 0 ;
7694 PyObject
* obj3
= 0 ;
7696 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7703 arg2
= wxString_in_helper(obj1
);
7704 if (arg2
== NULL
) SWIG_fail
;
7708 arg3
= (bool) SWIG_AsBool(obj2
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7712 arg4
= (bool) SWIG_AsBool(obj3
);
7713 if (PyErr_Occurred()) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7717 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7737 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7738 PyObject
*resultobj
;
7739 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7740 bool arg2
= (bool) True
;
7741 PyObject
* obj0
= 0 ;
7742 PyObject
* obj1
= 0 ;
7744 (char *) "self",(char *) "bShow", NULL
7747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7751 arg2
= (bool) SWIG_AsBool(obj1
);
7752 if (PyErr_Occurred()) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7761 Py_INCREF(Py_None
); resultobj
= Py_None
;
7768 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
;
7770 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7772 PyObject
* obj0
= 0 ;
7774 (char *) "self", NULL
7777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7782 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7784 wxPyEndAllowThreads(__tstate
);
7785 if (PyErr_Occurred()) SWIG_fail
;
7788 resultobj
= wxPyMake_wxObject(result
);
7796 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7797 PyObject
*resultobj
;
7798 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7800 PyObject
* obj0
= 0 ;
7802 (char *) "self", NULL
7805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7812 wxPyEndAllowThreads(__tstate
);
7813 if (PyErr_Occurred()) SWIG_fail
;
7815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7822 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
;
7824 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7826 PyObject
* obj0
= 0 ;
7828 (char *) "self", NULL
7831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7850 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7854 PyObject
* obj0
= 0 ;
7855 PyObject
* obj1
= 0 ;
7857 (char *) "self",(char *) "bDoPass", NULL
7860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7863 arg2
= (bool) SWIG_AsBool(obj1
);
7864 if (PyErr_Occurred()) SWIG_fail
;
7866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7867 (arg1
)->PassMessages(arg2
);
7869 wxPyEndAllowThreads(__tstate
);
7870 if (PyErr_Occurred()) SWIG_fail
;
7872 Py_INCREF(Py_None
); resultobj
= Py_None
;
7879 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7882 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7884 return Py_BuildValue((char *)"");
7886 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxLog
*arg1
= (wxLog
*) 0 ;
7890 PyObject
* obj0
= 0 ;
7892 (char *) "logger", NULL
7895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7900 result
= (wxLogChain
*)new wxLogChain(arg1
);
7902 wxPyEndAllowThreads(__tstate
);
7903 if (PyErr_Occurred()) SWIG_fail
;
7905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7912 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7913 PyObject
*resultobj
;
7914 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7915 wxLog
*arg2
= (wxLog
*) 0 ;
7916 PyObject
* obj0
= 0 ;
7917 PyObject
* obj1
= 0 ;
7919 (char *) "self",(char *) "logger", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7925 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7929 (arg1
)->SetLog(arg2
);
7931 wxPyEndAllowThreads(__tstate
);
7932 if (PyErr_Occurred()) SWIG_fail
;
7934 Py_INCREF(Py_None
); resultobj
= Py_None
;
7941 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7942 PyObject
*resultobj
;
7943 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7945 PyObject
* obj0
= 0 ;
7946 PyObject
* obj1
= 0 ;
7948 (char *) "self",(char *) "bDoPass", NULL
7951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7954 arg2
= (bool) SWIG_AsBool(obj1
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 (arg1
)->PassMessages(arg2
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7970 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "self", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (bool)(arg1
)->IsPassingMessages();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7998 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8004 (char *) "self", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
8008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
8009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 result
= (wxLog
*)(arg1
)->GetOldLog();
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
8024 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
8026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8027 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
8029 return Py_BuildValue((char *)"");
8031 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8032 PyObject
*resultobj
;
8033 unsigned long result
;
8038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= (unsigned long)wxSysErrorCode();
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8046 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8053 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8054 PyObject
*resultobj
;
8055 unsigned long arg1
= (unsigned long) 0 ;
8057 PyObject
* obj0
= 0 ;
8059 (char *) "nErrCode", NULL
8062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
8064 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8069 result
= wxSysErrorMsg(arg1
);
8071 wxPyEndAllowThreads(__tstate
);
8072 if (PyErr_Occurred()) SWIG_fail
;
8076 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8078 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8087 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8088 PyObject
*resultobj
;
8089 wxString
*arg1
= 0 ;
8090 bool temp1
= False
;
8091 PyObject
* obj0
= 0 ;
8093 (char *) "msg", NULL
8096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
8098 arg1
= wxString_in_helper(obj0
);
8099 if (arg1
== NULL
) SWIG_fail
;
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 wxLogFatalError((wxString
const &)*arg1
);
8106 wxPyEndAllowThreads(__tstate
);
8107 if (PyErr_Occurred()) SWIG_fail
;
8109 Py_INCREF(Py_None
); resultobj
= Py_None
;
8124 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8125 PyObject
*resultobj
;
8126 wxString
*arg1
= 0 ;
8127 bool temp1
= False
;
8128 PyObject
* obj0
= 0 ;
8130 (char *) "msg", NULL
8133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8135 arg1
= wxString_in_helper(obj0
);
8136 if (arg1
== NULL
) SWIG_fail
;
8140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8141 wxLogError((wxString
const &)*arg1
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 Py_INCREF(Py_None
); resultobj
= Py_None
;
8161 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8162 PyObject
*resultobj
;
8163 wxString
*arg1
= 0 ;
8164 bool temp1
= False
;
8165 PyObject
* obj0
= 0 ;
8167 (char *) "msg", NULL
8170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8172 arg1
= wxString_in_helper(obj0
);
8173 if (arg1
== NULL
) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 wxLogWarning((wxString
const &)*arg1
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 Py_INCREF(Py_None
); resultobj
= Py_None
;
8198 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxString
*arg1
= 0 ;
8201 bool temp1
= False
;
8202 PyObject
* obj0
= 0 ;
8204 (char *) "msg", NULL
8207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8209 arg1
= wxString_in_helper(obj0
);
8210 if (arg1
== NULL
) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 wxLogMessage((wxString
const &)*arg1
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 Py_INCREF(Py_None
); resultobj
= Py_None
;
8235 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8236 PyObject
*resultobj
;
8237 wxString
*arg1
= 0 ;
8238 bool temp1
= False
;
8239 PyObject
* obj0
= 0 ;
8241 (char *) "msg", NULL
8244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8246 arg1
= wxString_in_helper(obj0
);
8247 if (arg1
== NULL
) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 wxLogInfo((wxString
const &)*arg1
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 Py_INCREF(Py_None
); resultobj
= Py_None
;
8272 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxString
*arg1
= 0 ;
8275 bool temp1
= False
;
8276 PyObject
* obj0
= 0 ;
8278 (char *) "msg", NULL
8281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8283 arg1
= wxString_in_helper(obj0
);
8284 if (arg1
== NULL
) SWIG_fail
;
8288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8289 wxLogDebug((wxString
const &)*arg1
);
8291 wxPyEndAllowThreads(__tstate
);
8292 if (PyErr_Occurred()) SWIG_fail
;
8294 Py_INCREF(Py_None
); resultobj
= Py_None
;
8309 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxString
*arg1
= 0 ;
8312 bool temp1
= False
;
8313 PyObject
* obj0
= 0 ;
8315 (char *) "msg", NULL
8318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8320 arg1
= wxString_in_helper(obj0
);
8321 if (arg1
== NULL
) SWIG_fail
;
8325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8326 wxLogVerbose((wxString
const &)*arg1
);
8328 wxPyEndAllowThreads(__tstate
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 Py_INCREF(Py_None
); resultobj
= Py_None
;
8346 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8347 PyObject
*resultobj
;
8348 wxString
*arg1
= 0 ;
8349 bool temp1
= False
;
8350 PyObject
* obj0
= 0 ;
8352 (char *) "msg", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8357 arg1
= wxString_in_helper(obj0
);
8358 if (arg1
== NULL
) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 wxLogStatus((wxString
const &)*arg1
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 Py_INCREF(Py_None
); resultobj
= Py_None
;
8383 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8384 PyObject
*resultobj
;
8385 wxFrame
*arg1
= (wxFrame
*) 0 ;
8386 wxString
*arg2
= 0 ;
8387 bool temp2
= False
;
8388 PyObject
* obj0
= 0 ;
8389 PyObject
* obj1
= 0 ;
8391 (char *) "pFrame",(char *) "msg", NULL
8394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8398 arg2
= wxString_in_helper(obj1
);
8399 if (arg2
== NULL
) SWIG_fail
;
8403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8404 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8406 wxPyEndAllowThreads(__tstate
);
8407 if (PyErr_Occurred()) SWIG_fail
;
8409 Py_INCREF(Py_None
); resultobj
= Py_None
;
8424 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8425 PyObject
*resultobj
;
8426 wxString
*arg1
= 0 ;
8427 bool temp1
= False
;
8428 PyObject
* obj0
= 0 ;
8430 (char *) "msg", NULL
8433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8435 arg1
= wxString_in_helper(obj0
);
8436 if (arg1
== NULL
) SWIG_fail
;
8440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8441 wxLogSysError((wxString
const &)*arg1
);
8443 wxPyEndAllowThreads(__tstate
);
8444 if (PyErr_Occurred()) SWIG_fail
;
8446 Py_INCREF(Py_None
); resultobj
= Py_None
;
8461 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8462 PyObject
*resultobj
;
8463 unsigned long arg1
;
8464 wxString
*arg2
= 0 ;
8465 bool temp2
= False
;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8469 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8470 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8471 if (PyErr_Occurred()) SWIG_fail
;
8473 arg2
= wxString_in_helper(obj1
);
8474 if (arg2
== NULL
) SWIG_fail
;
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8481 wxPyEndAllowThreads(__tstate
);
8482 if (PyErr_Occurred()) SWIG_fail
;
8484 Py_INCREF(Py_None
); resultobj
= Py_None
;
8499 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8500 PyObject
*resultobj
;
8501 wxString
*arg1
= 0 ;
8502 wxString
*arg2
= 0 ;
8503 bool temp1
= False
;
8504 bool temp2
= False
;
8505 PyObject
* obj0
= 0 ;
8506 PyObject
* obj1
= 0 ;
8508 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8510 arg1
= wxString_in_helper(obj0
);
8511 if (arg1
== NULL
) SWIG_fail
;
8515 arg2
= wxString_in_helper(obj1
);
8516 if (arg2
== NULL
) SWIG_fail
;
8520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8521 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8523 wxPyEndAllowThreads(__tstate
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8526 Py_INCREF(Py_None
); resultobj
= Py_None
;
8549 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8554 argc
= PyObject_Length(args
);
8555 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8556 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8561 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8565 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8568 return _wrap_LogTrace__SWIG_1(self
,args
);
8574 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8577 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8580 return _wrap_LogTrace__SWIG_0(self
,args
);
8585 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8590 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8591 PyObject
*resultobj
;
8592 unsigned long arg1
;
8593 wxString
*arg2
= 0 ;
8594 bool temp2
= False
;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8598 (char *) "level",(char *) "msg", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8602 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8603 if (PyErr_Occurred()) SWIG_fail
;
8605 arg2
= wxString_in_helper(obj1
);
8606 if (arg2
== NULL
) SWIG_fail
;
8610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8611 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8613 wxPyEndAllowThreads(__tstate
);
8614 if (PyErr_Occurred()) SWIG_fail
;
8616 Py_INCREF(Py_None
); resultobj
= Py_None
;
8631 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8632 PyObject
*resultobj
;
8633 wxString
*arg1
= 0 ;
8634 wxString
*arg2
= 0 ;
8635 bool temp1
= False
;
8636 bool temp2
= False
;
8637 PyObject
* obj0
= 0 ;
8638 PyObject
* obj1
= 0 ;
8640 (char *) "title",(char *) "text", NULL
8643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8645 arg1
= wxString_in_helper(obj0
);
8646 if (arg1
== NULL
) SWIG_fail
;
8650 arg2
= wxString_in_helper(obj1
);
8651 if (arg2
== NULL
) SWIG_fail
;
8655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8656 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8658 wxPyEndAllowThreads(__tstate
);
8659 if (PyErr_Occurred()) SWIG_fail
;
8661 Py_INCREF(Py_None
); resultobj
= Py_None
;
8684 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8685 PyObject
*resultobj
;
8691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (wxLogNull
*)new wxLogNull();
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8706 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8708 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8709 PyObject
* obj0
= 0 ;
8711 (char *) "self", NULL
8714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 wxPyEndAllowThreads(__tstate
);
8722 if (PyErr_Occurred()) SWIG_fail
;
8724 Py_INCREF(Py_None
); resultobj
= Py_None
;
8731 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8733 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8734 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8736 return Py_BuildValue((char *)"");
8738 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8739 PyObject
*resultobj
;
8745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 result
= (wxPyLog
*)new wxPyLog();
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8760 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8763 PyObject
*arg2
= (PyObject
*) 0 ;
8764 PyObject
*arg3
= (PyObject
*) 0 ;
8765 PyObject
* obj0
= 0 ;
8766 PyObject
* obj1
= 0 ;
8767 PyObject
* obj2
= 0 ;
8769 (char *) "self",(char *) "self",(char *) "_class", NULL
8772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8781 wxPyEndAllowThreads(__tstate
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8784 Py_INCREF(Py_None
); resultobj
= Py_None
;
8791 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8794 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8796 return Py_BuildValue((char *)"");
8798 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
;
8801 int arg2
= (int) wxSIGTERM
;
8803 PyObject
* obj0
= 0 ;
8804 PyObject
* obj1
= 0 ;
8806 (char *) "pid",(char *) "sig", NULL
8809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8810 arg1
= (int) SWIG_AsInt(obj0
);
8811 if (PyErr_Occurred()) SWIG_fail
;
8813 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8818 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 resultobj
= SWIG_FromInt((int)result
);
8830 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8831 PyObject
*resultobj
;
8834 PyObject
* obj0
= 0 ;
8836 (char *) "pid", NULL
8839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8840 arg1
= (int) SWIG_AsInt(obj0
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (bool)wxPyProcess::Exists(arg1
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8858 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8859 PyObject
*resultobj
;
8860 wxString
*arg1
= 0 ;
8861 int arg2
= (int) wxEXEC_ASYNC
;
8862 wxPyProcess
*result
;
8863 bool temp1
= False
;
8864 PyObject
* obj0
= 0 ;
8865 PyObject
* obj1
= 0 ;
8867 (char *) "cmd",(char *) "flags", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8872 arg1
= wxString_in_helper(obj0
);
8873 if (arg1
== NULL
) SWIG_fail
;
8877 arg2
= (int) SWIG_AsInt(obj1
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8884 wxPyEndAllowThreads(__tstate
);
8885 if (PyErr_Occurred()) SWIG_fail
;
8887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8902 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8903 PyObject
*resultobj
;
8904 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8905 int arg2
= (int) -1 ;
8906 wxPyProcess
*result
;
8907 PyObject
* obj0
= 0 ;
8908 PyObject
* obj1
= 0 ;
8910 (char *) "parent",(char *) "id", NULL
8913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8919 arg2
= (int) SWIG_AsInt(obj1
);
8920 if (PyErr_Occurred()) SWIG_fail
;
8923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8924 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8926 wxPyEndAllowThreads(__tstate
);
8927 if (PyErr_Occurred()) SWIG_fail
;
8929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8936 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8937 PyObject
*resultobj
;
8938 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8939 PyObject
*arg2
= (PyObject
*) 0 ;
8940 PyObject
*arg3
= (PyObject
*) 0 ;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj1
= 0 ;
8943 PyObject
* obj2
= 0 ;
8945 (char *) "self",(char *) "self",(char *) "_class", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8955 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8957 wxPyEndAllowThreads(__tstate
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8960 Py_INCREF(Py_None
); resultobj
= Py_None
;
8967 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8968 PyObject
*resultobj
;
8969 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8972 PyObject
* obj0
= 0 ;
8973 PyObject
* obj1
= 0 ;
8974 PyObject
* obj2
= 0 ;
8976 (char *) "self",(char *) "pid",(char *) "status", NULL
8979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8982 arg2
= (int) SWIG_AsInt(obj1
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8984 arg3
= (int) SWIG_AsInt(obj2
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8988 (arg1
)->base_OnTerminate(arg2
,arg3
);
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 Py_INCREF(Py_None
); resultobj
= Py_None
;
9000 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9003 PyObject
* obj0
= 0 ;
9005 (char *) "self", NULL
9008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
9009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9018 Py_INCREF(Py_None
); resultobj
= Py_None
;
9025 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9026 PyObject
*resultobj
;
9027 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9029 PyObject
* obj0
= 0 ;
9031 (char *) "self", NULL
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
9035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= (bool)(arg1
)->IsRedirected();
9041 wxPyEndAllowThreads(__tstate
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9053 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9054 PyObject
*resultobj
;
9055 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9056 PyObject
* obj0
= 0 ;
9058 (char *) "self", NULL
9061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
9062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 wxPyEndAllowThreads(__tstate
);
9069 if (PyErr_Occurred()) SWIG_fail
;
9071 Py_INCREF(Py_None
); resultobj
= Py_None
;
9078 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
;
9080 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9081 wxInputStream
*result
;
9082 PyObject
* obj0
= 0 ;
9084 (char *) "self", NULL
9087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
9088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9092 result
= (wxInputStream
*)(arg1
)->GetInputStream();
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9098 wxPyInputStream
* _ptr
= NULL
;
9101 _ptr
= new wxPyInputStream(result
);
9103 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9111 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9112 PyObject
*resultobj
;
9113 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9114 wxInputStream
*result
;
9115 PyObject
* obj0
= 0 ;
9117 (char *) "self", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9125 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9127 wxPyEndAllowThreads(__tstate
);
9128 if (PyErr_Occurred()) SWIG_fail
;
9131 wxPyInputStream
* _ptr
= NULL
;
9134 _ptr
= new wxPyInputStream(result
);
9136 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9144 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9145 PyObject
*resultobj
;
9146 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9147 wxOutputStream
*result
;
9148 PyObject
* obj0
= 0 ;
9150 (char *) "self", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9158 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9160 wxPyEndAllowThreads(__tstate
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9170 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
;
9172 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9173 PyObject
* obj0
= 0 ;
9175 (char *) "self", NULL
9178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9183 (arg1
)->CloseOutput();
9185 wxPyEndAllowThreads(__tstate
);
9186 if (PyErr_Occurred()) SWIG_fail
;
9188 Py_INCREF(Py_None
); resultobj
= Py_None
;
9195 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
;
9197 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9199 PyObject
* obj0
= 0 ;
9201 (char *) "self", NULL
9204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9209 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9211 wxPyEndAllowThreads(__tstate
);
9212 if (PyErr_Occurred()) SWIG_fail
;
9215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9223 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9224 PyObject
*resultobj
;
9225 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9227 PyObject
* obj0
= 0 ;
9229 (char *) "self", NULL
9232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9239 wxPyEndAllowThreads(__tstate
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9251 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9253 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9255 PyObject
* obj0
= 0 ;
9257 (char *) "self", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9271 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9279 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9282 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9284 return Py_BuildValue((char *)"");
9286 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 int arg1
= (int) 0 ;
9289 int arg2
= (int) 0 ;
9290 int arg3
= (int) 0 ;
9291 wxProcessEvent
*result
;
9292 PyObject
* obj0
= 0 ;
9293 PyObject
* obj1
= 0 ;
9294 PyObject
* obj2
= 0 ;
9296 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9301 arg1
= (int) SWIG_AsInt(obj0
);
9302 if (PyErr_Occurred()) SWIG_fail
;
9305 arg2
= (int) SWIG_AsInt(obj1
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9309 arg3
= (int) SWIG_AsInt(obj2
);
9310 if (PyErr_Occurred()) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9326 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9330 PyObject
* obj0
= 0 ;
9332 (char *) "self", NULL
9335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (int)(arg1
)->GetPid();
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9345 resultobj
= SWIG_FromInt((int)result
);
9352 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9353 PyObject
*resultobj
;
9354 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9356 PyObject
* obj0
= 0 ;
9358 (char *) "self", NULL
9361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9366 result
= (int)(arg1
)->GetExitCode();
9368 wxPyEndAllowThreads(__tstate
);
9369 if (PyErr_Occurred()) SWIG_fail
;
9371 resultobj
= SWIG_FromInt((int)result
);
9378 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9379 PyObject
*resultobj
;
9380 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9385 (char *) "self",(char *) "m_pid", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9391 arg2
= (int) SWIG_AsInt(obj1
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9393 if (arg1
) (arg1
)->m_pid
= arg2
;
9395 Py_INCREF(Py_None
); resultobj
= Py_None
;
9402 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9406 PyObject
* obj0
= 0 ;
9408 (char *) "self", NULL
9411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9414 result
= (int) ((arg1
)->m_pid
);
9416 resultobj
= SWIG_FromInt((int)result
);
9423 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
;
9425 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9430 (char *) "self",(char *) "m_exitcode", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9436 arg2
= (int) SWIG_AsInt(obj1
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9438 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9440 Py_INCREF(Py_None
); resultobj
= Py_None
;
9447 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9448 PyObject
*resultobj
;
9449 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9451 PyObject
* obj0
= 0 ;
9453 (char *) "self", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9459 result
= (int) ((arg1
)->m_exitcode
);
9461 resultobj
= SWIG_FromInt((int)result
);
9468 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9471 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9473 return Py_BuildValue((char *)"");
9475 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9476 PyObject
*resultobj
;
9477 wxString
*arg1
= 0 ;
9478 int arg2
= (int) wxEXEC_ASYNC
;
9479 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9481 bool temp1
= False
;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9484 PyObject
* obj2
= 0 ;
9486 (char *) "command",(char *) "flags",(char *) "process", NULL
9489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9491 arg1
= wxString_in_helper(obj0
);
9492 if (arg1
== NULL
) SWIG_fail
;
9496 arg2
= (int) SWIG_AsInt(obj1
);
9497 if (PyErr_Occurred()) SWIG_fail
;
9500 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9505 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9510 resultobj
= SWIG_FromLong((long)result
);
9525 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9526 PyObject
*resultobj
;
9527 int arg1
= (int) wxJOYSTICK1
;
9529 PyObject
* obj0
= 0 ;
9531 (char *) "joystick", NULL
9534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9536 arg1
= (int) SWIG_AsInt(obj0
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 result
= (wxJoystick
*)new wxJoystick(arg1
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9546 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9553 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9554 PyObject
*resultobj
;
9555 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9556 PyObject
* obj0
= 0 ;
9558 (char *) "self", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 Py_INCREF(Py_None
); resultobj
= Py_None
;
9578 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9579 PyObject
*resultobj
;
9580 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9582 PyObject
* obj0
= 0 ;
9584 (char *) "self", NULL
9587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9592 result
= (arg1
)->GetPosition();
9594 wxPyEndAllowThreads(__tstate
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9598 wxPoint
* resultptr
;
9599 resultptr
= new wxPoint((wxPoint
&) result
);
9600 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9608 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9612 PyObject
* obj0
= 0 ;
9614 (char *) "self", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9622 result
= (int)(arg1
)->GetZPosition();
9624 wxPyEndAllowThreads(__tstate
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9627 resultobj
= SWIG_FromInt((int)result
);
9634 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9635 PyObject
*resultobj
;
9636 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9638 PyObject
* obj0
= 0 ;
9640 (char *) "self", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9648 result
= (int)(arg1
)->GetButtonState();
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9653 resultobj
= SWIG_FromInt((int)result
);
9660 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
;
9662 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9664 PyObject
* obj0
= 0 ;
9666 (char *) "self", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (int)(arg1
)->GetPOVPosition();
9676 wxPyEndAllowThreads(__tstate
);
9677 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= SWIG_FromInt((int)result
);
9686 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9690 PyObject
* obj0
= 0 ;
9692 (char *) "self", NULL
9695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9700 result
= (int)(arg1
)->GetPOVCTSPosition();
9702 wxPyEndAllowThreads(__tstate
);
9703 if (PyErr_Occurred()) SWIG_fail
;
9705 resultobj
= SWIG_FromInt((int)result
);
9712 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9713 PyObject
*resultobj
;
9714 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9718 (char *) "self", NULL
9721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9726 result
= (int)(arg1
)->GetRudderPosition();
9728 wxPyEndAllowThreads(__tstate
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= SWIG_FromInt((int)result
);
9738 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9739 PyObject
*resultobj
;
9740 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9742 PyObject
* obj0
= 0 ;
9744 (char *) "self", NULL
9747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9752 result
= (int)(arg1
)->GetUPosition();
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_FromInt((int)result
);
9764 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9765 PyObject
*resultobj
;
9766 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9768 PyObject
* obj0
= 0 ;
9770 (char *) "self", NULL
9773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9778 result
= (int)(arg1
)->GetVPosition();
9780 wxPyEndAllowThreads(__tstate
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 resultobj
= SWIG_FromInt((int)result
);
9790 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9794 PyObject
* obj0
= 0 ;
9796 (char *) "self", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (int)(arg1
)->GetMovementThreshold();
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= SWIG_FromInt((int)result
);
9816 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9820 PyObject
* obj0
= 0 ;
9821 PyObject
* obj1
= 0 ;
9823 (char *) "self",(char *) "threshold", NULL
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9829 arg2
= (int) SWIG_AsInt(obj1
);
9830 if (PyErr_Occurred()) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 (arg1
)->SetMovementThreshold(arg2
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9838 Py_INCREF(Py_None
); resultobj
= Py_None
;
9845 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9846 PyObject
*resultobj
;
9847 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9849 PyObject
* obj0
= 0 ;
9851 (char *) "self", NULL
9854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (bool)(arg1
)->IsOk();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9873 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
;
9875 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9877 PyObject
* obj0
= 0 ;
9879 (char *) "self", NULL
9882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (int)(arg1
)->GetNumberJoysticks();
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9892 resultobj
= SWIG_FromInt((int)result
);
9899 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9900 PyObject
*resultobj
;
9901 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9903 PyObject
* obj0
= 0 ;
9905 (char *) "self", NULL
9908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9913 result
= (int)(arg1
)->GetManufacturerId();
9915 wxPyEndAllowThreads(__tstate
);
9916 if (PyErr_Occurred()) SWIG_fail
;
9918 resultobj
= SWIG_FromInt((int)result
);
9925 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9926 PyObject
*resultobj
;
9927 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9931 (char *) "self", NULL
9934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 result
= (int)(arg1
)->GetProductId();
9941 wxPyEndAllowThreads(__tstate
);
9942 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= SWIG_FromInt((int)result
);
9951 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9952 PyObject
*resultobj
;
9953 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9955 PyObject
* obj0
= 0 ;
9957 (char *) "self", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (arg1
)->GetProductName();
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9983 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9989 (char *) "self", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (int)(arg1
)->GetXMin();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= SWIG_FromInt((int)result
);
10009 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 char *kwnames
[] = {
10015 (char *) "self", NULL
10018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
10019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (int)(arg1
)->GetYMin();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= SWIG_FromInt((int)result
);
10035 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10036 PyObject
*resultobj
;
10037 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10039 PyObject
* obj0
= 0 ;
10040 char *kwnames
[] = {
10041 (char *) "self", NULL
10044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
10045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10049 result
= (int)(arg1
)->GetZMin();
10051 wxPyEndAllowThreads(__tstate
);
10052 if (PyErr_Occurred()) SWIG_fail
;
10054 resultobj
= SWIG_FromInt((int)result
);
10061 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10062 PyObject
*resultobj
;
10063 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10065 PyObject
* obj0
= 0 ;
10066 char *kwnames
[] = {
10067 (char *) "self", NULL
10070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
10071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10075 result
= (int)(arg1
)->GetXMax();
10077 wxPyEndAllowThreads(__tstate
);
10078 if (PyErr_Occurred()) SWIG_fail
;
10080 resultobj
= SWIG_FromInt((int)result
);
10087 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10089 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10091 PyObject
* obj0
= 0 ;
10092 char *kwnames
[] = {
10093 (char *) "self", NULL
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
10097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (int)(arg1
)->GetYMax();
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_FromInt((int)result
);
10113 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10114 PyObject
*resultobj
;
10115 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10117 PyObject
* obj0
= 0 ;
10118 char *kwnames
[] = {
10119 (char *) "self", NULL
10122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 result
= (int)(arg1
)->GetZMax();
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10132 resultobj
= SWIG_FromInt((int)result
);
10139 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
*resultobj
;
10141 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10143 PyObject
* obj0
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (int)(arg1
)->GetNumberButtons();
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= SWIG_FromInt((int)result
);
10165 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10167 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10169 PyObject
* obj0
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "self", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (int)(arg1
)->GetNumberAxes();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= SWIG_FromInt((int)result
);
10191 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 char *kwnames
[] = {
10197 (char *) "self", NULL
10200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (int)(arg1
)->GetMaxButtons();
10207 wxPyEndAllowThreads(__tstate
);
10208 if (PyErr_Occurred()) SWIG_fail
;
10210 resultobj
= SWIG_FromInt((int)result
);
10217 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10218 PyObject
*resultobj
;
10219 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10221 PyObject
* obj0
= 0 ;
10222 char *kwnames
[] = {
10223 (char *) "self", NULL
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10231 result
= (int)(arg1
)->GetMaxAxes();
10233 wxPyEndAllowThreads(__tstate
);
10234 if (PyErr_Occurred()) SWIG_fail
;
10236 resultobj
= SWIG_FromInt((int)result
);
10243 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10244 PyObject
*resultobj
;
10245 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 char *kwnames
[] = {
10249 (char *) "self", NULL
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (int)(arg1
)->GetPollingMin();
10259 wxPyEndAllowThreads(__tstate
);
10260 if (PyErr_Occurred()) SWIG_fail
;
10262 resultobj
= SWIG_FromInt((int)result
);
10269 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10270 PyObject
*resultobj
;
10271 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10273 PyObject
* obj0
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10283 result
= (int)(arg1
)->GetPollingMax();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_FromInt((int)result
);
10295 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
;
10297 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10299 PyObject
* obj0
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10309 result
= (int)(arg1
)->GetRudderMin();
10311 wxPyEndAllowThreads(__tstate
);
10312 if (PyErr_Occurred()) SWIG_fail
;
10314 resultobj
= SWIG_FromInt((int)result
);
10321 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10322 PyObject
*resultobj
;
10323 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10325 PyObject
* obj0
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10335 result
= (int)(arg1
)->GetRudderMax();
10337 wxPyEndAllowThreads(__tstate
);
10338 if (PyErr_Occurred()) SWIG_fail
;
10340 resultobj
= SWIG_FromInt((int)result
);
10347 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10348 PyObject
*resultobj
;
10349 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10351 PyObject
* obj0
= 0 ;
10352 char *kwnames
[] = {
10353 (char *) "self", NULL
10356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 result
= (int)(arg1
)->GetUMin();
10363 wxPyEndAllowThreads(__tstate
);
10364 if (PyErr_Occurred()) SWIG_fail
;
10366 resultobj
= SWIG_FromInt((int)result
);
10373 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10374 PyObject
*resultobj
;
10375 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10377 PyObject
* obj0
= 0 ;
10378 char *kwnames
[] = {
10379 (char *) "self", NULL
10382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10387 result
= (int)(arg1
)->GetUMax();
10389 wxPyEndAllowThreads(__tstate
);
10390 if (PyErr_Occurred()) SWIG_fail
;
10392 resultobj
= SWIG_FromInt((int)result
);
10399 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10400 PyObject
*resultobj
;
10401 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10403 PyObject
* obj0
= 0 ;
10404 char *kwnames
[] = {
10405 (char *) "self", NULL
10408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10413 result
= (int)(arg1
)->GetVMin();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= SWIG_FromInt((int)result
);
10425 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
;
10427 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10429 PyObject
* obj0
= 0 ;
10430 char *kwnames
[] = {
10431 (char *) "self", NULL
10434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (int)(arg1
)->GetVMax();
10441 wxPyEndAllowThreads(__tstate
);
10442 if (PyErr_Occurred()) SWIG_fail
;
10444 resultobj
= SWIG_FromInt((int)result
);
10451 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10452 PyObject
*resultobj
;
10453 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10455 PyObject
* obj0
= 0 ;
10456 char *kwnames
[] = {
10457 (char *) "self", NULL
10460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (bool)(arg1
)->HasRudder();
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10479 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10483 PyObject
* obj0
= 0 ;
10484 char *kwnames
[] = {
10485 (char *) "self", NULL
10488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10493 result
= (bool)(arg1
)->HasZ();
10495 wxPyEndAllowThreads(__tstate
);
10496 if (PyErr_Occurred()) SWIG_fail
;
10499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10507 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10511 PyObject
* obj0
= 0 ;
10512 char *kwnames
[] = {
10513 (char *) "self", NULL
10516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 result
= (bool)(arg1
)->HasU();
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10535 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10539 PyObject
* obj0
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 result
= (bool)(arg1
)->HasV();
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10563 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10567 PyObject
* obj0
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (bool)(arg1
)->HasPOV();
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10591 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10595 PyObject
* obj0
= 0 ;
10596 char *kwnames
[] = {
10597 (char *) "self", NULL
10600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10605 result
= (bool)(arg1
)->HasPOV4Dir();
10607 wxPyEndAllowThreads(__tstate
);
10608 if (PyErr_Occurred()) SWIG_fail
;
10611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10619 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (bool)(arg1
)->HasPOVCTS();
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10647 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10650 wxWindow
*arg2
= (wxWindow
*) 0 ;
10651 int arg3
= (int) 0 ;
10653 PyObject
* obj0
= 0 ;
10654 PyObject
* obj1
= 0 ;
10655 PyObject
* obj2
= 0 ;
10656 char *kwnames
[] = {
10657 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 arg3
= (int) SWIG_AsInt(obj2
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10671 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10673 wxPyEndAllowThreads(__tstate
);
10674 if (PyErr_Occurred()) SWIG_fail
;
10677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10685 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10689 PyObject
* obj0
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10699 result
= (bool)(arg1
)->ReleaseCapture();
10701 wxPyEndAllowThreads(__tstate
);
10702 if (PyErr_Occurred()) SWIG_fail
;
10705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10713 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10716 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10718 return Py_BuildValue((char *)"");
10720 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10723 wxPoint
*arg2
= (wxPoint
*) 0 ;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self",(char *) "m_pos", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10735 if (arg1
) (arg1
)->m_pos
= *arg2
;
10737 Py_INCREF(Py_None
); resultobj
= Py_None
;
10744 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10745 PyObject
*resultobj
;
10746 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10748 PyObject
* obj0
= 0 ;
10749 char *kwnames
[] = {
10750 (char *) "self", NULL
10753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10756 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10765 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10769 PyObject
* obj0
= 0 ;
10770 PyObject
* obj1
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "m_zPosition", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 arg2
= (int) SWIG_AsInt(obj1
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10780 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10782 Py_INCREF(Py_None
); resultobj
= Py_None
;
10789 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
;
10791 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10793 PyObject
* obj0
= 0 ;
10794 char *kwnames
[] = {
10795 (char *) "self", NULL
10798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10801 result
= (int) ((arg1
)->m_zPosition
);
10803 resultobj
= SWIG_FromInt((int)result
);
10810 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
;
10812 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10814 PyObject
* obj0
= 0 ;
10815 PyObject
* obj1
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self",(char *) "m_buttonChange", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10823 arg2
= (int) SWIG_AsInt(obj1
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10825 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10827 Py_INCREF(Py_None
); resultobj
= Py_None
;
10834 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10835 PyObject
*resultobj
;
10836 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10838 PyObject
* obj0
= 0 ;
10839 char *kwnames
[] = {
10840 (char *) "self", NULL
10843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10846 result
= (int) ((arg1
)->m_buttonChange
);
10848 resultobj
= SWIG_FromInt((int)result
);
10855 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10859 PyObject
* obj0
= 0 ;
10860 PyObject
* obj1
= 0 ;
10861 char *kwnames
[] = {
10862 (char *) "self",(char *) "m_buttonState", NULL
10865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10868 arg2
= (int) SWIG_AsInt(obj1
);
10869 if (PyErr_Occurred()) SWIG_fail
;
10870 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10872 Py_INCREF(Py_None
); resultobj
= Py_None
;
10879 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10891 result
= (int) ((arg1
)->m_buttonState
);
10893 resultobj
= SWIG_FromInt((int)result
);
10900 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "m_joyStick", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10913 arg2
= (int) SWIG_AsInt(obj1
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10915 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10917 Py_INCREF(Py_None
); resultobj
= Py_None
;
10924 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10925 PyObject
*resultobj
;
10926 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10928 PyObject
* obj0
= 0 ;
10929 char *kwnames
[] = {
10930 (char *) "self", NULL
10933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10936 result
= (int) ((arg1
)->m_joyStick
);
10938 resultobj
= SWIG_FromInt((int)result
);
10945 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
;
10947 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10948 int arg2
= (int) 0 ;
10949 int arg3
= (int) wxJOYSTICK1
;
10950 int arg4
= (int) 0 ;
10951 wxJoystickEvent
*result
;
10952 PyObject
* obj0
= 0 ;
10953 PyObject
* obj1
= 0 ;
10954 PyObject
* obj2
= 0 ;
10955 PyObject
* obj3
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10962 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10966 arg2
= (int) SWIG_AsInt(obj1
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10970 arg3
= (int) SWIG_AsInt(obj2
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10974 arg4
= (int) SWIG_AsInt(obj3
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10991 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10995 PyObject
* obj0
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "self", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11005 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
11007 wxPyEndAllowThreads(__tstate
);
11008 if (PyErr_Occurred()) SWIG_fail
;
11011 wxPoint
* resultptr
;
11012 resultptr
= new wxPoint((wxPoint
&) result
);
11013 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
11021 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11022 PyObject
*resultobj
;
11023 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11025 PyObject
* obj0
= 0 ;
11026 char *kwnames
[] = {
11027 (char *) "self", NULL
11030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
11031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11035 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= SWIG_FromInt((int)result
);
11047 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11048 PyObject
*resultobj
;
11049 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11051 PyObject
* obj0
= 0 ;
11052 char *kwnames
[] = {
11053 (char *) "self", NULL
11056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
11057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11061 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
11063 wxPyEndAllowThreads(__tstate
);
11064 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= SWIG_FromInt((int)result
);
11073 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11077 PyObject
* obj0
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11087 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
11089 wxPyEndAllowThreads(__tstate
);
11090 if (PyErr_Occurred()) SWIG_fail
;
11092 resultobj
= SWIG_FromInt((int)result
);
11099 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11100 PyObject
*resultobj
;
11101 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11103 PyObject
* obj0
= 0 ;
11104 char *kwnames
[] = {
11105 (char *) "self", NULL
11108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11113 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 resultobj
= SWIG_FromInt((int)result
);
11125 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11126 PyObject
*resultobj
;
11127 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11129 PyObject
* obj0
= 0 ;
11130 PyObject
* obj1
= 0 ;
11131 char *kwnames
[] = {
11132 (char *) "self",(char *) "stick", NULL
11135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11138 arg2
= (int) SWIG_AsInt(obj1
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 (arg1
)->SetJoystick(arg2
);
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 Py_INCREF(Py_None
); resultobj
= Py_None
;
11154 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
;
11156 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 char *kwnames
[] = {
11161 (char *) "self",(char *) "state", NULL
11164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11167 arg2
= (int) SWIG_AsInt(obj1
);
11168 if (PyErr_Occurred()) SWIG_fail
;
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 (arg1
)->SetButtonState(arg2
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 Py_INCREF(Py_None
); resultobj
= Py_None
;
11183 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 char *kwnames
[] = {
11190 (char *) "self",(char *) "change", NULL
11193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11196 arg2
= (int) SWIG_AsInt(obj1
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 (arg1
)->SetButtonChange(arg2
);
11202 wxPyEndAllowThreads(__tstate
);
11203 if (PyErr_Occurred()) SWIG_fail
;
11205 Py_INCREF(Py_None
); resultobj
= Py_None
;
11212 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
;
11214 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11215 wxPoint
*arg2
= 0 ;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 char *kwnames
[] = {
11220 (char *) "self",(char *) "pos", NULL
11223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11228 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11232 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 Py_INCREF(Py_None
); resultobj
= Py_None
;
11244 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11245 PyObject
*resultobj
;
11246 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self",(char *) "zPos", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11257 arg2
= (int) SWIG_AsInt(obj1
);
11258 if (PyErr_Occurred()) SWIG_fail
;
11260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11261 (arg1
)->SetZPosition(arg2
);
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 Py_INCREF(Py_None
); resultobj
= Py_None
;
11273 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11275 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11277 PyObject
* obj0
= 0 ;
11278 char *kwnames
[] = {
11279 (char *) "self", NULL
11282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11287 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11289 wxPyEndAllowThreads(__tstate
);
11290 if (PyErr_Occurred()) SWIG_fail
;
11293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11301 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11329 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11330 PyObject
*resultobj
;
11331 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11333 PyObject
* obj0
= 0 ;
11334 char *kwnames
[] = {
11335 (char *) "self", NULL
11338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11343 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11345 wxPyEndAllowThreads(__tstate
);
11346 if (PyErr_Occurred()) SWIG_fail
;
11349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11357 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11360 int arg2
= (int) wxJOY_BUTTON_ANY
;
11362 PyObject
* obj0
= 0 ;
11363 PyObject
* obj1
= 0 ;
11364 char *kwnames
[] = {
11365 (char *) "self",(char *) "but", NULL
11368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11372 arg2
= (int) SWIG_AsInt(obj1
);
11373 if (PyErr_Occurred()) SWIG_fail
;
11376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11377 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11379 wxPyEndAllowThreads(__tstate
);
11380 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11391 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11392 PyObject
*resultobj
;
11393 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11394 int arg2
= (int) wxJOY_BUTTON_ANY
;
11396 PyObject
* obj0
= 0 ;
11397 PyObject
* obj1
= 0 ;
11398 char *kwnames
[] = {
11399 (char *) "self",(char *) "but", NULL
11402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11406 arg2
= (int) SWIG_AsInt(obj1
);
11407 if (PyErr_Occurred()) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11425 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11427 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11428 int arg2
= (int) wxJOY_BUTTON_ANY
;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self",(char *) "but", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11440 arg2
= (int) SWIG_AsInt(obj1
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11459 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11462 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11464 return Py_BuildValue((char *)"");
11466 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxString
const &arg1_defvalue
= wxPyEmptyString
;
11469 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
11471 bool temp1
= False
;
11472 PyObject
* obj0
= 0 ;
11473 char *kwnames
[] = {
11474 (char *) "fileName", NULL
11477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Sound",kwnames
,&obj0
)) goto fail
;
11480 arg1
= wxString_in_helper(obj0
);
11481 if (arg1
== NULL
) SWIG_fail
;
11486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11487 result
= (wxSound
*)new_wxSound((wxString
const &)*arg1
);
11489 wxPyEndAllowThreads(__tstate
);
11490 if (PyErr_Occurred()) SWIG_fail
;
11492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11507 static PyObject
*_wrap_new_SoundFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11508 PyObject
*resultobj
;
11509 PyObject
*arg1
= (PyObject
*) 0 ;
11511 PyObject
* obj0
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "data", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_SoundFromData",kwnames
,&obj0
)) goto fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 result
= (wxSound
*)new_wxSound(arg1
);
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11532 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11534 wxSound
*arg1
= (wxSound
*) 0 ;
11535 PyObject
* obj0
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "self", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11547 wxPyEndAllowThreads(__tstate
);
11548 if (PyErr_Occurred()) SWIG_fail
;
11550 Py_INCREF(Py_None
); resultobj
= Py_None
;
11557 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11558 PyObject
*resultobj
;
11559 wxSound
*arg1
= (wxSound
*) 0 ;
11560 wxString
*arg2
= 0 ;
11562 bool temp2
= False
;
11563 PyObject
* obj0
= 0 ;
11564 PyObject
* obj1
= 0 ;
11565 char *kwnames
[] = {
11566 (char *) "self",(char *) "fileName", NULL
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_Create",kwnames
,&obj0
,&obj1
)) goto fail
;
11570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11573 arg2
= wxString_in_helper(obj1
);
11574 if (arg2
== NULL
) SWIG_fail
;
11578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11579 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
);
11581 wxPyEndAllowThreads(__tstate
);
11582 if (PyErr_Occurred()) SWIG_fail
;
11585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11601 static PyObject
*_wrap_Sound_CreateFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11602 PyObject
*resultobj
;
11603 wxSound
*arg1
= (wxSound
*) 0 ;
11604 PyObject
*arg2
= (PyObject
*) 0 ;
11606 PyObject
* obj0
= 0 ;
11607 PyObject
* obj1
= 0 ;
11608 char *kwnames
[] = {
11609 (char *) "self",(char *) "data", NULL
11612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sound_CreateFromData",kwnames
,&obj0
,&obj1
)) goto fail
;
11613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11618 result
= (bool)wxSound_CreateFromData(arg1
,arg2
);
11620 wxPyEndAllowThreads(__tstate
);
11621 if (PyErr_Occurred()) SWIG_fail
;
11624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11632 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11633 PyObject
*resultobj
;
11634 wxSound
*arg1
= (wxSound
*) 0 ;
11636 PyObject
* obj0
= 0 ;
11637 char *kwnames
[] = {
11638 (char *) "self", NULL
11641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 result
= (bool)(arg1
)->IsOk();
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11660 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxSound
*arg1
= (wxSound
*) 0 ;
11663 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11665 PyObject
* obj0
= 0 ;
11666 PyObject
* obj1
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "self",(char *) "flags", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_Play",kwnames
,&obj0
,&obj1
)) goto fail
;
11672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11675 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11694 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
;
11696 wxString
*arg1
= 0 ;
11697 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11699 bool temp1
= False
;
11700 PyObject
* obj0
= 0 ;
11701 PyObject
* obj1
= 0 ;
11702 char *kwnames
[] = {
11703 (char *) "filename",(char *) "flags", NULL
11706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sound_PlaySound",kwnames
,&obj0
,&obj1
)) goto fail
;
11708 arg1
= wxString_in_helper(obj0
);
11709 if (arg1
== NULL
) SWIG_fail
;
11713 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11720 wxPyEndAllowThreads(__tstate
);
11721 if (PyErr_Occurred()) SWIG_fail
;
11724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11740 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11741 PyObject
*resultobj
;
11742 char *kwnames
[] = {
11746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11751 wxPyEndAllowThreads(__tstate
);
11752 if (PyErr_Occurred()) SWIG_fail
;
11754 Py_INCREF(Py_None
); resultobj
= Py_None
;
11761 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11764 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11766 return Py_BuildValue((char *)"");
11768 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11769 PyObject
*resultobj
;
11770 wxString
*arg1
= 0 ;
11771 wxString
*arg2
= 0 ;
11772 wxString
*arg3
= 0 ;
11773 wxString
*arg4
= 0 ;
11774 wxFileTypeInfo
*result
;
11775 bool temp1
= False
;
11776 bool temp2
= False
;
11777 bool temp3
= False
;
11778 bool temp4
= False
;
11779 PyObject
* obj0
= 0 ;
11780 PyObject
* obj1
= 0 ;
11781 PyObject
* obj2
= 0 ;
11782 PyObject
* obj3
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11789 arg1
= wxString_in_helper(obj0
);
11790 if (arg1
== NULL
) SWIG_fail
;
11794 arg2
= wxString_in_helper(obj1
);
11795 if (arg2
== NULL
) SWIG_fail
;
11799 arg3
= wxString_in_helper(obj2
);
11800 if (arg3
== NULL
) SWIG_fail
;
11804 arg4
= wxString_in_helper(obj3
);
11805 if (arg4
== NULL
) SWIG_fail
;
11809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11810 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11854 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11855 PyObject
*resultobj
;
11856 wxArrayString
*arg1
= 0 ;
11857 wxFileTypeInfo
*result
;
11858 bool temp1
= False
;
11859 PyObject
* obj0
= 0 ;
11860 char *kwnames
[] = {
11861 (char *) "sArray", NULL
11864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11866 if (! PySequence_Check(obj0
)) {
11867 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11870 arg1
= new wxArrayString
;
11872 int i
, len
=PySequence_Length(obj0
);
11873 for (i
=0; i
<len
; i
++) {
11874 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11876 PyObject
* str
= PyObject_Unicode(item
);
11878 PyObject
* str
= PyObject_Str(item
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11881 arg1
->Add(Py2wxString(str
));
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11895 if (temp1
) delete arg1
;
11900 if (temp1
) delete arg1
;
11906 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11907 PyObject
*resultobj
;
11908 wxFileTypeInfo
*result
;
11909 char *kwnames
[] = {
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11928 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11929 PyObject
*resultobj
;
11930 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11942 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11956 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11957 PyObject
*resultobj
;
11958 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11959 wxString
*arg2
= 0 ;
11960 int arg3
= (int) 0 ;
11961 bool temp2
= False
;
11962 PyObject
* obj0
= 0 ;
11963 PyObject
* obj1
= 0 ;
11964 PyObject
* obj2
= 0 ;
11965 char *kwnames
[] = {
11966 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11973 arg2
= wxString_in_helper(obj1
);
11974 if (arg2
== NULL
) SWIG_fail
;
11978 arg3
= (int) SWIG_AsInt(obj2
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11983 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 Py_INCREF(Py_None
); resultobj
= Py_None
;
12003 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12006 wxString
*arg2
= 0 ;
12007 bool temp2
= False
;
12008 PyObject
* obj0
= 0 ;
12009 PyObject
* obj1
= 0 ;
12010 char *kwnames
[] = {
12011 (char *) "self",(char *) "shortDesc", NULL
12014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12018 arg2
= wxString_in_helper(obj1
);
12019 if (arg2
== NULL
) SWIG_fail
;
12023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12024 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12026 wxPyEndAllowThreads(__tstate
);
12027 if (PyErr_Occurred()) SWIG_fail
;
12029 Py_INCREF(Py_None
); resultobj
= Py_None
;
12044 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12045 PyObject
*resultobj
;
12046 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12048 PyObject
* obj0
= 0 ;
12049 char *kwnames
[] = {
12050 (char *) "self", NULL
12053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12059 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12060 result
= (wxString
*) &_result_ref
;
12063 wxPyEndAllowThreads(__tstate
);
12064 if (PyErr_Occurred()) SWIG_fail
;
12068 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12070 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12079 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12095 result
= (wxString
*) &_result_ref
;
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12105 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12114 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12115 PyObject
*resultobj
;
12116 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12118 PyObject
* obj0
= 0 ;
12119 char *kwnames
[] = {
12120 (char *) "self", NULL
12123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12129 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12130 result
= (wxString
*) &_result_ref
;
12133 wxPyEndAllowThreads(__tstate
);
12134 if (PyErr_Occurred()) SWIG_fail
;
12138 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12140 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12149 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
;
12151 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12153 PyObject
* obj0
= 0 ;
12154 char *kwnames
[] = {
12155 (char *) "self", NULL
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12164 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12165 result
= (wxString
*) &_result_ref
;
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12173 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12175 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12184 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12185 PyObject
*resultobj
;
12186 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12188 PyObject
* obj0
= 0 ;
12189 char *kwnames
[] = {
12190 (char *) "self", NULL
12193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12200 result
= (wxString
*) &_result_ref
;
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12208 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12210 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12219 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12220 PyObject
*resultobj
;
12221 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12222 wxArrayString
*result
;
12223 PyObject
* obj0
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12235 result
= (wxArrayString
*) &_result_ref
;
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12242 resultobj
= wxArrayString2PyList_helper(*result
);
12250 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
;
12252 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12254 PyObject
* obj0
= 0 ;
12255 char *kwnames
[] = {
12256 (char *) "self", NULL
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12264 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12266 wxPyEndAllowThreads(__tstate
);
12267 if (PyErr_Occurred()) SWIG_fail
;
12269 resultobj
= SWIG_FromInt((int)result
);
12276 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12277 PyObject
*resultobj
;
12278 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12280 PyObject
* obj0
= 0 ;
12281 char *kwnames
[] = {
12282 (char *) "self", NULL
12285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12292 result
= (wxString
*) &_result_ref
;
12295 wxPyEndAllowThreads(__tstate
);
12296 if (PyErr_Occurred()) SWIG_fail
;
12300 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12302 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12311 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
;
12313 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12315 PyObject
* obj0
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= SWIG_FromInt((int)result
);
12337 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12340 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12342 return Py_BuildValue((char *)"");
12344 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxFileTypeInfo
*arg1
= 0 ;
12347 wxFileType
*result
;
12348 PyObject
* obj0
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "ftInfo", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12357 if (arg1
== NULL
) {
12358 PyErr_SetString(PyExc_TypeError
,"null reference");
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12375 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
;
12377 wxFileType
*arg1
= (wxFileType
*) 0 ;
12378 PyObject
* obj0
= 0 ;
12379 char *kwnames
[] = {
12380 (char *) "self", NULL
12383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12390 wxPyEndAllowThreads(__tstate
);
12391 if (PyErr_Occurred()) SWIG_fail
;
12393 Py_INCREF(Py_None
); resultobj
= Py_None
;
12400 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12401 PyObject
*resultobj
;
12402 wxFileType
*arg1
= (wxFileType
*) 0 ;
12404 PyObject
* obj0
= 0 ;
12405 char *kwnames
[] = {
12406 (char *) "self", NULL
12409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12414 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12416 wxPyEndAllowThreads(__tstate
);
12417 if (PyErr_Occurred()) SWIG_fail
;
12419 resultobj
= result
;
12426 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12427 PyObject
*resultobj
;
12428 wxFileType
*arg1
= (wxFileType
*) 0 ;
12430 PyObject
* obj0
= 0 ;
12431 char *kwnames
[] = {
12432 (char *) "self", NULL
12435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12440 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 resultobj
= result
;
12452 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxFileType
*arg1
= (wxFileType
*) 0 ;
12456 PyObject
* obj0
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "self", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12466 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12468 wxPyEndAllowThreads(__tstate
);
12469 if (PyErr_Occurred()) SWIG_fail
;
12471 resultobj
= result
;
12478 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12479 PyObject
*resultobj
;
12480 wxFileType
*arg1
= (wxFileType
*) 0 ;
12482 PyObject
* obj0
= 0 ;
12483 char *kwnames
[] = {
12484 (char *) "self", NULL
12487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12504 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxFileType
*arg1
= (wxFileType
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12518 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12520 wxPyEndAllowThreads(__tstate
);
12521 if (PyErr_Occurred()) SWIG_fail
;
12523 resultobj
= result
;
12530 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12531 PyObject
*resultobj
;
12532 wxFileType
*arg1
= (wxFileType
*) 0 ;
12534 PyObject
* obj0
= 0 ;
12535 char *kwnames
[] = {
12536 (char *) "self", NULL
12539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= result
;
12556 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxFileType
*arg1
= (wxFileType
*) 0 ;
12559 wxString
*arg2
= 0 ;
12560 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12561 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12563 bool temp2
= False
;
12564 bool temp3
= False
;
12565 PyObject
* obj0
= 0 ;
12566 PyObject
* obj1
= 0 ;
12567 PyObject
* obj2
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12576 arg2
= wxString_in_helper(obj1
);
12577 if (arg2
== NULL
) SWIG_fail
;
12582 arg3
= wxString_in_helper(obj2
);
12583 if (arg3
== NULL
) SWIG_fail
;
12588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12589 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12591 wxPyEndAllowThreads(__tstate
);
12592 if (PyErr_Occurred()) SWIG_fail
;
12594 resultobj
= result
;
12617 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12618 PyObject
*resultobj
;
12619 wxFileType
*arg1
= (wxFileType
*) 0 ;
12620 wxString
*arg2
= 0 ;
12621 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12622 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12624 bool temp2
= False
;
12625 bool temp3
= False
;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 PyObject
* obj2
= 0 ;
12629 char *kwnames
[] = {
12630 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12637 arg2
= wxString_in_helper(obj1
);
12638 if (arg2
== NULL
) SWIG_fail
;
12643 arg3
= wxString_in_helper(obj2
);
12644 if (arg3
== NULL
) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= result
;
12678 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12679 PyObject
*resultobj
;
12680 wxFileType
*arg1
= (wxFileType
*) 0 ;
12681 wxString
*arg2
= 0 ;
12682 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12683 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12685 bool temp2
= False
;
12686 bool temp3
= False
;
12687 PyObject
* obj0
= 0 ;
12688 PyObject
* obj1
= 0 ;
12689 PyObject
* obj2
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12698 arg2
= wxString_in_helper(obj1
);
12699 if (arg2
== NULL
) SWIG_fail
;
12704 arg3
= wxString_in_helper(obj2
);
12705 if (arg3
== NULL
) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12713 wxPyEndAllowThreads(__tstate
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 resultobj
= result
;
12739 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12740 PyObject
*resultobj
;
12741 wxFileType
*arg1
= (wxFileType
*) 0 ;
12742 wxString
*arg2
= 0 ;
12743 wxString
*arg3
= 0 ;
12744 bool arg4
= (bool) True
;
12746 bool temp2
= False
;
12747 bool temp3
= False
;
12748 PyObject
* obj0
= 0 ;
12749 PyObject
* obj1
= 0 ;
12750 PyObject
* obj2
= 0 ;
12751 PyObject
* obj3
= 0 ;
12752 char *kwnames
[] = {
12753 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12760 arg2
= wxString_in_helper(obj1
);
12761 if (arg2
== NULL
) SWIG_fail
;
12765 arg3
= wxString_in_helper(obj2
);
12766 if (arg3
== NULL
) SWIG_fail
;
12770 arg4
= (bool) SWIG_AsBool(obj3
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12775 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12777 wxPyEndAllowThreads(__tstate
);
12778 if (PyErr_Occurred()) SWIG_fail
;
12781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12805 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
;
12807 wxFileType
*arg1
= (wxFileType
*) 0 ;
12808 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12809 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12810 int arg3
= (int) 0 ;
12812 bool temp2
= False
;
12813 PyObject
* obj0
= 0 ;
12814 PyObject
* obj1
= 0 ;
12815 PyObject
* obj2
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "cmd",(char *) "index", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12825 arg2
= wxString_in_helper(obj1
);
12826 if (arg2
== NULL
) SWIG_fail
;
12831 arg3
= (int) SWIG_AsInt(obj2
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12858 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
;
12860 wxFileType
*arg1
= (wxFileType
*) 0 ;
12862 PyObject
* obj0
= 0 ;
12863 char *kwnames
[] = {
12864 (char *) "self", NULL
12867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= (bool)(arg1
)->Unassociate();
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12886 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxString
*arg1
= 0 ;
12889 wxString
*arg2
= 0 ;
12890 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12891 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12893 bool temp1
= False
;
12894 bool temp2
= False
;
12895 bool temp3
= False
;
12896 PyObject
* obj0
= 0 ;
12897 PyObject
* obj1
= 0 ;
12898 PyObject
* obj2
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12905 arg1
= wxString_in_helper(obj0
);
12906 if (arg1
== NULL
) SWIG_fail
;
12910 arg2
= wxString_in_helper(obj1
);
12911 if (arg2
== NULL
) SWIG_fail
;
12916 arg3
= wxString_in_helper(obj2
);
12917 if (arg3
== NULL
) SWIG_fail
;
12922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12923 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12925 wxPyEndAllowThreads(__tstate
);
12926 if (PyErr_Occurred()) SWIG_fail
;
12930 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12932 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12965 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
12967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12968 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12970 return Py_BuildValue((char *)"");
12972 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
12973 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12978 static PyObject
*_wrap_TheMimeTypesManager_get() {
12981 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12986 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12987 PyObject
*resultobj
;
12988 wxString
*arg1
= 0 ;
12989 wxString
*arg2
= 0 ;
12991 bool temp1
= False
;
12992 bool temp2
= False
;
12993 PyObject
* obj0
= 0 ;
12994 PyObject
* obj1
= 0 ;
12995 char *kwnames
[] = {
12996 (char *) "mimeType",(char *) "wildcard", NULL
12999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13001 arg1
= wxString_in_helper(obj0
);
13002 if (arg1
== NULL
) SWIG_fail
;
13006 arg2
= wxString_in_helper(obj1
);
13007 if (arg2
== NULL
) SWIG_fail
;
13011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13012 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13014 wxPyEndAllowThreads(__tstate
);
13015 if (PyErr_Occurred()) SWIG_fail
;
13018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13042 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxMimeTypesManager
*result
;
13045 char *kwnames
[] = {
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13064 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13065 PyObject
*resultobj
;
13066 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13067 int arg2
= (int) wxMAILCAP_ALL
;
13068 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13069 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13070 bool temp3
= False
;
13071 PyObject
* obj0
= 0 ;
13072 PyObject
* obj1
= 0 ;
13073 PyObject
* obj2
= 0 ;
13074 char *kwnames
[] = {
13075 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13082 arg2
= (int) SWIG_AsInt(obj1
);
13083 if (PyErr_Occurred()) SWIG_fail
;
13087 arg3
= wxString_in_helper(obj2
);
13088 if (arg3
== NULL
) SWIG_fail
;
13093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13096 wxPyEndAllowThreads(__tstate
);
13097 if (PyErr_Occurred()) SWIG_fail
;
13099 Py_INCREF(Py_None
); resultobj
= Py_None
;
13114 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13117 PyObject
* obj0
= 0 ;
13118 char *kwnames
[] = {
13119 (char *) "self", NULL
13122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13127 (arg1
)->ClearData();
13129 wxPyEndAllowThreads(__tstate
);
13130 if (PyErr_Occurred()) SWIG_fail
;
13132 Py_INCREF(Py_None
); resultobj
= Py_None
;
13139 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13142 wxString
*arg2
= 0 ;
13143 wxFileType
*result
;
13144 bool temp2
= False
;
13145 PyObject
* obj0
= 0 ;
13146 PyObject
* obj1
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self",(char *) "ext", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13155 arg2
= wxString_in_helper(obj1
);
13156 if (arg2
== NULL
) SWIG_fail
;
13160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13161 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13163 wxPyEndAllowThreads(__tstate
);
13164 if (PyErr_Occurred()) SWIG_fail
;
13166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13181 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13182 PyObject
*resultobj
;
13183 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13184 wxString
*arg2
= 0 ;
13185 wxFileType
*result
;
13186 bool temp2
= False
;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "self",(char *) "mimeType", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13197 arg2
= wxString_in_helper(obj1
);
13198 if (arg2
== NULL
) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13223 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13224 PyObject
*resultobj
;
13225 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13226 wxString
*arg2
= 0 ;
13227 bool arg3
= (bool) False
;
13229 bool temp2
= False
;
13230 PyObject
* obj0
= 0 ;
13231 PyObject
* obj1
= 0 ;
13232 PyObject
* obj2
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13241 arg2
= wxString_in_helper(obj1
);
13242 if (arg2
== NULL
) SWIG_fail
;
13246 arg3
= (bool) SWIG_AsBool(obj2
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13251 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13253 wxPyEndAllowThreads(__tstate
);
13254 if (PyErr_Occurred()) SWIG_fail
;
13257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13273 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13276 wxString
*arg2
= 0 ;
13278 bool temp2
= False
;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self",(char *) "filename", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13289 arg2
= wxString_in_helper(obj1
);
13290 if (arg2
== NULL
) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13317 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13318 PyObject
*resultobj
;
13319 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13321 PyObject
* obj0
= 0 ;
13322 char *kwnames
[] = {
13323 (char *) "self", NULL
13326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13331 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13333 wxPyEndAllowThreads(__tstate
);
13334 if (PyErr_Occurred()) SWIG_fail
;
13336 resultobj
= result
;
13343 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13344 PyObject
*resultobj
;
13345 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13346 wxFileTypeInfo
*arg2
= 0 ;
13347 PyObject
* obj0
= 0 ;
13348 PyObject
* obj1
= 0 ;
13349 char *kwnames
[] = {
13350 (char *) "self",(char *) "ft", NULL
13353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13357 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13359 if (arg2
== NULL
) {
13360 PyErr_SetString(PyExc_TypeError
,"null reference");
13364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13367 wxPyEndAllowThreads(__tstate
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 Py_INCREF(Py_None
); resultobj
= Py_None
;
13377 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13378 PyObject
*resultobj
;
13379 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13380 wxFileTypeInfo
*arg2
= 0 ;
13381 wxFileType
*result
;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self",(char *) "ftInfo", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13394 if (arg2
== NULL
) {
13395 PyErr_SetString(PyExc_TypeError
,"null reference");
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13412 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13415 wxFileType
*arg2
= (wxFileType
*) 0 ;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "ft", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13430 result
= (bool)(arg1
)->Unassociate(arg2
);
13432 wxPyEndAllowThreads(__tstate
);
13433 if (PyErr_Occurred()) SWIG_fail
;
13436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13444 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13447 PyObject
* obj0
= 0 ;
13448 char *kwnames
[] = {
13449 (char *) "self", NULL
13452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 Py_INCREF(Py_None
); resultobj
= Py_None
;
13469 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13472 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13474 return Py_BuildValue((char *)"");
13476 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13477 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13482 static PyObject
*_wrap_ART_TOOLBAR_get() {
13487 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13489 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13496 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13497 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13502 static PyObject
*_wrap_ART_MENU_get() {
13507 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13509 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13516 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13517 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13522 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13527 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13529 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13536 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13537 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13542 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13547 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13549 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13556 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13557 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13562 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13567 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13569 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13576 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13577 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13582 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13587 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13589 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13596 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13597 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13602 static PyObject
*_wrap_ART_OTHER_get() {
13607 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13609 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13616 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13617 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13622 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13627 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13629 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13636 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13637 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13642 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13647 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13649 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13656 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13657 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13662 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13667 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13669 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13676 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13677 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13682 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13687 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13689 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13696 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13697 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13702 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13707 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13709 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13716 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13717 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13722 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13727 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13729 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13736 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13737 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13742 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13747 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13749 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13756 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13757 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13762 static PyObject
*_wrap_ART_GO_BACK_get() {
13767 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13769 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13776 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13777 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13782 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13787 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13789 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13796 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13797 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13802 static PyObject
*_wrap_ART_GO_UP_get() {
13807 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13809 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13816 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13817 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13822 static PyObject
*_wrap_ART_GO_DOWN_get() {
13827 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13829 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13836 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13837 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13842 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13847 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13849 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13856 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13857 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13862 static PyObject
*_wrap_ART_GO_HOME_get() {
13867 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13869 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13876 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13877 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13882 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13887 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13889 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13896 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13897 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13902 static PyObject
*_wrap_ART_PRINT_get() {
13907 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13909 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13916 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13917 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13922 static PyObject
*_wrap_ART_HELP_get() {
13927 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13929 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13936 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13937 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13942 static PyObject
*_wrap_ART_TIP_get() {
13947 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13949 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13956 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13957 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13962 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13967 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13969 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13976 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
13977 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13982 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13987 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13989 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13996 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
13997 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14002 static PyObject
*_wrap_ART_NEW_DIR_get() {
14007 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14009 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14016 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14017 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14022 static PyObject
*_wrap_ART_FOLDER_get() {
14027 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14029 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14036 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14037 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14042 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14047 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14049 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14056 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14057 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14062 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14067 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14069 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14076 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14077 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14082 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14087 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14089 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14096 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14097 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14102 static PyObject
*_wrap_ART_TICK_MARK_get() {
14107 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14109 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14116 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14117 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14122 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14127 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14129 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14136 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14137 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14142 static PyObject
*_wrap_ART_ERROR_get() {
14147 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14149 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14156 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14157 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14162 static PyObject
*_wrap_ART_QUESTION_get() {
14167 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14169 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14176 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14177 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14182 static PyObject
*_wrap_ART_WARNING_get() {
14187 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14189 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14196 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14197 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14202 static PyObject
*_wrap_ART_INFORMATION_get() {
14207 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14209 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14216 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14217 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14222 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14227 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14229 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14236 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxPyArtProvider
*result
;
14239 char *kwnames
[] = {
14243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14246 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14258 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14259 PyObject
*resultobj
;
14260 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14261 PyObject
*arg2
= (PyObject
*) 0 ;
14262 PyObject
*arg3
= (PyObject
*) 0 ;
14263 PyObject
* obj0
= 0 ;
14264 PyObject
* obj1
= 0 ;
14265 PyObject
* obj2
= 0 ;
14266 char *kwnames
[] = {
14267 (char *) "self",(char *) "self",(char *) "_class", NULL
14270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14282 Py_INCREF(Py_None
); resultobj
= Py_None
;
14289 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14290 PyObject
*resultobj
;
14291 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "provider", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 wxPyArtProvider::PushProvider(arg1
);
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 Py_INCREF(Py_None
); resultobj
= Py_None
;
14314 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14317 char *kwnames
[] = {
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (bool)wxPyArtProvider::PopProvider();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14338 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14342 PyObject
* obj0
= 0 ;
14343 char *kwnames
[] = {
14344 (char *) "provider", NULL
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14352 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14354 wxPyEndAllowThreads(__tstate
);
14355 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14366 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxString
*arg1
= 0 ;
14369 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14370 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14371 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14372 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14374 bool temp1
= False
;
14375 bool temp2
= False
;
14377 PyObject
* obj0
= 0 ;
14378 PyObject
* obj1
= 0 ;
14379 PyObject
* obj2
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "id",(char *) "client",(char *) "size", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14386 arg1
= wxString_in_helper(obj0
);
14387 if (arg1
== NULL
) SWIG_fail
;
14392 arg2
= wxString_in_helper(obj1
);
14393 if (arg2
== NULL
) SWIG_fail
;
14400 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14405 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14407 wxPyEndAllowThreads(__tstate
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14411 wxBitmap
* resultptr
;
14412 resultptr
= new wxBitmap((wxBitmap
&) result
);
14413 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14437 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxString
*arg1
= 0 ;
14440 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14441 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14442 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14443 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14445 bool temp1
= False
;
14446 bool temp2
= False
;
14448 PyObject
* obj0
= 0 ;
14449 PyObject
* obj1
= 0 ;
14450 PyObject
* obj2
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "id",(char *) "client",(char *) "size", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14457 arg1
= wxString_in_helper(obj0
);
14458 if (arg1
== NULL
) SWIG_fail
;
14463 arg2
= wxString_in_helper(obj1
);
14464 if (arg2
== NULL
) SWIG_fail
;
14471 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14476 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14478 wxPyEndAllowThreads(__tstate
);
14479 if (PyErr_Occurred()) SWIG_fail
;
14482 wxIcon
* resultptr
;
14483 resultptr
= new wxIcon((wxIcon
&) result
);
14484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14508 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 wxPyArtProvider_Destroy(arg1
);
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14526 Py_INCREF(Py_None
); resultobj
= Py_None
;
14533 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14536 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14538 return Py_BuildValue((char *)"");
14540 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14541 PyObject
*resultobj
;
14542 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 char *kwnames
[] = {
14545 (char *) "self", NULL
14548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14558 Py_INCREF(Py_None
); resultobj
= Py_None
;
14565 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14568 wxConfigBase
*result
;
14569 PyObject
* obj0
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "config", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14579 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14581 wxPyEndAllowThreads(__tstate
);
14582 if (PyErr_Occurred()) SWIG_fail
;
14584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14591 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14592 PyObject
*resultobj
;
14593 bool arg1
= (bool) True
;
14594 wxConfigBase
*result
;
14595 PyObject
* obj0
= 0 ;
14596 char *kwnames
[] = {
14597 (char *) "createOnDemand", NULL
14600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14602 arg1
= (bool) SWIG_AsBool(obj0
);
14603 if (PyErr_Occurred()) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14619 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxConfigBase
*result
;
14622 char *kwnames
[] = {
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14629 result
= (wxConfigBase
*)wxConfigBase::Create();
14631 wxPyEndAllowThreads(__tstate
);
14632 if (PyErr_Occurred()) SWIG_fail
;
14634 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14641 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 char *kwnames
[] = {
14647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 wxConfigBase::DontCreateOnDemand();
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 Py_INCREF(Py_None
); resultobj
= Py_None
;
14662 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14665 wxString
*arg2
= 0 ;
14666 bool temp2
= False
;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self",(char *) "path", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 arg2
= wxString_in_helper(obj1
);
14678 if (arg2
== NULL
) SWIG_fail
;
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 (arg1
)->SetPath((wxString
const &)*arg2
);
14685 wxPyEndAllowThreads(__tstate
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14688 Py_INCREF(Py_None
); resultobj
= Py_None
;
14703 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14704 PyObject
*resultobj
;
14705 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14707 PyObject
* obj0
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14719 result
= (wxString
*) &_result_ref
;
14722 wxPyEndAllowThreads(__tstate
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14727 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14729 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14738 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14739 PyObject
*resultobj
;
14740 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14742 PyObject
* obj0
= 0 ;
14743 char *kwnames
[] = {
14744 (char *) "self", NULL
14747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 resultobj
= result
;
14764 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14769 PyObject
* obj0
= 0 ;
14770 PyObject
* obj1
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "self",(char *) "index", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14778 arg2
= (long) SWIG_AsLong(obj1
);
14779 if (PyErr_Occurred()) SWIG_fail
;
14781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14782 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14787 resultobj
= result
;
14794 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
;
14796 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14808 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14810 wxPyEndAllowThreads(__tstate
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14813 resultobj
= result
;
14820 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14821 PyObject
*resultobj
;
14822 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 PyObject
* obj1
= 0 ;
14827 char *kwnames
[] = {
14828 (char *) "self",(char *) "index", NULL
14831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14834 arg2
= (long) SWIG_AsLong(obj1
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14838 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14840 wxPyEndAllowThreads(__tstate
);
14841 if (PyErr_Occurred()) SWIG_fail
;
14843 resultobj
= result
;
14850 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14851 PyObject
*resultobj
;
14852 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14853 bool arg2
= (bool) False
;
14855 PyObject
* obj0
= 0 ;
14856 PyObject
* obj1
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self",(char *) "recursive", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14865 arg2
= (bool) SWIG_AsBool(obj1
);
14866 if (PyErr_Occurred()) SWIG_fail
;
14869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14870 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14872 wxPyEndAllowThreads(__tstate
);
14873 if (PyErr_Occurred()) SWIG_fail
;
14875 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14882 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14885 bool arg2
= (bool) False
;
14887 PyObject
* obj0
= 0 ;
14888 PyObject
* obj1
= 0 ;
14889 char *kwnames
[] = {
14890 (char *) "self",(char *) "recursive", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14897 arg2
= (bool) SWIG_AsBool(obj1
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14902 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14904 wxPyEndAllowThreads(__tstate
);
14905 if (PyErr_Occurred()) SWIG_fail
;
14907 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14914 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14917 wxString
*arg2
= 0 ;
14919 bool temp2
= False
;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self",(char *) "name", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14930 arg2
= wxString_in_helper(obj1
);
14931 if (arg2
== NULL
) SWIG_fail
;
14935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14936 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14938 wxPyEndAllowThreads(__tstate
);
14939 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14958 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14961 wxString
*arg2
= 0 ;
14963 bool temp2
= False
;
14964 PyObject
* obj0
= 0 ;
14965 PyObject
* obj1
= 0 ;
14966 char *kwnames
[] = {
14967 (char *) "self",(char *) "name", NULL
14970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14974 arg2
= wxString_in_helper(obj1
);
14975 if (arg2
== NULL
) SWIG_fail
;
14979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14980 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15002 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15003 PyObject
*resultobj
;
15004 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15005 wxString
*arg2
= 0 ;
15007 bool temp2
= False
;
15008 PyObject
* obj0
= 0 ;
15009 PyObject
* obj1
= 0 ;
15010 char *kwnames
[] = {
15011 (char *) "self",(char *) "name", NULL
15014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15018 arg2
= wxString_in_helper(obj1
);
15019 if (arg2
== NULL
) SWIG_fail
;
15023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15024 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15026 wxPyEndAllowThreads(__tstate
);
15027 if (PyErr_Occurred()) SWIG_fail
;
15030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15046 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15049 wxString
*arg2
= 0 ;
15051 bool temp2
= False
;
15052 PyObject
* obj0
= 0 ;
15053 PyObject
* obj1
= 0 ;
15054 char *kwnames
[] = {
15055 (char *) "self",(char *) "name", NULL
15058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15062 arg2
= wxString_in_helper(obj1
);
15063 if (arg2
== NULL
) SWIG_fail
;
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15070 wxPyEndAllowThreads(__tstate
);
15071 if (PyErr_Occurred()) SWIG_fail
;
15073 resultobj
= SWIG_FromInt((int)result
);
15088 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15089 PyObject
*resultobj
;
15090 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15091 wxString
*arg2
= 0 ;
15092 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15093 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15095 bool temp2
= False
;
15096 bool temp3
= False
;
15097 PyObject
* obj0
= 0 ;
15098 PyObject
* obj1
= 0 ;
15099 PyObject
* obj2
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15108 arg2
= wxString_in_helper(obj1
);
15109 if (arg2
== NULL
) SWIG_fail
;
15114 arg3
= wxString_in_helper(obj2
);
15115 if (arg3
== NULL
) SWIG_fail
;
15120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15121 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15123 wxPyEndAllowThreads(__tstate
);
15124 if (PyErr_Occurred()) SWIG_fail
;
15128 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15130 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15155 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15158 wxString
*arg2
= 0 ;
15159 long arg3
= (long) 0 ;
15161 bool temp2
= False
;
15162 PyObject
* obj0
= 0 ;
15163 PyObject
* obj1
= 0 ;
15164 PyObject
* obj2
= 0 ;
15165 char *kwnames
[] = {
15166 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15173 arg2
= wxString_in_helper(obj1
);
15174 if (arg2
== NULL
) SWIG_fail
;
15178 arg3
= (long) SWIG_AsLong(obj2
);
15179 if (PyErr_Occurred()) SWIG_fail
;
15182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15183 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15185 wxPyEndAllowThreads(__tstate
);
15186 if (PyErr_Occurred()) SWIG_fail
;
15188 resultobj
= SWIG_FromLong((long)result
);
15203 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15206 wxString
*arg2
= 0 ;
15207 double arg3
= (double) 0.0 ;
15209 bool temp2
= False
;
15210 PyObject
* obj0
= 0 ;
15211 PyObject
* obj1
= 0 ;
15212 PyObject
* obj2
= 0 ;
15213 char *kwnames
[] = {
15214 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15221 arg2
= wxString_in_helper(obj1
);
15222 if (arg2
== NULL
) SWIG_fail
;
15226 arg3
= (double) SWIG_AsDouble(obj2
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= SWIG_FromDouble((double)result
);
15251 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15252 PyObject
*resultobj
;
15253 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15254 wxString
*arg2
= 0 ;
15255 bool arg3
= (bool) False
;
15257 bool temp2
= False
;
15258 PyObject
* obj0
= 0 ;
15259 PyObject
* obj1
= 0 ;
15260 PyObject
* obj2
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15269 arg2
= wxString_in_helper(obj1
);
15270 if (arg2
== NULL
) SWIG_fail
;
15274 arg3
= (bool) SWIG_AsBool(obj2
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15301 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15304 wxString
*arg2
= 0 ;
15305 wxString
*arg3
= 0 ;
15307 bool temp2
= False
;
15308 bool temp3
= False
;
15309 PyObject
* obj0
= 0 ;
15310 PyObject
* obj1
= 0 ;
15311 PyObject
* obj2
= 0 ;
15312 char *kwnames
[] = {
15313 (char *) "self",(char *) "key",(char *) "value", NULL
15316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15320 arg2
= wxString_in_helper(obj1
);
15321 if (arg2
== NULL
) SWIG_fail
;
15325 arg3
= wxString_in_helper(obj2
);
15326 if (arg3
== NULL
) SWIG_fail
;
15330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15331 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15333 wxPyEndAllowThreads(__tstate
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15361 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15364 wxString
*arg2
= 0 ;
15367 bool temp2
= False
;
15368 PyObject
* obj0
= 0 ;
15369 PyObject
* obj1
= 0 ;
15370 PyObject
* obj2
= 0 ;
15371 char *kwnames
[] = {
15372 (char *) "self",(char *) "key",(char *) "value", NULL
15375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15379 arg2
= wxString_in_helper(obj1
);
15380 if (arg2
== NULL
) SWIG_fail
;
15383 arg3
= (long) SWIG_AsLong(obj2
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15387 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15389 wxPyEndAllowThreads(__tstate
);
15390 if (PyErr_Occurred()) SWIG_fail
;
15393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15409 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15412 wxString
*arg2
= 0 ;
15415 bool temp2
= False
;
15416 PyObject
* obj0
= 0 ;
15417 PyObject
* obj1
= 0 ;
15418 PyObject
* obj2
= 0 ;
15419 char *kwnames
[] = {
15420 (char *) "self",(char *) "key",(char *) "value", NULL
15423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15427 arg2
= wxString_in_helper(obj1
);
15428 if (arg2
== NULL
) SWIG_fail
;
15431 arg3
= (double) SWIG_AsDouble(obj2
);
15432 if (PyErr_Occurred()) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15457 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15458 PyObject
*resultobj
;
15459 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15460 wxString
*arg2
= 0 ;
15463 bool temp2
= False
;
15464 PyObject
* obj0
= 0 ;
15465 PyObject
* obj1
= 0 ;
15466 PyObject
* obj2
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self",(char *) "key",(char *) "value", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 arg2
= wxString_in_helper(obj1
);
15476 if (arg2
== NULL
) SWIG_fail
;
15479 arg3
= (bool) SWIG_AsBool(obj2
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15483 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15485 wxPyEndAllowThreads(__tstate
);
15486 if (PyErr_Occurred()) SWIG_fail
;
15489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15505 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15508 bool arg2
= (bool) False
;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self",(char *) "currentOnly", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15520 arg2
= (bool) SWIG_AsBool(obj1
);
15521 if (PyErr_Occurred()) SWIG_fail
;
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15525 result
= (bool)(arg1
)->Flush(arg2
);
15527 wxPyEndAllowThreads(__tstate
);
15528 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15539 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15540 PyObject
*resultobj
;
15541 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15542 wxString
*arg2
= 0 ;
15543 wxString
*arg3
= 0 ;
15545 bool temp2
= False
;
15546 bool temp3
= False
;
15547 PyObject
* obj0
= 0 ;
15548 PyObject
* obj1
= 0 ;
15549 PyObject
* obj2
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15558 arg2
= wxString_in_helper(obj1
);
15559 if (arg2
== NULL
) SWIG_fail
;
15563 arg3
= wxString_in_helper(obj2
);
15564 if (arg3
== NULL
) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15599 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15600 PyObject
*resultobj
;
15601 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15602 wxString
*arg2
= 0 ;
15603 wxString
*arg3
= 0 ;
15605 bool temp2
= False
;
15606 bool temp3
= False
;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 PyObject
* obj2
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15618 arg2
= wxString_in_helper(obj1
);
15619 if (arg2
== NULL
) SWIG_fail
;
15623 arg3
= wxString_in_helper(obj2
);
15624 if (arg3
== NULL
) SWIG_fail
;
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15659 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15660 PyObject
*resultobj
;
15661 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15662 wxString
*arg2
= 0 ;
15663 bool arg3
= (bool) True
;
15665 bool temp2
= False
;
15666 PyObject
* obj0
= 0 ;
15667 PyObject
* obj1
= 0 ;
15668 PyObject
* obj2
= 0 ;
15669 char *kwnames
[] = {
15670 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15677 arg2
= wxString_in_helper(obj1
);
15678 if (arg2
== NULL
) SWIG_fail
;
15682 arg3
= (bool) SWIG_AsBool(obj2
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15687 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15689 wxPyEndAllowThreads(__tstate
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15709 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15710 PyObject
*resultobj
;
15711 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15712 wxString
*arg2
= 0 ;
15714 bool temp2
= False
;
15715 PyObject
* obj0
= 0 ;
15716 PyObject
* obj1
= 0 ;
15717 char *kwnames
[] = {
15718 (char *) "self",(char *) "key", NULL
15721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15725 arg2
= wxString_in_helper(obj1
);
15726 if (arg2
== NULL
) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15753 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
;
15755 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15757 PyObject
* obj0
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 result
= (bool)(arg1
)->DeleteAll();
15769 wxPyEndAllowThreads(__tstate
);
15770 if (PyErr_Occurred()) SWIG_fail
;
15773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15781 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15784 bool arg2
= (bool) True
;
15785 PyObject
* obj0
= 0 ;
15786 PyObject
* obj1
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self",(char *) "doIt", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15795 arg2
= (bool) SWIG_AsBool(obj1
);
15796 if (PyErr_Occurred()) SWIG_fail
;
15799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15800 (arg1
)->SetExpandEnvVars(arg2
);
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 Py_INCREF(Py_None
); resultobj
= Py_None
;
15812 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15813 PyObject
*resultobj
;
15814 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15816 PyObject
* obj0
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "self", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15840 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
;
15842 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15843 bool arg2
= (bool) True
;
15844 PyObject
* obj0
= 0 ;
15845 PyObject
* obj1
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self",(char *) "doIt", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 arg2
= (bool) SWIG_AsBool(obj1
);
15855 if (PyErr_Occurred()) SWIG_fail
;
15858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15859 (arg1
)->SetRecordDefaults(arg2
);
15861 wxPyEndAllowThreads(__tstate
);
15862 if (PyErr_Occurred()) SWIG_fail
;
15864 Py_INCREF(Py_None
); resultobj
= Py_None
;
15871 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15872 PyObject
*resultobj
;
15873 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15875 PyObject
* obj0
= 0 ;
15876 char *kwnames
[] = {
15877 (char *) "self", NULL
15880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15887 wxPyEndAllowThreads(__tstate
);
15888 if (PyErr_Occurred()) SWIG_fail
;
15891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15899 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15900 PyObject
*resultobj
;
15901 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15902 wxString
*arg2
= 0 ;
15904 bool temp2
= False
;
15905 PyObject
* obj0
= 0 ;
15906 PyObject
* obj1
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self",(char *) "str", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 arg2
= wxString_in_helper(obj1
);
15916 if (arg2
== NULL
) SWIG_fail
;
15920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15921 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15923 wxPyEndAllowThreads(__tstate
);
15924 if (PyErr_Occurred()) SWIG_fail
;
15928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15947 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15948 PyObject
*resultobj
;
15949 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15951 PyObject
* obj0
= 0 ;
15952 char *kwnames
[] = {
15953 (char *) "self", NULL
15956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15963 wxPyEndAllowThreads(__tstate
);
15964 if (PyErr_Occurred()) SWIG_fail
;
15968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15979 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15983 PyObject
* obj0
= 0 ;
15984 char *kwnames
[] = {
15985 (char *) "self", NULL
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
16000 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16002 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16011 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16012 PyObject
*resultobj
;
16013 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16014 wxString
*arg2
= 0 ;
16015 bool temp2
= False
;
16016 PyObject
* obj0
= 0 ;
16017 PyObject
* obj1
= 0 ;
16018 char *kwnames
[] = {
16019 (char *) "self",(char *) "appName", NULL
16022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16026 arg2
= wxString_in_helper(obj1
);
16027 if (arg2
== NULL
) SWIG_fail
;
16031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16032 (arg1
)->SetAppName((wxString
const &)*arg2
);
16034 wxPyEndAllowThreads(__tstate
);
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 Py_INCREF(Py_None
); resultobj
= Py_None
;
16052 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16053 PyObject
*resultobj
;
16054 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16055 wxString
*arg2
= 0 ;
16056 bool temp2
= False
;
16057 PyObject
* obj0
= 0 ;
16058 PyObject
* obj1
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self",(char *) "vendorName", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16067 arg2
= wxString_in_helper(obj1
);
16068 if (arg2
== NULL
) SWIG_fail
;
16072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16073 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16075 wxPyEndAllowThreads(__tstate
);
16076 if (PyErr_Occurred()) SWIG_fail
;
16078 Py_INCREF(Py_None
); resultobj
= Py_None
;
16093 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16097 PyObject
* obj0
= 0 ;
16098 PyObject
* obj1
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self",(char *) "style", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 arg2
= (long) SWIG_AsLong(obj1
);
16107 if (PyErr_Occurred()) SWIG_fail
;
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 (arg1
)->SetStyle(arg2
);
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 Py_INCREF(Py_None
); resultobj
= Py_None
;
16122 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
;
16124 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16126 PyObject
* obj0
= 0 ;
16127 char *kwnames
[] = {
16128 (char *) "self", NULL
16131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16138 wxPyEndAllowThreads(__tstate
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16141 resultobj
= SWIG_FromLong((long)result
);
16148 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16151 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16153 return Py_BuildValue((char *)"");
16155 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16158 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16159 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16160 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16161 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16162 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16163 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16164 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16165 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16167 bool temp1
= False
;
16168 bool temp2
= False
;
16169 bool temp3
= False
;
16170 bool temp4
= False
;
16171 PyObject
* obj0
= 0 ;
16172 PyObject
* obj1
= 0 ;
16173 PyObject
* obj2
= 0 ;
16174 PyObject
* obj3
= 0 ;
16175 PyObject
* obj4
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16183 arg1
= wxString_in_helper(obj0
);
16184 if (arg1
== NULL
) SWIG_fail
;
16190 arg2
= wxString_in_helper(obj1
);
16191 if (arg2
== NULL
) SWIG_fail
;
16197 arg3
= wxString_in_helper(obj2
);
16198 if (arg3
== NULL
) SWIG_fail
;
16204 arg4
= wxString_in_helper(obj3
);
16205 if (arg4
== NULL
) SWIG_fail
;
16210 arg5
= (long) SWIG_AsLong(obj4
);
16211 if (PyErr_Occurred()) SWIG_fail
;
16214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16215 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16217 wxPyEndAllowThreads(__tstate
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16259 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 wxConfig
*arg1
= (wxConfig
*) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 char *kwnames
[] = {
16264 (char *) "self", NULL
16267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16274 wxPyEndAllowThreads(__tstate
);
16275 if (PyErr_Occurred()) SWIG_fail
;
16277 Py_INCREF(Py_None
); resultobj
= Py_None
;
16284 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16287 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16289 return Py_BuildValue((char *)"");
16291 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16292 PyObject
*resultobj
;
16293 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16294 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16295 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16296 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16297 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16298 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16299 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16300 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16301 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16302 wxFileConfig
*result
;
16303 bool temp1
= False
;
16304 bool temp2
= False
;
16305 bool temp3
= False
;
16306 bool temp4
= False
;
16307 PyObject
* obj0
= 0 ;
16308 PyObject
* obj1
= 0 ;
16309 PyObject
* obj2
= 0 ;
16310 PyObject
* obj3
= 0 ;
16311 PyObject
* obj4
= 0 ;
16312 char *kwnames
[] = {
16313 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16319 arg1
= wxString_in_helper(obj0
);
16320 if (arg1
== NULL
) SWIG_fail
;
16326 arg2
= wxString_in_helper(obj1
);
16327 if (arg2
== NULL
) SWIG_fail
;
16333 arg3
= wxString_in_helper(obj2
);
16334 if (arg3
== NULL
) SWIG_fail
;
16340 arg4
= wxString_in_helper(obj3
);
16341 if (arg4
== NULL
) SWIG_fail
;
16346 arg5
= (long) SWIG_AsLong(obj4
);
16347 if (PyErr_Occurred()) SWIG_fail
;
16350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16351 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16353 wxPyEndAllowThreads(__tstate
);
16354 if (PyErr_Occurred()) SWIG_fail
;
16356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16395 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16398 PyObject
* obj0
= 0 ;
16399 char *kwnames
[] = {
16400 (char *) "self", NULL
16403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 Py_INCREF(Py_None
); resultobj
= Py_None
;
16420 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16422 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16423 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16425 return Py_BuildValue((char *)"");
16427 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16428 PyObject
*resultobj
;
16429 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16430 wxString
*arg2
= 0 ;
16431 wxConfigPathChanger
*result
;
16432 bool temp2
= False
;
16433 PyObject
* obj0
= 0 ;
16434 PyObject
* obj1
= 0 ;
16435 char *kwnames
[] = {
16436 (char *) "config",(char *) "entry", NULL
16439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16443 arg2
= wxString_in_helper(obj1
);
16444 if (arg2
== NULL
) SWIG_fail
;
16448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16449 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16451 wxPyEndAllowThreads(__tstate
);
16452 if (PyErr_Occurred()) SWIG_fail
;
16454 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16469 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16470 PyObject
*resultobj
;
16471 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "self", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16487 Py_INCREF(Py_None
); resultobj
= Py_None
;
16494 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16495 PyObject
*resultobj
;
16496 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16510 result
= (wxString
*) &_result_ref
;
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16518 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16520 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16529 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16531 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16532 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16534 return Py_BuildValue((char *)"");
16536 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxString
*arg1
= 0 ;
16540 bool temp1
= False
;
16541 PyObject
* obj0
= 0 ;
16542 char *kwnames
[] = {
16543 (char *) "sz", NULL
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16548 arg1
= wxString_in_helper(obj0
);
16549 if (arg1
== NULL
) SWIG_fail
;
16553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16554 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16556 wxPyEndAllowThreads(__tstate
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16561 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16563 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16580 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16581 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16586 static PyObject
*_wrap_DateFormatStr_get() {
16591 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16593 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16600 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16601 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16606 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16611 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16613 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16620 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16623 PyObject
* obj0
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "country", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16629 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 Py_INCREF(Py_None
); resultobj
= Py_None
;
16645 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16648 char *kwnames
[] = {
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= (int)wxDateTime::GetCountry();
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= SWIG_FromInt((int)result
);
16667 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
;
16669 int arg1
= (int) wxDateTime::Country_Default
;
16671 PyObject
* obj0
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "country", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16678 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16679 if (PyErr_Occurred()) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16685 wxPyEndAllowThreads(__tstate
);
16686 if (PyErr_Occurred()) SWIG_fail
;
16689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16697 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16698 PyObject
*resultobj
;
16699 int arg1
= (int) wxDateTime::Gregorian
;
16701 PyObject
* obj0
= 0 ;
16702 char *kwnames
[] = {
16703 (char *) "cal", NULL
16706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16708 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= SWIG_FromInt((int)result
);
16725 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "year", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16735 arg1
= (int) SWIG_AsInt(obj0
);
16736 if (PyErr_Occurred()) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= SWIG_FromInt((int)result
);
16751 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16752 PyObject
*resultobj
;
16753 int arg1
= (int) wxDateTime::Gregorian
;
16755 PyObject
* obj0
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "cal", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16762 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16763 if (PyErr_Occurred()) SWIG_fail
;
16766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16767 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16769 wxPyEndAllowThreads(__tstate
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16772 resultobj
= SWIG_FromInt((int)result
);
16779 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16780 PyObject
*resultobj
;
16781 int arg1
= (int) wxDateTime::Inv_Year
;
16782 int arg2
= (int) wxDateTime::Gregorian
;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "year",(char *) "cal", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16792 arg1
= (int) SWIG_AsInt(obj0
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16796 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16797 if (PyErr_Occurred()) SWIG_fail
;
16800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16801 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16803 wxPyEndAllowThreads(__tstate
);
16804 if (PyErr_Occurred()) SWIG_fail
;
16807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16815 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16816 PyObject
*resultobj
;
16817 int arg1
= (int) wxDateTime::Inv_Year
;
16819 PyObject
* obj0
= 0 ;
16820 char *kwnames
[] = {
16821 (char *) "year", NULL
16824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16826 arg1
= (int) SWIG_AsInt(obj0
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16831 result
= (int)wxDateTime::GetCentury(arg1
);
16833 wxPyEndAllowThreads(__tstate
);
16834 if (PyErr_Occurred()) SWIG_fail
;
16836 resultobj
= SWIG_FromInt((int)result
);
16843 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16844 PyObject
*resultobj
;
16846 int arg2
= (int) wxDateTime::Gregorian
;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 char *kwnames
[] = {
16851 (char *) "year",(char *) "cal", NULL
16854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16855 arg1
= (int) SWIG_AsInt(obj0
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16859 if (PyErr_Occurred()) SWIG_fail
;
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= SWIG_FromInt((int)result
);
16875 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16878 int arg2
= (int) wxDateTime::Inv_Year
;
16879 int arg3
= (int) wxDateTime::Gregorian
;
16881 PyObject
* obj0
= 0 ;
16882 PyObject
* obj1
= 0 ;
16883 PyObject
* obj2
= 0 ;
16884 char *kwnames
[] = {
16885 (char *) "month",(char *) "year",(char *) "cal", NULL
16888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16889 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 arg2
= (int) SWIG_AsInt(obj1
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16896 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16897 if (PyErr_Occurred()) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= SWIG_FromInt((int)result
);
16913 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
;
16916 int arg2
= (int) wxDateTime::Name_Full
;
16918 PyObject
* obj0
= 0 ;
16919 PyObject
* obj1
= 0 ;
16920 char *kwnames
[] = {
16921 (char *) "month",(char *) "flags", NULL
16924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16925 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16926 if (PyErr_Occurred()) SWIG_fail
;
16928 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16933 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16935 wxPyEndAllowThreads(__tstate
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16951 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
;
16954 int arg2
= (int) wxDateTime::Name_Full
;
16956 PyObject
* obj0
= 0 ;
16957 PyObject
* obj1
= 0 ;
16958 char *kwnames
[] = {
16959 (char *) "weekday",(char *) "flags", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16963 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16967 if (PyErr_Occurred()) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16989 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16990 PyObject
*resultobj
;
16991 wxString
*arg1
= (wxString
*) 0 ;
16992 wxString
*arg2
= (wxString
*) 0 ;
16993 bool temp1
= False
;
16994 bool temp2
= False
;
16995 PyObject
* obj0
= 0 ;
16996 PyObject
* obj1
= 0 ;
16997 char *kwnames
[] = {
16998 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17003 arg1
= wxString_in_helper(obj0
);
17004 if (arg1
== NULL
) SWIG_fail
;
17008 arg2
= wxString_in_helper(obj1
);
17009 if (arg2
== NULL
) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 Py_INCREF(Py_None
); resultobj
= Py_None
;
17042 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 int arg1
= (int) wxDateTime::Inv_Year
;
17045 int arg2
= (int) wxDateTime::Country_Default
;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 char *kwnames
[] = {
17050 (char *) "year",(char *) "country", NULL
17053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17055 arg1
= (int) SWIG_AsInt(obj0
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17059 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17078 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
;
17080 int arg1
= (int) wxDateTime::Inv_Year
;
17081 int arg2
= (int) wxDateTime::Country_Default
;
17083 PyObject
* obj0
= 0 ;
17084 PyObject
* obj1
= 0 ;
17085 char *kwnames
[] = {
17086 (char *) "year",(char *) "country", NULL
17089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17091 arg1
= (int) SWIG_AsInt(obj0
);
17092 if (PyErr_Occurred()) SWIG_fail
;
17095 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17106 wxDateTime
* resultptr
;
17107 resultptr
= new wxDateTime((wxDateTime
&) result
);
17108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17116 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17117 PyObject
*resultobj
;
17118 int arg1
= (int) wxDateTime::Inv_Year
;
17119 int arg2
= (int) wxDateTime::Country_Default
;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "year",(char *) "country", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17129 arg1
= (int) SWIG_AsInt(obj0
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17133 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17134 if (PyErr_Occurred()) SWIG_fail
;
17137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17138 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17140 wxPyEndAllowThreads(__tstate
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17144 wxDateTime
* resultptr
;
17145 resultptr
= new wxDateTime((wxDateTime
&) result
);
17146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17154 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17155 PyObject
*resultobj
;
17157 char *kwnames
[] = {
17161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 result
= wxDateTime::Now();
17166 wxPyEndAllowThreads(__tstate
);
17167 if (PyErr_Occurred()) SWIG_fail
;
17170 wxDateTime
* resultptr
;
17171 resultptr
= new wxDateTime((wxDateTime
&) result
);
17172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17180 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17181 PyObject
*resultobj
;
17183 char *kwnames
[] = {
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17190 result
= wxDateTime::UNow();
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17196 wxDateTime
* resultptr
;
17197 resultptr
= new wxDateTime((wxDateTime
&) result
);
17198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17206 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17209 char *kwnames
[] = {
17213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17216 result
= wxDateTime::Today();
17218 wxPyEndAllowThreads(__tstate
);
17219 if (PyErr_Occurred()) SWIG_fail
;
17222 wxDateTime
* resultptr
;
17223 resultptr
= new wxDateTime((wxDateTime
&) result
);
17224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17232 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17233 PyObject
*resultobj
;
17234 wxDateTime
*result
;
17235 char *kwnames
[] = {
17239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 result
= (wxDateTime
*)new wxDateTime();
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17254 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17257 wxDateTime
*result
;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "timet", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17264 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (wxDateTime
*)new wxDateTime(arg1
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17280 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17283 wxDateTime
*result
;
17284 PyObject
* obj0
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "jdn", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17290 arg1
= (double) SWIG_AsDouble(obj0
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (wxDateTime
*)new wxDateTime(arg1
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17306 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17309 int arg2
= (int) 0 ;
17310 int arg3
= (int) 0 ;
17311 int arg4
= (int) 0 ;
17312 wxDateTime
*result
;
17313 PyObject
* obj0
= 0 ;
17314 PyObject
* obj1
= 0 ;
17315 PyObject
* obj2
= 0 ;
17316 PyObject
* obj3
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17322 arg1
= (int) SWIG_AsInt(obj0
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17325 arg2
= (int) SWIG_AsInt(obj1
);
17326 if (PyErr_Occurred()) SWIG_fail
;
17329 arg3
= (int) SWIG_AsInt(obj2
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17333 arg4
= (int) SWIG_AsInt(obj3
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17350 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17351 PyObject
*resultobj
;
17353 int arg2
= (int) wxDateTime::Inv_Month
;
17354 int arg3
= (int) wxDateTime::Inv_Year
;
17355 int arg4
= (int) 0 ;
17356 int arg5
= (int) 0 ;
17357 int arg6
= (int) 0 ;
17358 int arg7
= (int) 0 ;
17359 wxDateTime
*result
;
17360 PyObject
* obj0
= 0 ;
17361 PyObject
* obj1
= 0 ;
17362 PyObject
* obj2
= 0 ;
17363 PyObject
* obj3
= 0 ;
17364 PyObject
* obj4
= 0 ;
17365 PyObject
* obj5
= 0 ;
17366 PyObject
* obj6
= 0 ;
17367 char *kwnames
[] = {
17368 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17372 arg1
= (int) SWIG_AsInt(obj0
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17379 arg3
= (int) SWIG_AsInt(obj2
);
17380 if (PyErr_Occurred()) SWIG_fail
;
17383 arg4
= (int) SWIG_AsInt(obj3
);
17384 if (PyErr_Occurred()) SWIG_fail
;
17387 arg5
= (int) SWIG_AsInt(obj4
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17391 arg6
= (int) SWIG_AsInt(obj5
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17395 arg7
= (int) SWIG_AsInt(obj6
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17412 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17415 PyObject
* obj0
= 0 ;
17416 char *kwnames
[] = {
17417 (char *) "self", NULL
17420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 Py_INCREF(Py_None
); resultobj
= Py_None
;
17437 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17438 PyObject
*resultobj
;
17439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17440 wxDateTime
*result
;
17441 PyObject
* obj0
= 0 ;
17442 char *kwnames
[] = {
17443 (char *) "self", NULL
17446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17452 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17453 result
= (wxDateTime
*) &_result_ref
;
17456 wxPyEndAllowThreads(__tstate
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17466 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17467 PyObject
*resultobj
;
17468 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17470 wxDateTime
*result
;
17471 PyObject
* obj0
= 0 ;
17472 PyObject
* obj1
= 0 ;
17473 char *kwnames
[] = {
17474 (char *) "self",(char *) "timet", NULL
17477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17480 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17481 if (PyErr_Occurred()) SWIG_fail
;
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17486 result
= (wxDateTime
*) &_result_ref
;
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17492 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17499 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
;
17501 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17503 wxDateTime
*result
;
17504 PyObject
* obj0
= 0 ;
17505 PyObject
* obj1
= 0 ;
17506 char *kwnames
[] = {
17507 (char *) "self",(char *) "jdn", NULL
17510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17513 arg2
= (double) SWIG_AsDouble(obj1
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17518 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17519 result
= (wxDateTime
*) &_result_ref
;
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17532 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17533 PyObject
*resultobj
;
17534 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17536 int arg3
= (int) 0 ;
17537 int arg4
= (int) 0 ;
17538 int arg5
= (int) 0 ;
17539 wxDateTime
*result
;
17540 PyObject
* obj0
= 0 ;
17541 PyObject
* obj1
= 0 ;
17542 PyObject
* obj2
= 0 ;
17543 PyObject
* obj3
= 0 ;
17544 PyObject
* obj4
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17552 arg2
= (int) SWIG_AsInt(obj1
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 arg3
= (int) SWIG_AsInt(obj2
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17559 arg4
= (int) SWIG_AsInt(obj3
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 arg5
= (int) SWIG_AsInt(obj4
);
17564 if (PyErr_Occurred()) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17570 result
= (wxDateTime
*) &_result_ref
;
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17583 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
;
17585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17587 int arg3
= (int) wxDateTime::Inv_Month
;
17588 int arg4
= (int) wxDateTime::Inv_Year
;
17589 int arg5
= (int) 0 ;
17590 int arg6
= (int) 0 ;
17591 int arg7
= (int) 0 ;
17592 int arg8
= (int) 0 ;
17593 wxDateTime
*result
;
17594 PyObject
* obj0
= 0 ;
17595 PyObject
* obj1
= 0 ;
17596 PyObject
* obj2
= 0 ;
17597 PyObject
* obj3
= 0 ;
17598 PyObject
* obj4
= 0 ;
17599 PyObject
* obj5
= 0 ;
17600 PyObject
* obj6
= 0 ;
17601 PyObject
* obj7
= 0 ;
17602 char *kwnames
[] = {
17603 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17609 arg2
= (int) SWIG_AsInt(obj1
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17612 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17616 arg4
= (int) SWIG_AsInt(obj3
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17620 arg5
= (int) SWIG_AsInt(obj4
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17624 arg6
= (int) SWIG_AsInt(obj5
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17628 arg7
= (int) SWIG_AsInt(obj6
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17632 arg8
= (int) SWIG_AsInt(obj7
);
17633 if (PyErr_Occurred()) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17638 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17639 result
= (wxDateTime
*) &_result_ref
;
17642 wxPyEndAllowThreads(__tstate
);
17643 if (PyErr_Occurred()) SWIG_fail
;
17645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17652 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17653 PyObject
*resultobj
;
17654 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17655 wxDateTime
*result
;
17656 PyObject
* obj0
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17667 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17668 result
= (wxDateTime
*) &_result_ref
;
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17681 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17682 PyObject
*resultobj
;
17683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17685 wxDateTime
*result
;
17686 PyObject
* obj0
= 0 ;
17687 PyObject
* obj1
= 0 ;
17688 char *kwnames
[] = {
17689 (char *) "self",(char *) "year", NULL
17692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17695 arg2
= (int) SWIG_AsInt(obj1
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17701 result
= (wxDateTime
*) &_result_ref
;
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17707 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17714 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17715 PyObject
*resultobj
;
17716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17718 wxDateTime
*result
;
17719 PyObject
* obj0
= 0 ;
17720 PyObject
* obj1
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self",(char *) "month", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17728 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17733 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17734 result
= (wxDateTime
*) &_result_ref
;
17737 wxPyEndAllowThreads(__tstate
);
17738 if (PyErr_Occurred()) SWIG_fail
;
17740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17747 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17748 PyObject
*resultobj
;
17749 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17751 wxDateTime
*result
;
17752 PyObject
* obj0
= 0 ;
17753 PyObject
* obj1
= 0 ;
17754 char *kwnames
[] = {
17755 (char *) "self",(char *) "day", NULL
17758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17761 arg2
= (int) SWIG_AsInt(obj1
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17766 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17767 result
= (wxDateTime
*) &_result_ref
;
17770 wxPyEndAllowThreads(__tstate
);
17771 if (PyErr_Occurred()) SWIG_fail
;
17773 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17780 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17781 PyObject
*resultobj
;
17782 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17784 wxDateTime
*result
;
17785 PyObject
* obj0
= 0 ;
17786 PyObject
* obj1
= 0 ;
17787 char *kwnames
[] = {
17788 (char *) "self",(char *) "hour", NULL
17791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17794 arg2
= (int) SWIG_AsInt(obj1
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17800 result
= (wxDateTime
*) &_result_ref
;
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17813 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17815 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17817 wxDateTime
*result
;
17818 PyObject
* obj0
= 0 ;
17819 PyObject
* obj1
= 0 ;
17820 char *kwnames
[] = {
17821 (char *) "self",(char *) "minute", NULL
17824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17827 arg2
= (int) SWIG_AsInt(obj1
);
17828 if (PyErr_Occurred()) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17833 result
= (wxDateTime
*) &_result_ref
;
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17846 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17850 wxDateTime
*result
;
17851 PyObject
* obj0
= 0 ;
17852 PyObject
* obj1
= 0 ;
17853 char *kwnames
[] = {
17854 (char *) "self",(char *) "second", NULL
17857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17860 arg2
= (int) SWIG_AsInt(obj1
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17865 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17866 result
= (wxDateTime
*) &_result_ref
;
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17879 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
;
17881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17883 wxDateTime
*result
;
17884 PyObject
* obj0
= 0 ;
17885 PyObject
* obj1
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self",(char *) "millisecond", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 arg2
= (int) SWIG_AsInt(obj1
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17899 result
= (wxDateTime
*) &_result_ref
;
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17912 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17916 int arg3
= (int) wxDateTime::Monday_First
;
17917 wxDateTime
*result
;
17918 PyObject
* obj0
= 0 ;
17919 PyObject
* obj1
= 0 ;
17920 PyObject
* obj2
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17929 if (PyErr_Occurred()) SWIG_fail
;
17931 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17938 result
= (wxDateTime
*) &_result_ref
;
17941 wxPyEndAllowThreads(__tstate
);
17942 if (PyErr_Occurred()) SWIG_fail
;
17944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17951 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17952 PyObject
*resultobj
;
17953 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17955 int arg3
= (int) wxDateTime::Monday_First
;
17957 PyObject
* obj0
= 0 ;
17958 PyObject
* obj1
= 0 ;
17959 PyObject
* obj2
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17967 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17970 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17981 wxDateTime
* resultptr
;
17982 resultptr
= new wxDateTime((wxDateTime
&) result
);
17983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17991 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17995 wxDateTime
*result
;
17996 PyObject
* obj0
= 0 ;
17997 PyObject
* obj1
= 0 ;
17998 char *kwnames
[] = {
17999 (char *) "self",(char *) "weekday", NULL
18002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18005 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18011 result
= (wxDateTime
*) &_result_ref
;
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18024 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18029 PyObject
* obj0
= 0 ;
18030 PyObject
* obj1
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "self",(char *) "weekday", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18038 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 wxDateTime
* resultptr
;
18049 resultptr
= new wxDateTime((wxDateTime
&) result
);
18050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18058 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18059 PyObject
*resultobj
;
18060 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18062 wxDateTime
*result
;
18063 PyObject
* obj0
= 0 ;
18064 PyObject
* obj1
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self",(char *) "weekday", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18072 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18078 result
= (wxDateTime
*) &_result_ref
;
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18091 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18096 PyObject
* obj0
= 0 ;
18097 PyObject
* obj1
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self",(char *) "weekday", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18105 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18115 wxDateTime
* resultptr
;
18116 resultptr
= new wxDateTime((wxDateTime
&) result
);
18117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18125 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18126 PyObject
*resultobj
;
18127 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18129 int arg3
= (int) 1 ;
18130 int arg4
= (int) wxDateTime::Inv_Month
;
18131 int arg5
= (int) wxDateTime::Inv_Year
;
18133 PyObject
* obj0
= 0 ;
18134 PyObject
* obj1
= 0 ;
18135 PyObject
* obj2
= 0 ;
18136 PyObject
* obj3
= 0 ;
18137 PyObject
* obj4
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) 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
= (int) SWIG_AsInt(obj2
);
18149 if (PyErr_Occurred()) SWIG_fail
;
18152 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18153 if (PyErr_Occurred()) SWIG_fail
;
18156 arg5
= (int) SWIG_AsInt(obj4
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18161 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18163 wxPyEndAllowThreads(__tstate
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18175 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
;
18177 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18179 int arg3
= (int) wxDateTime::Inv_Month
;
18180 int arg4
= (int) wxDateTime::Inv_Year
;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 PyObject
* obj2
= 0 ;
18185 PyObject
* obj3
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18193 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18200 arg4
= (int) SWIG_AsInt(obj3
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18207 wxPyEndAllowThreads(__tstate
);
18208 if (PyErr_Occurred()) SWIG_fail
;
18211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18219 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
;
18221 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18223 int arg3
= (int) wxDateTime::Inv_Month
;
18224 int arg4
= (int) wxDateTime::Inv_Year
;
18226 PyObject
* obj0
= 0 ;
18227 PyObject
* obj1
= 0 ;
18228 PyObject
* obj2
= 0 ;
18229 PyObject
* obj3
= 0 ;
18230 char *kwnames
[] = {
18231 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18237 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18244 arg4
= (int) SWIG_AsInt(obj3
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18249 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18251 wxPyEndAllowThreads(__tstate
);
18252 if (PyErr_Occurred()) SWIG_fail
;
18255 wxDateTime
* resultptr
;
18256 resultptr
= new wxDateTime((wxDateTime
&) result
);
18257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18265 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18269 int arg3
= (int) wxDateTime::Mon
;
18270 int arg4
= (int) wxDateTime::Monday_First
;
18272 PyObject
* obj0
= 0 ;
18273 PyObject
* obj1
= 0 ;
18274 PyObject
* obj2
= 0 ;
18275 PyObject
* obj3
= 0 ;
18276 char *kwnames
[] = {
18277 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18283 arg2
= (int) SWIG_AsInt(obj1
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18287 if (PyErr_Occurred()) SWIG_fail
;
18290 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18291 if (PyErr_Occurred()) SWIG_fail
;
18294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18295 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18297 wxPyEndAllowThreads(__tstate
);
18298 if (PyErr_Occurred()) SWIG_fail
;
18301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18309 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18311 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18313 int arg3
= (int) wxDateTime::Mon
;
18314 int arg4
= (int) wxDateTime::Monday_First
;
18316 PyObject
* obj0
= 0 ;
18317 PyObject
* obj1
= 0 ;
18318 PyObject
* obj2
= 0 ;
18319 PyObject
* obj3
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18327 arg2
= (int) SWIG_AsInt(obj1
);
18328 if (PyErr_Occurred()) SWIG_fail
;
18330 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18334 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18341 wxPyEndAllowThreads(__tstate
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18345 wxDateTime
* resultptr
;
18346 resultptr
= new wxDateTime((wxDateTime
&) result
);
18347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18355 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18356 PyObject
*resultobj
;
18357 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18358 int arg2
= (int) wxDateTime::Inv_Month
;
18359 int arg3
= (int) wxDateTime::Inv_Year
;
18360 wxDateTime
*result
;
18361 PyObject
* obj0
= 0 ;
18362 PyObject
* obj1
= 0 ;
18363 PyObject
* obj2
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self",(char *) "month",(char *) "year", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18376 arg3
= (int) SWIG_AsInt(obj2
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18382 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18383 result
= (wxDateTime
*) &_result_ref
;
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18396 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18399 int arg2
= (int) wxDateTime::Inv_Month
;
18400 int arg3
= (int) wxDateTime::Inv_Year
;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 PyObject
* obj2
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self",(char *) "month",(char *) "year", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18414 if (PyErr_Occurred()) SWIG_fail
;
18417 arg3
= (int) SWIG_AsInt(obj2
);
18418 if (PyErr_Occurred()) SWIG_fail
;
18421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18424 wxPyEndAllowThreads(__tstate
);
18425 if (PyErr_Occurred()) SWIG_fail
;
18428 wxDateTime
* resultptr
;
18429 resultptr
= new wxDateTime((wxDateTime
&) result
);
18430 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18438 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18442 wxDateTime
*result
;
18443 PyObject
* obj0
= 0 ;
18444 PyObject
* obj1
= 0 ;
18445 char *kwnames
[] = {
18446 (char *) "self",(char *) "yday", NULL
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18452 arg2
= (int) SWIG_AsInt(obj1
);
18453 if (PyErr_Occurred()) SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18458 result
= (wxDateTime
*) &_result_ref
;
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18471 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
;
18473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18476 PyObject
* obj0
= 0 ;
18477 PyObject
* obj1
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self",(char *) "yday", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18485 arg2
= (int) SWIG_AsInt(obj1
);
18486 if (PyErr_Occurred()) SWIG_fail
;
18488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18489 result
= (arg1
)->GetYearDay(arg2
);
18491 wxPyEndAllowThreads(__tstate
);
18492 if (PyErr_Occurred()) SWIG_fail
;
18495 wxDateTime
* resultptr
;
18496 resultptr
= new wxDateTime((wxDateTime
&) result
);
18497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18505 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18506 PyObject
*resultobj
;
18507 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18509 PyObject
* obj0
= 0 ;
18510 char *kwnames
[] = {
18511 (char *) "self", NULL
18514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18519 result
= (double)(arg1
)->GetJulianDayNumber();
18521 wxPyEndAllowThreads(__tstate
);
18522 if (PyErr_Occurred()) SWIG_fail
;
18524 resultobj
= SWIG_FromDouble((double)result
);
18531 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18532 PyObject
*resultobj
;
18533 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18535 PyObject
* obj0
= 0 ;
18536 char *kwnames
[] = {
18537 (char *) "self", NULL
18540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (double)(arg1
)->GetJDN();
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_FromDouble((double)result
);
18557 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18571 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 resultobj
= SWIG_FromDouble((double)result
);
18583 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
;
18585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18587 PyObject
* obj0
= 0 ;
18588 char *kwnames
[] = {
18589 (char *) "self", NULL
18592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18597 result
= (double)(arg1
)->GetMJD();
18599 wxPyEndAllowThreads(__tstate
);
18600 if (PyErr_Occurred()) SWIG_fail
;
18602 resultobj
= SWIG_FromDouble((double)result
);
18609 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18610 PyObject
*resultobj
;
18611 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18613 PyObject
* obj0
= 0 ;
18614 char *kwnames
[] = {
18615 (char *) "self", NULL
18618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (double)(arg1
)->GetRataDie();
18625 wxPyEndAllowThreads(__tstate
);
18626 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= SWIG_FromDouble((double)result
);
18635 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18637 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18638 wxDateTime::TimeZone
*arg2
= 0 ;
18639 bool arg3
= (bool) False
;
18641 bool temp2
= False
;
18642 PyObject
* obj0
= 0 ;
18643 PyObject
* obj1
= 0 ;
18644 PyObject
* obj2
= 0 ;
18645 char *kwnames
[] = {
18646 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18653 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18657 arg3
= (bool) SWIG_AsBool(obj2
);
18658 if (PyErr_Occurred()) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18668 wxDateTime
* resultptr
;
18669 resultptr
= new wxDateTime((wxDateTime
&) result
);
18670 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18673 if (temp2
) delete arg2
;
18678 if (temp2
) delete arg2
;
18684 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18685 PyObject
*resultobj
;
18686 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18687 wxDateTime::TimeZone
*arg2
= 0 ;
18688 bool arg3
= (bool) False
;
18689 wxDateTime
*result
;
18690 bool temp2
= False
;
18691 PyObject
* obj0
= 0 ;
18692 PyObject
* obj1
= 0 ;
18693 PyObject
* obj2
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18702 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18706 arg3
= (bool) SWIG_AsBool(obj2
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18712 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18713 result
= (wxDateTime
*) &_result_ref
;
18716 wxPyEndAllowThreads(__tstate
);
18717 if (PyErr_Occurred()) SWIG_fail
;
18719 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18721 if (temp2
) delete arg2
;
18726 if (temp2
) delete arg2
;
18732 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
;
18734 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18735 bool arg2
= (bool) False
;
18737 PyObject
* obj0
= 0 ;
18738 PyObject
* obj1
= 0 ;
18739 char *kwnames
[] = {
18740 (char *) "self",(char *) "noDST", NULL
18743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18747 arg2
= (bool) SWIG_AsBool(obj1
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (arg1
)->ToGMT(arg2
);
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18758 wxDateTime
* resultptr
;
18759 resultptr
= new wxDateTime((wxDateTime
&) result
);
18760 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18768 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18770 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18771 bool arg2
= (bool) False
;
18772 wxDateTime
*result
;
18773 PyObject
* obj0
= 0 ;
18774 PyObject
* obj1
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self",(char *) "noDST", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18783 arg2
= (bool) SWIG_AsBool(obj1
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18789 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18790 result
= (wxDateTime
*) &_result_ref
;
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18803 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18806 int arg2
= (int) wxDateTime::Country_Default
;
18808 PyObject
* obj0
= 0 ;
18809 PyObject
* obj1
= 0 ;
18810 char *kwnames
[] = {
18811 (char *) "self",(char *) "country", NULL
18814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18818 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18823 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18825 wxPyEndAllowThreads(__tstate
);
18826 if (PyErr_Occurred()) SWIG_fail
;
18828 resultobj
= SWIG_FromInt((int)result
);
18835 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
;
18837 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18839 PyObject
* obj0
= 0 ;
18840 char *kwnames
[] = {
18841 (char *) "self", NULL
18844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18849 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18851 wxPyEndAllowThreads(__tstate
);
18852 if (PyErr_Occurred()) SWIG_fail
;
18855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18863 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18864 PyObject
*resultobj
;
18865 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18867 PyObject
* obj0
= 0 ;
18868 char *kwnames
[] = {
18869 (char *) "self", NULL
18872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18889 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18892 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18893 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18895 bool temp2
= False
;
18896 PyObject
* obj0
= 0 ;
18897 PyObject
* obj1
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self",(char *) "tz", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18907 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 resultobj
= SWIG_FromInt((int)result
);
18920 if (temp2
) delete arg2
;
18925 if (temp2
) delete arg2
;
18931 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18932 PyObject
*resultobj
;
18933 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18934 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18935 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18937 bool temp2
= False
;
18938 PyObject
* obj0
= 0 ;
18939 PyObject
* obj1
= 0 ;
18940 char *kwnames
[] = {
18941 (char *) "self",(char *) "tz", NULL
18944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18949 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18957 wxPyEndAllowThreads(__tstate
);
18958 if (PyErr_Occurred()) SWIG_fail
;
18960 resultobj
= SWIG_FromInt((int)result
);
18962 if (temp2
) delete arg2
;
18967 if (temp2
) delete arg2
;
18973 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18976 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18977 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18979 bool temp2
= False
;
18980 PyObject
* obj0
= 0 ;
18981 PyObject
* obj1
= 0 ;
18982 char *kwnames
[] = {
18983 (char *) "self",(char *) "tz", NULL
18986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18991 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= SWIG_FromInt((int)result
);
19004 if (temp2
) delete arg2
;
19009 if (temp2
) delete arg2
;
19015 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19018 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19019 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19021 bool temp2
= False
;
19022 PyObject
* obj0
= 0 ;
19023 PyObject
* obj1
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self",(char *) "tz", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19033 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19039 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19041 wxPyEndAllowThreads(__tstate
);
19042 if (PyErr_Occurred()) SWIG_fail
;
19044 resultobj
= SWIG_FromInt((int)result
);
19046 if (temp2
) delete arg2
;
19051 if (temp2
) delete arg2
;
19057 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19058 PyObject
*resultobj
;
19059 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19060 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19061 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19063 bool temp2
= False
;
19064 PyObject
* obj0
= 0 ;
19065 PyObject
* obj1
= 0 ;
19066 char *kwnames
[] = {
19067 (char *) "self",(char *) "tz", NULL
19070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19075 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= SWIG_FromInt((int)result
);
19088 if (temp2
) delete arg2
;
19093 if (temp2
) delete arg2
;
19099 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19100 PyObject
*resultobj
;
19101 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19102 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19103 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19105 bool temp2
= False
;
19106 PyObject
* obj0
= 0 ;
19107 PyObject
* obj1
= 0 ;
19108 char *kwnames
[] = {
19109 (char *) "self",(char *) "tz", NULL
19112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19117 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= SWIG_FromInt((int)result
);
19130 if (temp2
) delete arg2
;
19135 if (temp2
) delete arg2
;
19141 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19144 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19145 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19147 bool temp2
= False
;
19148 PyObject
* obj0
= 0 ;
19149 PyObject
* obj1
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "self",(char *) "tz", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19159 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19165 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19167 wxPyEndAllowThreads(__tstate
);
19168 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= SWIG_FromInt((int)result
);
19172 if (temp2
) delete arg2
;
19177 if (temp2
) delete arg2
;
19183 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
;
19185 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19186 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19187 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19189 bool temp2
= False
;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self",(char *) "tz", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19201 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19207 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19209 wxPyEndAllowThreads(__tstate
);
19210 if (PyErr_Occurred()) SWIG_fail
;
19212 resultobj
= SWIG_FromInt((int)result
);
19214 if (temp2
) delete arg2
;
19219 if (temp2
) delete arg2
;
19225 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19228 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19229 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19231 bool temp2
= False
;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self",(char *) "tz", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19243 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19249 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19251 wxPyEndAllowThreads(__tstate
);
19252 if (PyErr_Occurred()) SWIG_fail
;
19254 resultobj
= SWIG_FromInt((int)result
);
19256 if (temp2
) delete arg2
;
19261 if (temp2
) delete arg2
;
19267 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19268 PyObject
*resultobj
;
19269 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19270 int arg2
= (int) wxDateTime::Monday_First
;
19271 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19272 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19274 bool temp3
= False
;
19275 PyObject
* obj0
= 0 ;
19276 PyObject
* obj1
= 0 ;
19277 PyObject
* obj2
= 0 ;
19278 char *kwnames
[] = {
19279 (char *) "self",(char *) "flags",(char *) "tz", NULL
19282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19286 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19291 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19297 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19299 wxPyEndAllowThreads(__tstate
);
19300 if (PyErr_Occurred()) SWIG_fail
;
19302 resultobj
= SWIG_FromInt((int)result
);
19304 if (temp3
) delete arg3
;
19309 if (temp3
) delete arg3
;
19315 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19318 int arg2
= (int) wxDateTime::Monday_First
;
19319 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19320 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19322 bool temp3
= False
;
19323 PyObject
* obj0
= 0 ;
19324 PyObject
* obj1
= 0 ;
19325 PyObject
* obj2
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self",(char *) "flags",(char *) "tz", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19335 if (PyErr_Occurred()) SWIG_fail
;
19339 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19345 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19347 wxPyEndAllowThreads(__tstate
);
19348 if (PyErr_Occurred()) SWIG_fail
;
19350 resultobj
= SWIG_FromInt((int)result
);
19352 if (temp3
) delete arg3
;
19357 if (temp3
) delete arg3
;
19363 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19364 PyObject
*resultobj
;
19365 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19366 int arg2
= (int) wxDateTime::Country_Default
;
19368 PyObject
* obj0
= 0 ;
19369 PyObject
* obj1
= 0 ;
19370 char *kwnames
[] = {
19371 (char *) "self",(char *) "country", NULL
19374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19378 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19383 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19385 wxPyEndAllowThreads(__tstate
);
19386 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19397 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19398 PyObject
*resultobj
;
19399 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19400 wxDateTime
*arg2
= 0 ;
19402 PyObject
* obj0
= 0 ;
19403 PyObject
* obj1
= 0 ;
19404 char *kwnames
[] = {
19405 (char *) "self",(char *) "datetime", NULL
19408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19414 if (arg2
== NULL
) {
19415 PyErr_SetString(PyExc_TypeError
,"null reference");
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19434 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19435 PyObject
*resultobj
;
19436 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19437 wxDateTime
*arg2
= 0 ;
19439 PyObject
* obj0
= 0 ;
19440 PyObject
* obj1
= 0 ;
19441 char *kwnames
[] = {
19442 (char *) "self",(char *) "datetime", NULL
19445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19449 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19451 if (arg2
== NULL
) {
19452 PyErr_SetString(PyExc_TypeError
,"null reference");
19456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19457 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19459 wxPyEndAllowThreads(__tstate
);
19460 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19471 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19472 PyObject
*resultobj
;
19473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19474 wxDateTime
*arg2
= 0 ;
19476 PyObject
* obj0
= 0 ;
19477 PyObject
* obj1
= 0 ;
19478 char *kwnames
[] = {
19479 (char *) "self",(char *) "datetime", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19486 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19488 if (arg2
== NULL
) {
19489 PyErr_SetString(PyExc_TypeError
,"null reference");
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19508 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19510 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19511 wxDateTime
*arg2
= 0 ;
19512 wxDateTime
*arg3
= 0 ;
19514 PyObject
* obj0
= 0 ;
19515 PyObject
* obj1
= 0 ;
19516 PyObject
* obj2
= 0 ;
19517 char *kwnames
[] = {
19518 (char *) "self",(char *) "t1",(char *) "t2", NULL
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19527 if (arg2
== NULL
) {
19528 PyErr_SetString(PyExc_TypeError
,"null reference");
19531 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19532 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19534 if (arg3
== NULL
) {
19535 PyErr_SetString(PyExc_TypeError
,"null reference");
19539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19542 wxPyEndAllowThreads(__tstate
);
19543 if (PyErr_Occurred()) SWIG_fail
;
19546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19554 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19555 PyObject
*resultobj
;
19556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19557 wxDateTime
*arg2
= 0 ;
19558 wxDateTime
*arg3
= 0 ;
19560 PyObject
* obj0
= 0 ;
19561 PyObject
* obj1
= 0 ;
19562 PyObject
* obj2
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self",(char *) "t1",(char *) "t2", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19573 if (arg2
== NULL
) {
19574 PyErr_SetString(PyExc_TypeError
,"null reference");
19577 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19578 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19580 if (arg3
== NULL
) {
19581 PyErr_SetString(PyExc_TypeError
,"null reference");
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19600 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19601 PyObject
*resultobj
;
19602 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19603 wxDateTime
*arg2
= 0 ;
19605 PyObject
* obj0
= 0 ;
19606 PyObject
* obj1
= 0 ;
19607 char *kwnames
[] = {
19608 (char *) "self",(char *) "dt", NULL
19611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19617 if (arg2
== NULL
) {
19618 PyErr_SetString(PyExc_TypeError
,"null reference");
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19637 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19638 PyObject
*resultobj
;
19639 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19640 wxDateTime
*arg2
= 0 ;
19642 PyObject
* obj0
= 0 ;
19643 PyObject
* obj1
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self",(char *) "dt", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19654 if (arg2
== NULL
) {
19655 PyErr_SetString(PyExc_TypeError
,"null reference");
19659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19660 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19662 wxPyEndAllowThreads(__tstate
);
19663 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19674 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
;
19676 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19677 wxDateTime
*arg2
= 0 ;
19678 wxTimeSpan
*arg3
= 0 ;
19680 PyObject
* obj0
= 0 ;
19681 PyObject
* obj1
= 0 ;
19682 PyObject
* obj2
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "self",(char *) "dt",(char *) "ts", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19690 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19691 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19693 if (arg2
== NULL
) {
19694 PyErr_SetString(PyExc_TypeError
,"null reference");
19697 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19698 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19700 if (arg3
== NULL
) {
19701 PyErr_SetString(PyExc_TypeError
,"null reference");
19705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19706 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19708 wxPyEndAllowThreads(__tstate
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19720 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19721 PyObject
*resultobj
;
19722 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19723 wxTimeSpan
*arg2
= 0 ;
19724 wxDateTime
*result
;
19725 PyObject
* obj0
= 0 ;
19726 PyObject
* obj1
= 0 ;
19727 char *kwnames
[] = {
19728 (char *) "self",(char *) "diff", NULL
19731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19734 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19737 if (arg2
== NULL
) {
19738 PyErr_SetString(PyExc_TypeError
,"null reference");
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19744 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19745 result
= (wxDateTime
*) &_result_ref
;
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19758 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19759 PyObject
*resultobj
;
19760 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19761 wxDateSpan
*arg2
= 0 ;
19762 wxDateTime
*result
;
19763 PyObject
* obj0
= 0 ;
19764 PyObject
* obj1
= 0 ;
19765 char *kwnames
[] = {
19766 (char *) "self",(char *) "diff", NULL
19769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19775 if (arg2
== NULL
) {
19776 PyErr_SetString(PyExc_TypeError
,"null reference");
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19782 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19783 result
= (wxDateTime
*) &_result_ref
;
19786 wxPyEndAllowThreads(__tstate
);
19787 if (PyErr_Occurred()) SWIG_fail
;
19789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19796 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19797 PyObject
*resultobj
;
19798 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19799 wxTimeSpan
*arg2
= 0 ;
19800 wxDateTime
*result
;
19801 PyObject
* obj0
= 0 ;
19802 PyObject
* obj1
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self",(char *) "diff", NULL
19807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19813 if (arg2
== NULL
) {
19814 PyErr_SetString(PyExc_TypeError
,"null reference");
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19820 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19821 result
= (wxDateTime
*) &_result_ref
;
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19834 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19837 wxDateSpan
*arg2
= 0 ;
19838 wxDateTime
*result
;
19839 PyObject
* obj0
= 0 ;
19840 PyObject
* obj1
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self",(char *) "diff", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19848 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19851 if (arg2
== NULL
) {
19852 PyErr_SetString(PyExc_TypeError
,"null reference");
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19858 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19859 result
= (wxDateTime
*) &_result_ref
;
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19865 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19872 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19873 PyObject
*resultobj
;
19874 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19875 wxDateTime
*arg2
= 0 ;
19877 PyObject
* obj0
= 0 ;
19878 PyObject
* obj1
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self",(char *) "dt", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19886 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19889 if (arg2
== NULL
) {
19890 PyErr_SetString(PyExc_TypeError
,"null reference");
19894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19895 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19897 wxPyEndAllowThreads(__tstate
);
19898 if (PyErr_Occurred()) SWIG_fail
;
19901 wxTimeSpan
* resultptr
;
19902 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19911 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19912 PyObject
*resultobj
;
19913 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19914 wxTimeSpan
*arg2
= 0 ;
19915 wxDateTime
*result
;
19916 PyObject
* obj0
= 0 ;
19917 PyObject
* obj1
= 0 ;
19919 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19922 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19923 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19925 if (arg2
== NULL
) {
19926 PyErr_SetString(PyExc_TypeError
,"null reference");
19930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19933 result
= (wxDateTime
*) &_result_ref
;
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19946 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19947 PyObject
*resultobj
;
19948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19949 wxDateSpan
*arg2
= 0 ;
19950 wxDateTime
*result
;
19951 PyObject
* obj0
= 0 ;
19952 PyObject
* obj1
= 0 ;
19954 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19958 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19960 if (arg2
== NULL
) {
19961 PyErr_SetString(PyExc_TypeError
,"null reference");
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19967 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19968 result
= (wxDateTime
*) &_result_ref
;
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19981 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19986 argc
= PyObject_Length(args
);
19987 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19988 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19994 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20004 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20012 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20020 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20030 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20038 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20043 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20048 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20049 PyObject
*resultobj
;
20050 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20051 wxTimeSpan
*arg2
= 0 ;
20052 wxDateTime
*result
;
20053 PyObject
* obj0
= 0 ;
20054 PyObject
* obj1
= 0 ;
20056 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20060 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20062 if (arg2
== NULL
) {
20063 PyErr_SetString(PyExc_TypeError
,"null reference");
20067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20070 result
= (wxDateTime
*) &_result_ref
;
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20083 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20084 PyObject
*resultobj
;
20085 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20086 wxDateSpan
*arg2
= 0 ;
20087 wxDateTime
*result
;
20088 PyObject
* obj0
= 0 ;
20089 PyObject
* obj1
= 0 ;
20091 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20097 if (arg2
== NULL
) {
20098 PyErr_SetString(PyExc_TypeError
,"null reference");
20102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20105 result
= (wxDateTime
*) &_result_ref
;
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20118 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20123 argc
= PyObject_Length(args
);
20124 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20125 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20131 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20141 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20149 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20157 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20167 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20175 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20180 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20185 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20186 PyObject
*resultobj
;
20187 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20188 wxTimeSpan
*arg2
= 0 ;
20190 PyObject
* obj0
= 0 ;
20191 PyObject
* obj1
= 0 ;
20193 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20197 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20199 if (arg2
== NULL
) {
20200 PyErr_SetString(PyExc_TypeError
,"null reference");
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20211 wxDateTime
* resultptr
;
20212 resultptr
= new wxDateTime((wxDateTime
&) result
);
20213 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20221 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20222 PyObject
*resultobj
;
20223 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20224 wxDateSpan
*arg2
= 0 ;
20226 PyObject
* obj0
= 0 ;
20227 PyObject
* obj1
= 0 ;
20229 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20233 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20235 if (arg2
== NULL
) {
20236 PyErr_SetString(PyExc_TypeError
,"null reference");
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20247 wxDateTime
* resultptr
;
20248 resultptr
= new wxDateTime((wxDateTime
&) result
);
20249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20257 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20262 argc
= PyObject_Length(args
);
20263 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20264 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20270 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20280 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20288 return _wrap_DateTime___add____SWIG_0(self
,args
);
20296 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20306 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20314 return _wrap_DateTime___add____SWIG_1(self
,args
);
20319 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20324 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20325 PyObject
*resultobj
;
20326 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20327 wxDateTime
*arg2
= 0 ;
20329 PyObject
* obj0
= 0 ;
20330 PyObject
* obj1
= 0 ;
20332 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20336 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20338 if (arg2
== NULL
) {
20339 PyErr_SetString(PyExc_TypeError
,"null reference");
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20350 wxTimeSpan
* resultptr
;
20351 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20352 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20360 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20361 PyObject
*resultobj
;
20362 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20363 wxTimeSpan
*arg2
= 0 ;
20365 PyObject
* obj0
= 0 ;
20366 PyObject
* obj1
= 0 ;
20368 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20372 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20374 if (arg2
== NULL
) {
20375 PyErr_SetString(PyExc_TypeError
,"null reference");
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20386 wxDateTime
* resultptr
;
20387 resultptr
= new wxDateTime((wxDateTime
&) result
);
20388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20396 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20397 PyObject
*resultobj
;
20398 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20399 wxDateSpan
*arg2
= 0 ;
20401 PyObject
* obj0
= 0 ;
20402 PyObject
* obj1
= 0 ;
20404 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20407 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20408 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20410 if (arg2
== NULL
) {
20411 PyErr_SetString(PyExc_TypeError
,"null reference");
20415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20416 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20418 wxPyEndAllowThreads(__tstate
);
20419 if (PyErr_Occurred()) SWIG_fail
;
20422 wxDateTime
* resultptr
;
20423 resultptr
= new wxDateTime((wxDateTime
&) result
);
20424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20432 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20437 argc
= PyObject_Length(args
);
20438 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20439 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20445 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20455 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20463 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20471 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20481 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20489 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20497 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20507 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20515 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20520 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20525 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20526 PyObject
*resultobj
;
20527 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20528 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20530 PyObject
* obj0
= 0 ;
20531 PyObject
* obj1
= 0 ;
20533 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20540 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20542 wxPyEndAllowThreads(__tstate
);
20543 if (PyErr_Occurred()) SWIG_fail
;
20546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20554 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20555 PyObject
*resultobj
;
20556 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20557 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 PyObject
* obj1
= 0 ;
20562 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20583 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20584 PyObject
*resultobj
;
20585 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20586 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20588 PyObject
* obj0
= 0 ;
20589 PyObject
* obj1
= 0 ;
20591 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20598 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20600 wxPyEndAllowThreads(__tstate
);
20601 if (PyErr_Occurred()) SWIG_fail
;
20604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20612 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20613 PyObject
*resultobj
;
20614 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20615 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 PyObject
* obj1
= 0 ;
20620 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20623 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20641 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20642 PyObject
*resultobj
;
20643 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20644 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20646 PyObject
* obj0
= 0 ;
20647 PyObject
* obj1
= 0 ;
20649 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20652 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20656 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20670 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20671 PyObject
*resultobj
;
20672 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20673 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 PyObject
* obj1
= 0 ;
20678 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20685 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20687 wxPyEndAllowThreads(__tstate
);
20688 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20699 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20702 wxString
*arg2
= 0 ;
20704 bool temp2
= False
;
20705 PyObject
* obj0
= 0 ;
20706 PyObject
* obj1
= 0 ;
20707 char *kwnames
[] = {
20708 (char *) "self",(char *) "date", NULL
20711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20715 arg2
= wxString_in_helper(obj1
);
20716 if (arg2
== NULL
) SWIG_fail
;
20720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20721 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20723 wxPyEndAllowThreads(__tstate
);
20724 if (PyErr_Occurred()) SWIG_fail
;
20726 resultobj
= SWIG_FromInt((int)result
);
20741 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20742 PyObject
*resultobj
;
20743 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20744 wxString
*arg2
= 0 ;
20745 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20746 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20747 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20748 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20750 bool temp2
= False
;
20751 bool temp3
= False
;
20752 PyObject
* obj0
= 0 ;
20753 PyObject
* obj1
= 0 ;
20754 PyObject
* obj2
= 0 ;
20755 PyObject
* obj3
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 arg2
= wxString_in_helper(obj1
);
20765 if (arg2
== NULL
) SWIG_fail
;
20770 arg3
= wxString_in_helper(obj2
);
20771 if (arg3
== NULL
) SWIG_fail
;
20776 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20777 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20779 if (arg4
== NULL
) {
20780 PyErr_SetString(PyExc_TypeError
,"null reference");
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20788 wxPyEndAllowThreads(__tstate
);
20789 if (PyErr_Occurred()) SWIG_fail
;
20791 resultobj
= SWIG_FromInt((int)result
);
20814 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20817 wxString
*arg2
= 0 ;
20819 bool temp2
= False
;
20820 PyObject
* obj0
= 0 ;
20821 PyObject
* obj1
= 0 ;
20822 char *kwnames
[] = {
20823 (char *) "self",(char *) "datetime", NULL
20826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20830 arg2
= wxString_in_helper(obj1
);
20831 if (arg2
== NULL
) SWIG_fail
;
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20838 wxPyEndAllowThreads(__tstate
);
20839 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= SWIG_FromInt((int)result
);
20856 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20857 PyObject
*resultobj
;
20858 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20859 wxString
*arg2
= 0 ;
20861 bool temp2
= False
;
20862 PyObject
* obj0
= 0 ;
20863 PyObject
* obj1
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "self",(char *) "date", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20872 arg2
= wxString_in_helper(obj1
);
20873 if (arg2
== NULL
) SWIG_fail
;
20877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20878 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20880 wxPyEndAllowThreads(__tstate
);
20881 if (PyErr_Occurred()) SWIG_fail
;
20883 resultobj
= SWIG_FromInt((int)result
);
20898 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20899 PyObject
*resultobj
;
20900 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20901 wxString
*arg2
= 0 ;
20903 bool temp2
= False
;
20904 PyObject
* obj0
= 0 ;
20905 PyObject
* obj1
= 0 ;
20906 char *kwnames
[] = {
20907 (char *) "self",(char *) "time", NULL
20910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20914 arg2
= wxString_in_helper(obj1
);
20915 if (arg2
== NULL
) SWIG_fail
;
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= SWIG_FromInt((int)result
);
20940 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
;
20942 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20943 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20944 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20945 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20946 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20948 bool temp2
= False
;
20949 bool temp3
= False
;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 PyObject
* obj2
= 0 ;
20953 char *kwnames
[] = {
20954 (char *) "self",(char *) "format",(char *) "tz", NULL
20957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20962 arg2
= wxString_in_helper(obj1
);
20963 if (arg2
== NULL
) SWIG_fail
;
20969 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20992 if (temp3
) delete arg3
;
21001 if (temp3
) delete arg3
;
21007 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21011 PyObject
* obj0
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "self", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21021 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21023 wxPyEndAllowThreads(__tstate
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21030 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21039 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21043 PyObject
* obj0
= 0 ;
21044 char *kwnames
[] = {
21045 (char *) "self", NULL
21048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21062 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21071 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21072 PyObject
*resultobj
;
21073 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21075 PyObject
* obj0
= 0 ;
21076 char *kwnames
[] = {
21077 (char *) "self", NULL
21080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21092 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21094 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21103 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
;
21105 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21107 PyObject
* obj0
= 0 ;
21108 char *kwnames
[] = {
21109 (char *) "self", NULL
21112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21135 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21138 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21140 return Py_BuildValue((char *)"");
21142 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
;
21146 PyObject
* obj0
= 0 ;
21147 char *kwnames
[] = {
21148 (char *) "sec", NULL
21151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21152 arg1
= (long) SWIG_AsLong(obj0
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= wxTimeSpan::Seconds(arg1
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21162 wxTimeSpan
* resultptr
;
21163 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21172 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21175 char *kwnames
[] = {
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 result
= wxTimeSpan::Second();
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21188 wxTimeSpan
* resultptr
;
21189 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21198 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21199 PyObject
*resultobj
;
21202 PyObject
* obj0
= 0 ;
21203 char *kwnames
[] = {
21204 (char *) "min", NULL
21207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21208 arg1
= (long) SWIG_AsLong(obj0
);
21209 if (PyErr_Occurred()) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 result
= wxTimeSpan::Minutes(arg1
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21218 wxTimeSpan
* resultptr
;
21219 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21228 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21229 PyObject
*resultobj
;
21231 char *kwnames
[] = {
21235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= wxTimeSpan::Minute();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21244 wxTimeSpan
* resultptr
;
21245 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21246 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21254 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
;
21258 PyObject
* obj0
= 0 ;
21259 char *kwnames
[] = {
21260 (char *) "hours", NULL
21263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21264 arg1
= (long) SWIG_AsLong(obj0
);
21265 if (PyErr_Occurred()) SWIG_fail
;
21267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21268 result
= wxTimeSpan::Hours(arg1
);
21270 wxPyEndAllowThreads(__tstate
);
21271 if (PyErr_Occurred()) SWIG_fail
;
21274 wxTimeSpan
* resultptr
;
21275 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21284 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21285 PyObject
*resultobj
;
21287 char *kwnames
[] = {
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= wxTimeSpan::Hour();
21296 wxPyEndAllowThreads(__tstate
);
21297 if (PyErr_Occurred()) SWIG_fail
;
21300 wxTimeSpan
* resultptr
;
21301 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21310 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21311 PyObject
*resultobj
;
21314 PyObject
* obj0
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "days", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21320 arg1
= (long) SWIG_AsLong(obj0
);
21321 if (PyErr_Occurred()) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= wxTimeSpan::Days(arg1
);
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21330 wxTimeSpan
* resultptr
;
21331 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21340 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21343 char *kwnames
[] = {
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= wxTimeSpan::Day();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21356 wxTimeSpan
* resultptr
;
21357 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21366 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21370 PyObject
* obj0
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "days", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21376 arg1
= (long) SWIG_AsLong(obj0
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= wxTimeSpan::Weeks(arg1
);
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21386 wxTimeSpan
* resultptr
;
21387 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21388 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21396 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21397 PyObject
*resultobj
;
21399 char *kwnames
[] = {
21403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21406 result
= wxTimeSpan::Week();
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21412 wxTimeSpan
* resultptr
;
21413 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21422 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 long arg1
= (long) 0 ;
21425 long arg2
= (long) 0 ;
21426 long arg3
= (long) 0 ;
21427 long arg4
= (long) 0 ;
21428 wxTimeSpan
*result
;
21429 PyObject
* obj0
= 0 ;
21430 PyObject
* obj1
= 0 ;
21431 PyObject
* obj2
= 0 ;
21432 PyObject
* obj3
= 0 ;
21433 char *kwnames
[] = {
21434 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21439 arg1
= (long) SWIG_AsLong(obj0
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21443 arg2
= (long) SWIG_AsLong(obj1
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21447 arg3
= (long) SWIG_AsLong(obj2
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21451 arg4
= (long) SWIG_AsLong(obj3
);
21452 if (PyErr_Occurred()) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21468 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21471 PyObject
* obj0
= 0 ;
21472 char *kwnames
[] = {
21473 (char *) "self", NULL
21476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 Py_INCREF(Py_None
); resultobj
= Py_None
;
21493 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21496 wxTimeSpan
*arg2
= 0 ;
21497 wxTimeSpan
*result
;
21498 PyObject
* obj0
= 0 ;
21499 PyObject
* obj1
= 0 ;
21500 char *kwnames
[] = {
21501 (char *) "self",(char *) "diff", NULL
21504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21508 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21510 if (arg2
== NULL
) {
21511 PyErr_SetString(PyExc_TypeError
,"null reference");
21515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21517 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21518 result
= (wxTimeSpan
*) &_result_ref
;
21521 wxPyEndAllowThreads(__tstate
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21531 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21532 PyObject
*resultobj
;
21533 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21534 wxTimeSpan
*arg2
= 0 ;
21535 wxTimeSpan
*result
;
21536 PyObject
* obj0
= 0 ;
21537 PyObject
* obj1
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self",(char *) "diff", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21545 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21546 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21548 if (arg2
== NULL
) {
21549 PyErr_SetString(PyExc_TypeError
,"null reference");
21553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21556 result
= (wxTimeSpan
*) &_result_ref
;
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21569 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21570 PyObject
*resultobj
;
21571 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21573 wxTimeSpan
*result
;
21574 PyObject
* obj0
= 0 ;
21575 PyObject
* obj1
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self",(char *) "n", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21583 arg2
= (int) SWIG_AsInt(obj1
);
21584 if (PyErr_Occurred()) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21589 result
= (wxTimeSpan
*) &_result_ref
;
21592 wxPyEndAllowThreads(__tstate
);
21593 if (PyErr_Occurred()) SWIG_fail
;
21595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21602 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21603 PyObject
*resultobj
;
21604 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21605 wxTimeSpan
*result
;
21606 PyObject
* obj0
= 0 ;
21607 char *kwnames
[] = {
21608 (char *) "self", NULL
21611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21618 result
= (wxTimeSpan
*) &_result_ref
;
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21631 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
;
21633 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21635 PyObject
* obj0
= 0 ;
21636 char *kwnames
[] = {
21637 (char *) "self", NULL
21640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21645 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21647 wxPyEndAllowThreads(__tstate
);
21648 if (PyErr_Occurred()) SWIG_fail
;
21651 wxTimeSpan
* resultptr
;
21652 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21653 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21661 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21662 PyObject
*resultobj
;
21663 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21664 wxTimeSpan
*arg2
= 0 ;
21665 wxTimeSpan
*result
;
21666 PyObject
* obj0
= 0 ;
21667 PyObject
* obj1
= 0 ;
21668 char *kwnames
[] = {
21669 (char *) "self",(char *) "diff", NULL
21672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21678 if (arg2
== NULL
) {
21679 PyErr_SetString(PyExc_TypeError
,"null reference");
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21686 result
= (wxTimeSpan
*) &_result_ref
;
21689 wxPyEndAllowThreads(__tstate
);
21690 if (PyErr_Occurred()) SWIG_fail
;
21692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21699 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21700 PyObject
*resultobj
;
21701 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21702 wxTimeSpan
*arg2
= 0 ;
21703 wxTimeSpan
*result
;
21704 PyObject
* obj0
= 0 ;
21705 PyObject
* obj1
= 0 ;
21706 char *kwnames
[] = {
21707 (char *) "self",(char *) "diff", NULL
21710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21714 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21716 if (arg2
== NULL
) {
21717 PyErr_SetString(PyExc_TypeError
,"null reference");
21721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21724 result
= (wxTimeSpan
*) &_result_ref
;
21727 wxPyEndAllowThreads(__tstate
);
21728 if (PyErr_Occurred()) SWIG_fail
;
21730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21737 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21738 PyObject
*resultobj
;
21739 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21741 wxTimeSpan
*result
;
21742 PyObject
* obj0
= 0 ;
21743 PyObject
* obj1
= 0 ;
21744 char *kwnames
[] = {
21745 (char *) "self",(char *) "n", NULL
21748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21751 arg2
= (int) SWIG_AsInt(obj1
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21756 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21757 result
= (wxTimeSpan
*) &_result_ref
;
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21770 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21772 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21773 wxTimeSpan
*result
;
21774 PyObject
* obj0
= 0 ;
21775 char *kwnames
[] = {
21776 (char *) "self", NULL
21779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21785 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21786 result
= (wxTimeSpan
*) &_result_ref
;
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21799 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21800 PyObject
*resultobj
;
21801 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21802 wxTimeSpan
*arg2
= 0 ;
21804 PyObject
* obj0
= 0 ;
21805 PyObject
* obj1
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self",(char *) "other", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21813 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21816 if (arg2
== NULL
) {
21817 PyErr_SetString(PyExc_TypeError
,"null reference");
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21828 wxTimeSpan
* resultptr
;
21829 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21830 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21838 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21839 PyObject
*resultobj
;
21840 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21841 wxTimeSpan
*arg2
= 0 ;
21843 PyObject
* obj0
= 0 ;
21844 PyObject
* obj1
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self",(char *) "other", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21852 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21855 if (arg2
== NULL
) {
21856 PyErr_SetString(PyExc_TypeError
,"null reference");
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21867 wxTimeSpan
* resultptr
;
21868 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21877 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21882 PyObject
* obj0
= 0 ;
21883 PyObject
* obj1
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "self",(char *) "n", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21891 arg2
= (int) SWIG_AsInt(obj1
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21895 result
= wxTimeSpan___mul__(arg1
,arg2
);
21897 wxPyEndAllowThreads(__tstate
);
21898 if (PyErr_Occurred()) SWIG_fail
;
21901 wxTimeSpan
* resultptr
;
21902 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21903 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21911 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
;
21913 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21916 PyObject
* obj0
= 0 ;
21917 PyObject
* obj1
= 0 ;
21918 char *kwnames
[] = {
21919 (char *) "self",(char *) "n", NULL
21922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 arg2
= (int) SWIG_AsInt(obj1
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21935 wxTimeSpan
* resultptr
;
21936 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21945 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
;
21947 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21948 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 char *kwnames
[] = {
21953 (char *) "self",(char *) "other", NULL
21956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21977 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
;
21979 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21980 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self",(char *) "other", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22009 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22012 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self",(char *) "other", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22041 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22042 PyObject
*resultobj
;
22043 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22044 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22046 PyObject
* obj0
= 0 ;
22047 PyObject
* obj1
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self",(char *) "other", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22073 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22076 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "other", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22105 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22108 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 char *kwnames
[] = {
22113 (char *) "self",(char *) "other", NULL
22116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22137 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22141 PyObject
* obj0
= 0 ;
22142 char *kwnames
[] = {
22143 (char *) "self", NULL
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22165 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22169 PyObject
* obj0
= 0 ;
22170 char *kwnames
[] = {
22171 (char *) "self", NULL
22174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22193 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22194 PyObject
*resultobj
;
22195 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22197 PyObject
* obj0
= 0 ;
22198 char *kwnames
[] = {
22199 (char *) "self", NULL
22202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22207 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22209 wxPyEndAllowThreads(__tstate
);
22210 if (PyErr_Occurred()) SWIG_fail
;
22213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22221 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22222 PyObject
*resultobj
;
22223 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22224 wxTimeSpan
*arg2
= 0 ;
22226 PyObject
* obj0
= 0 ;
22227 PyObject
* obj1
= 0 ;
22228 char *kwnames
[] = {
22229 (char *) "self",(char *) "ts", NULL
22232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22236 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22238 if (arg2
== NULL
) {
22239 PyErr_SetString(PyExc_TypeError
,"null reference");
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((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_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22259 PyObject
*resultobj
;
22260 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22261 wxTimeSpan
*arg2
= 0 ;
22263 PyObject
* obj0
= 0 ;
22264 PyObject
* obj1
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self",(char *) "ts", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",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)
22275 if (arg2
== NULL
) {
22276 PyErr_SetString(PyExc_TypeError
,"null reference");
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22295 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22296 PyObject
*resultobj
;
22297 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22298 wxTimeSpan
*arg2
= 0 ;
22300 PyObject
* obj0
= 0 ;
22301 PyObject
* obj1
= 0 ;
22302 char *kwnames
[] = {
22303 (char *) "self",(char *) "t", NULL
22306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22312 if (arg2
== NULL
) {
22313 PyErr_SetString(PyExc_TypeError
,"null reference");
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22324 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22332 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22333 PyObject
*resultobj
;
22334 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22336 PyObject
* obj0
= 0 ;
22337 char *kwnames
[] = {
22338 (char *) "self", NULL
22341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_FromInt((int)result
);
22358 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
;
22360 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22362 PyObject
* obj0
= 0 ;
22363 char *kwnames
[] = {
22364 (char *) "self", NULL
22367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 resultobj
= SWIG_FromInt((int)result
);
22384 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
;
22386 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22388 PyObject
* obj0
= 0 ;
22389 char *kwnames
[] = {
22390 (char *) "self", NULL
22393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22398 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22400 wxPyEndAllowThreads(__tstate
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 resultobj
= SWIG_FromInt((int)result
);
22410 static PyObject
*_wrap_TimeSpan_GetMinutes(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_GetMinutes",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
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 resultobj
= SWIG_FromInt((int)result
);
22436 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22440 PyObject
* obj0
= 0 ;
22441 char *kwnames
[] = {
22442 (char *) "self", NULL
22445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22450 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22456 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22457 hi
= PyLong_FromLong( (&result
)->GetHi() );
22458 lo
= PyLong_FromLong( (&result
)->GetLo() );
22459 shifter
= PyLong_FromLong(32);
22460 shifted
= PyNumber_Lshift(hi
, shifter
);
22461 resultobj
= PyNumber_Or(shifted
, lo
);
22464 Py_DECREF(shifter
);
22465 Py_DECREF(shifted
);
22473 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22474 PyObject
*resultobj
;
22475 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22477 PyObject
* obj0
= 0 ;
22478 char *kwnames
[] = {
22479 (char *) "self", NULL
22482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22489 wxPyEndAllowThreads(__tstate
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22493 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22494 hi
= PyLong_FromLong( (&result
)->GetHi() );
22495 lo
= PyLong_FromLong( (&result
)->GetLo() );
22496 shifter
= PyLong_FromLong(32);
22497 shifted
= PyNumber_Lshift(hi
, shifter
);
22498 resultobj
= PyNumber_Or(shifted
, lo
);
22501 Py_DECREF(shifter
);
22502 Py_DECREF(shifted
);
22510 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22513 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22514 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22516 bool temp2
= False
;
22517 PyObject
* obj0
= 0 ;
22518 PyObject
* obj1
= 0 ;
22519 char *kwnames
[] = {
22520 (char *) "self",(char *) "format", NULL
22523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22528 arg2
= wxString_in_helper(obj1
);
22529 if (arg2
== NULL
) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22561 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22564 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22566 return Py_BuildValue((char *)"");
22568 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 int arg1
= (int) 0 ;
22571 int arg2
= (int) 0 ;
22572 int arg3
= (int) 0 ;
22573 int arg4
= (int) 0 ;
22574 wxDateSpan
*result
;
22575 PyObject
* obj0
= 0 ;
22576 PyObject
* obj1
= 0 ;
22577 PyObject
* obj2
= 0 ;
22578 PyObject
* obj3
= 0 ;
22579 char *kwnames
[] = {
22580 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22585 arg1
= (int) SWIG_AsInt(obj0
);
22586 if (PyErr_Occurred()) SWIG_fail
;
22589 arg2
= (int) SWIG_AsInt(obj1
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22593 arg3
= (int) SWIG_AsInt(obj2
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22597 arg4
= (int) SWIG_AsInt(obj3
);
22598 if (PyErr_Occurred()) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22614 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22617 PyObject
* obj0
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "self", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 wxPyEndAllowThreads(__tstate
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22632 Py_INCREF(Py_None
); resultobj
= Py_None
;
22639 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22640 PyObject
*resultobj
;
22643 PyObject
* obj0
= 0 ;
22644 char *kwnames
[] = {
22645 (char *) "days", NULL
22648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22649 arg1
= (int) SWIG_AsInt(obj0
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22653 result
= wxDateSpan::Days(arg1
);
22655 wxPyEndAllowThreads(__tstate
);
22656 if (PyErr_Occurred()) SWIG_fail
;
22659 wxDateSpan
* resultptr
;
22660 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22669 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22672 char *kwnames
[] = {
22676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 result
= wxDateSpan::Day();
22681 wxPyEndAllowThreads(__tstate
);
22682 if (PyErr_Occurred()) SWIG_fail
;
22685 wxDateSpan
* resultptr
;
22686 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22687 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22695 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22696 PyObject
*resultobj
;
22699 PyObject
* obj0
= 0 ;
22700 char *kwnames
[] = {
22701 (char *) "weeks", NULL
22704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22705 arg1
= (int) SWIG_AsInt(obj0
);
22706 if (PyErr_Occurred()) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 result
= wxDateSpan::Weeks(arg1
);
22711 wxPyEndAllowThreads(__tstate
);
22712 if (PyErr_Occurred()) SWIG_fail
;
22715 wxDateSpan
* resultptr
;
22716 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22725 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22726 PyObject
*resultobj
;
22728 char *kwnames
[] = {
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22735 result
= wxDateSpan::Week();
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22741 wxDateSpan
* resultptr
;
22742 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22743 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22751 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22755 PyObject
* obj0
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "mon", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22761 arg1
= (int) SWIG_AsInt(obj0
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 result
= wxDateSpan::Months(arg1
);
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22771 wxDateSpan
* resultptr
;
22772 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22781 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22784 char *kwnames
[] = {
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22791 result
= wxDateSpan::Month();
22793 wxPyEndAllowThreads(__tstate
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22797 wxDateSpan
* resultptr
;
22798 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22807 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22808 PyObject
*resultobj
;
22811 PyObject
* obj0
= 0 ;
22812 char *kwnames
[] = {
22813 (char *) "years", NULL
22816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22817 arg1
= (int) SWIG_AsInt(obj0
);
22818 if (PyErr_Occurred()) SWIG_fail
;
22820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22821 result
= wxDateSpan::Years(arg1
);
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22827 wxDateSpan
* resultptr
;
22828 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22837 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22840 char *kwnames
[] = {
22844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 result
= wxDateSpan::Year();
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22853 wxDateSpan
* resultptr
;
22854 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22855 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22863 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22867 wxDateSpan
*result
;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self",(char *) "n", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22877 arg2
= (int) SWIG_AsInt(obj1
);
22878 if (PyErr_Occurred()) SWIG_fail
;
22880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22882 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22883 result
= (wxDateSpan
*) &_result_ref
;
22886 wxPyEndAllowThreads(__tstate
);
22887 if (PyErr_Occurred()) SWIG_fail
;
22889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22896 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22897 PyObject
*resultobj
;
22898 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22900 wxDateSpan
*result
;
22901 PyObject
* obj0
= 0 ;
22902 PyObject
* obj1
= 0 ;
22903 char *kwnames
[] = {
22904 (char *) "self",(char *) "n", NULL
22907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22910 arg2
= (int) SWIG_AsInt(obj1
);
22911 if (PyErr_Occurred()) SWIG_fail
;
22913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22915 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22916 result
= (wxDateSpan
*) &_result_ref
;
22919 wxPyEndAllowThreads(__tstate
);
22920 if (PyErr_Occurred()) SWIG_fail
;
22922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22929 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22930 PyObject
*resultobj
;
22931 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22933 wxDateSpan
*result
;
22934 PyObject
* obj0
= 0 ;
22935 PyObject
* obj1
= 0 ;
22936 char *kwnames
[] = {
22937 (char *) "self",(char *) "n", NULL
22940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22943 arg2
= (int) SWIG_AsInt(obj1
);
22944 if (PyErr_Occurred()) SWIG_fail
;
22946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22949 result
= (wxDateSpan
*) &_result_ref
;
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22962 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22963 PyObject
*resultobj
;
22964 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22966 wxDateSpan
*result
;
22967 PyObject
* obj0
= 0 ;
22968 PyObject
* obj1
= 0 ;
22969 char *kwnames
[] = {
22970 (char *) "self",(char *) "n", NULL
22973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22976 arg2
= (int) SWIG_AsInt(obj1
);
22977 if (PyErr_Occurred()) SWIG_fail
;
22979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22982 result
= (wxDateSpan
*) &_result_ref
;
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22995 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22999 PyObject
* obj0
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= SWIG_FromInt((int)result
);
23021 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23025 PyObject
* obj0
= 0 ;
23026 char *kwnames
[] = {
23027 (char *) "self", NULL
23030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23035 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= SWIG_FromInt((int)result
);
23047 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
;
23049 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23051 PyObject
* obj0
= 0 ;
23052 char *kwnames
[] = {
23053 (char *) "self", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 resultobj
= SWIG_FromInt((int)result
);
23073 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23074 PyObject
*resultobj
;
23075 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23077 PyObject
* obj0
= 0 ;
23078 char *kwnames
[] = {
23079 (char *) "self", NULL
23082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23087 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23089 wxPyEndAllowThreads(__tstate
);
23090 if (PyErr_Occurred()) SWIG_fail
;
23092 resultobj
= SWIG_FromInt((int)result
);
23099 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
;
23101 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23103 PyObject
* obj0
= 0 ;
23104 char *kwnames
[] = {
23105 (char *) "self", NULL
23108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 resultobj
= SWIG_FromInt((int)result
);
23125 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23126 PyObject
*resultobj
;
23127 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23128 wxDateSpan
*arg2
= 0 ;
23129 wxDateSpan
*result
;
23130 PyObject
* obj0
= 0 ;
23131 PyObject
* obj1
= 0 ;
23132 char *kwnames
[] = {
23133 (char *) "self",(char *) "other", NULL
23136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23142 if (arg2
== NULL
) {
23143 PyErr_SetString(PyExc_TypeError
,"null reference");
23147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23149 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23150 result
= (wxDateSpan
*) &_result_ref
;
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23163 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23164 PyObject
*resultobj
;
23165 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23166 wxDateSpan
*arg2
= 0 ;
23167 wxDateSpan
*result
;
23168 PyObject
* obj0
= 0 ;
23169 PyObject
* obj1
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self",(char *) "other", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23178 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23180 if (arg2
== NULL
) {
23181 PyErr_SetString(PyExc_TypeError
,"null reference");
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23188 result
= (wxDateSpan
*) &_result_ref
;
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23201 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23204 wxDateSpan
*result
;
23205 PyObject
* obj0
= 0 ;
23206 char *kwnames
[] = {
23207 (char *) "self", NULL
23210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23216 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23217 result
= (wxDateSpan
*) &_result_ref
;
23220 wxPyEndAllowThreads(__tstate
);
23221 if (PyErr_Occurred()) SWIG_fail
;
23223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23230 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23231 PyObject
*resultobj
;
23232 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23234 wxDateSpan
*result
;
23235 PyObject
* obj0
= 0 ;
23236 PyObject
* obj1
= 0 ;
23237 char *kwnames
[] = {
23238 (char *) "self",(char *) "factor", NULL
23241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23244 arg2
= (int) SWIG_AsInt(obj1
);
23245 if (PyErr_Occurred()) SWIG_fail
;
23247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23250 result
= (wxDateSpan
*) &_result_ref
;
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23263 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23266 wxDateSpan
*arg2
= 0 ;
23267 wxDateSpan
*result
;
23268 PyObject
* obj0
= 0 ;
23269 PyObject
* obj1
= 0 ;
23270 char *kwnames
[] = {
23271 (char *) "self",(char *) "other", NULL
23274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23280 if (arg2
== NULL
) {
23281 PyErr_SetString(PyExc_TypeError
,"null reference");
23285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23288 result
= (wxDateSpan
*) &_result_ref
;
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23301 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23304 wxDateSpan
*arg2
= 0 ;
23305 wxDateSpan
*result
;
23306 PyObject
* obj0
= 0 ;
23307 PyObject
* obj1
= 0 ;
23308 char *kwnames
[] = {
23309 (char *) "self",(char *) "other", NULL
23312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23318 if (arg2
== NULL
) {
23319 PyErr_SetString(PyExc_TypeError
,"null reference");
23323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23326 result
= (wxDateSpan
*) &_result_ref
;
23329 wxPyEndAllowThreads(__tstate
);
23330 if (PyErr_Occurred()) SWIG_fail
;
23332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23339 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23341 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23342 wxDateSpan
*result
;
23343 PyObject
* obj0
= 0 ;
23344 char *kwnames
[] = {
23345 (char *) "self", NULL
23348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23354 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23355 result
= (wxDateSpan
*) &_result_ref
;
23358 wxPyEndAllowThreads(__tstate
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23368 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23369 PyObject
*resultobj
;
23370 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23372 wxDateSpan
*result
;
23373 PyObject
* obj0
= 0 ;
23374 PyObject
* obj1
= 0 ;
23375 char *kwnames
[] = {
23376 (char *) "self",(char *) "factor", NULL
23379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23382 arg2
= (int) SWIG_AsInt(obj1
);
23383 if (PyErr_Occurred()) SWIG_fail
;
23385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23388 result
= (wxDateSpan
*) &_result_ref
;
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23401 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23404 wxDateSpan
*arg2
= 0 ;
23406 PyObject
* obj0
= 0 ;
23407 PyObject
* obj1
= 0 ;
23408 char *kwnames
[] = {
23409 (char *) "self",(char *) "other", NULL
23412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23415 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23416 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23418 if (arg2
== NULL
) {
23419 PyErr_SetString(PyExc_TypeError
,"null reference");
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23430 wxDateSpan
* resultptr
;
23431 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23440 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
;
23442 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23443 wxDateSpan
*arg2
= 0 ;
23445 PyObject
* obj0
= 0 ;
23446 PyObject
* obj1
= 0 ;
23447 char *kwnames
[] = {
23448 (char *) "self",(char *) "other", NULL
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23454 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23455 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23457 if (arg2
== NULL
) {
23458 PyErr_SetString(PyExc_TypeError
,"null reference");
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23465 wxPyEndAllowThreads(__tstate
);
23466 if (PyErr_Occurred()) SWIG_fail
;
23469 wxDateSpan
* resultptr
;
23470 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23471 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23479 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23480 PyObject
*resultobj
;
23481 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23484 PyObject
* obj0
= 0 ;
23485 PyObject
* obj1
= 0 ;
23486 char *kwnames
[] = {
23487 (char *) "self",(char *) "n", NULL
23490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23493 arg2
= (int) SWIG_AsInt(obj1
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23497 result
= wxDateSpan___mul__(arg1
,arg2
);
23499 wxPyEndAllowThreads(__tstate
);
23500 if (PyErr_Occurred()) SWIG_fail
;
23503 wxDateSpan
* resultptr
;
23504 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23505 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23513 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23514 PyObject
*resultobj
;
23515 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23518 PyObject
* obj0
= 0 ;
23519 PyObject
* obj1
= 0 ;
23520 char *kwnames
[] = {
23521 (char *) "self",(char *) "n", NULL
23524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23527 arg2
= (int) SWIG_AsInt(obj1
);
23528 if (PyErr_Occurred()) SWIG_fail
;
23530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23531 result
= wxDateSpan___rmul__(arg1
,arg2
);
23533 wxPyEndAllowThreads(__tstate
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23537 wxDateSpan
* resultptr
;
23538 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23539 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23547 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
;
23549 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23550 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23552 PyObject
* obj0
= 0 ;
23553 PyObject
* obj1
= 0 ;
23554 char *kwnames
[] = {
23555 (char *) "self",(char *) "other", NULL
23558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23579 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23582 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23584 PyObject
* obj0
= 0 ;
23585 PyObject
* obj1
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self",(char *) "other", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23611 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23614 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23616 return Py_BuildValue((char *)"");
23618 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23619 PyObject
*resultobj
;
23621 char *kwnames
[] = {
23625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= (long)wxGetLocalTime();
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23633 resultobj
= SWIG_FromLong((long)result
);
23640 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23641 PyObject
*resultobj
;
23643 char *kwnames
[] = {
23647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 result
= (long)wxGetUTCTime();
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= SWIG_FromLong((long)result
);
23662 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23665 char *kwnames
[] = {
23669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23672 result
= (long)wxGetCurrentTime();
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23677 resultobj
= SWIG_FromLong((long)result
);
23684 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23685 PyObject
*resultobj
;
23687 char *kwnames
[] = {
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23694 result
= wxGetLocalTimeMillis();
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23700 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23701 hi
= PyLong_FromLong( (&result
)->GetHi() );
23702 lo
= PyLong_FromLong( (&result
)->GetLo() );
23703 shifter
= PyLong_FromLong(32);
23704 shifted
= PyNumber_Lshift(hi
, shifter
);
23705 resultobj
= PyNumber_Or(shifted
, lo
);
23708 Py_DECREF(shifter
);
23709 Py_DECREF(shifted
);
23717 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23718 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23723 static PyObject
*_wrap_DefaultDateTime_get() {
23726 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23731 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23732 PyObject
*resultobj
;
23734 wxDataFormat
*result
;
23735 PyObject
* obj0
= 0 ;
23736 char *kwnames
[] = {
23737 (char *) "type", NULL
23740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23741 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23745 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23747 wxPyEndAllowThreads(__tstate
);
23748 if (PyErr_Occurred()) SWIG_fail
;
23750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23757 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23758 PyObject
*resultobj
;
23759 wxString
*arg1
= 0 ;
23760 wxDataFormat
*result
;
23761 bool temp1
= False
;
23762 PyObject
* obj0
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "format", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23769 arg1
= wxString_in_helper(obj0
);
23770 if (arg1
== NULL
) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23795 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23798 PyObject
* obj0
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "self", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23813 Py_INCREF(Py_None
); resultobj
= Py_None
;
23820 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23821 PyObject
*resultobj
;
23822 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23825 PyObject
* obj0
= 0 ;
23826 PyObject
* obj1
= 0 ;
23828 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23831 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23832 if (PyErr_Occurred()) SWIG_fail
;
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23837 wxPyEndAllowThreads(__tstate
);
23838 if (PyErr_Occurred()) SWIG_fail
;
23841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23849 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23850 PyObject
*resultobj
;
23851 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23854 PyObject
* obj0
= 0 ;
23855 PyObject
* obj1
= 0 ;
23857 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23860 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23878 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23879 PyObject
*resultobj
;
23880 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23881 wxDataFormat
*arg2
= 0 ;
23883 PyObject
* obj0
= 0 ;
23884 PyObject
* obj1
= 0 ;
23886 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23890 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23892 if (arg2
== NULL
) {
23893 PyErr_SetString(PyExc_TypeError
,"null reference");
23897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23898 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23900 wxPyEndAllowThreads(__tstate
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23912 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23917 argc
= PyObject_Length(args
);
23918 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23919 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23925 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23935 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23943 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23951 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23959 _v
= SWIG_CheckInt(argv
[1]);
23961 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23966 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23971 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
23972 PyObject
*resultobj
;
23973 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23974 wxDataFormat
*arg2
= 0 ;
23976 PyObject
* obj0
= 0 ;
23977 PyObject
* obj1
= 0 ;
23979 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23982 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23983 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23985 if (arg2
== NULL
) {
23986 PyErr_SetString(PyExc_TypeError
,"null reference");
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24005 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24010 argc
= PyObject_Length(args
);
24011 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24012 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24018 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24028 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24036 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24044 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24052 _v
= SWIG_CheckInt(argv
[1]);
24054 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24059 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24064 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24065 PyObject
*resultobj
;
24066 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24068 PyObject
* obj0
= 0 ;
24069 PyObject
* obj1
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self",(char *) "format", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&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 (arg1
)->SetType((wxDataFormatId
)arg2
);
24083 wxPyEndAllowThreads(__tstate
);
24084 if (PyErr_Occurred()) SWIG_fail
;
24086 Py_INCREF(Py_None
); resultobj
= Py_None
;
24093 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24097 PyObject
* obj0
= 0 ;
24098 char *kwnames
[] = {
24099 (char *) "self", NULL
24102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24109 wxPyEndAllowThreads(__tstate
);
24110 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= SWIG_FromInt((int)result
);
24119 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
;
24121 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24123 PyObject
* obj0
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24133 result
= ((wxDataFormat
const *)arg1
)->GetId();
24135 wxPyEndAllowThreads(__tstate
);
24136 if (PyErr_Occurred()) SWIG_fail
;
24140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24151 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24154 wxString
*arg2
= 0 ;
24155 bool temp2
= False
;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self",(char *) "format", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24166 arg2
= wxString_in_helper(obj1
);
24167 if (arg2
== NULL
) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 (arg1
)->SetId((wxString
const &)*arg2
);
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 Py_INCREF(Py_None
); resultobj
= Py_None
;
24192 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24194 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24195 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24197 return Py_BuildValue((char *)"");
24199 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24200 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24205 static PyObject
*_wrap_FormatInvalid_get() {
24208 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24213 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
;
24215 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24216 PyObject
* obj0
= 0 ;
24217 char *kwnames
[] = {
24218 (char *) "self", NULL
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 Py_INCREF(Py_None
); resultobj
= Py_None
;
24238 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24241 int arg2
= (int) wxDataObject::Get
;
24242 SwigValueWrapper
< wxDataFormat
> result
;
24243 PyObject
* obj0
= 0 ;
24244 PyObject
* obj1
= 0 ;
24245 char *kwnames
[] = {
24246 (char *) "self",(char *) "dir", NULL
24249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24253 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24254 if (PyErr_Occurred()) SWIG_fail
;
24257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24258 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24260 wxPyEndAllowThreads(__tstate
);
24261 if (PyErr_Occurred()) SWIG_fail
;
24264 wxDataFormat
* resultptr
;
24265 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24266 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24274 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24275 PyObject
*resultobj
;
24276 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24277 int arg2
= (int) wxDataObject::Get
;
24279 PyObject
* obj0
= 0 ;
24280 PyObject
* obj1
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self",(char *) "dir", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24289 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24290 if (PyErr_Occurred()) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24306 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24309 wxDataFormat
*arg2
= 0 ;
24310 int arg3
= (int) wxDataObject::Get
;
24312 PyObject
* obj0
= 0 ;
24313 PyObject
* obj1
= 0 ;
24314 PyObject
* obj2
= 0 ;
24315 char *kwnames
[] = {
24316 (char *) "self",(char *) "format",(char *) "dir", NULL
24319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24322 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24323 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24325 if (arg2
== NULL
) {
24326 PyErr_SetString(PyExc_TypeError
,"null reference");
24330 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24349 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24350 PyObject
*resultobj
;
24351 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24352 wxDataFormat
*arg2
= 0 ;
24354 PyObject
* obj0
= 0 ;
24355 PyObject
* obj1
= 0 ;
24356 char *kwnames
[] = {
24357 (char *) "self",(char *) "format", NULL
24360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24364 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24366 if (arg2
== NULL
) {
24367 PyErr_SetString(PyExc_TypeError
,"null reference");
24371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24372 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24374 wxPyEndAllowThreads(__tstate
);
24375 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24384 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24385 PyObject
*resultobj
;
24386 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24387 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24388 int arg3
= (int) wxDataObject::Get
;
24389 PyObject
* obj0
= 0 ;
24390 PyObject
* obj1
= 0 ;
24391 PyObject
* obj2
= 0 ;
24392 char *kwnames
[] = {
24393 (char *) "self",(char *) "formats",(char *) "dir", NULL
24396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24402 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24409 wxPyEndAllowThreads(__tstate
);
24410 if (PyErr_Occurred()) SWIG_fail
;
24412 Py_INCREF(Py_None
); resultobj
= Py_None
;
24419 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24420 PyObject
*resultobj
;
24421 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24422 wxDataFormat
*arg2
= 0 ;
24423 void *arg3
= (void *) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 PyObject
* obj1
= 0 ;
24427 PyObject
* obj2
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "self",(char *) "format",(char *) "buf", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24435 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24436 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24438 if (arg2
== NULL
) {
24439 PyErr_SetString(PyExc_TypeError
,"null reference");
24442 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24445 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24447 wxPyEndAllowThreads(__tstate
);
24448 if (PyErr_Occurred()) SWIG_fail
;
24451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24459 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24462 wxDataFormat
*arg2
= 0 ;
24464 void *arg4
= (void *) 0 ;
24466 PyObject
* obj0
= 0 ;
24467 PyObject
* obj1
= 0 ;
24468 PyObject
* obj2
= 0 ;
24469 PyObject
* obj3
= 0 ;
24470 char *kwnames
[] = {
24471 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24478 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24480 if (arg2
== NULL
) {
24481 PyErr_SetString(PyExc_TypeError
,"null reference");
24484 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24486 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24503 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24506 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24508 return Py_BuildValue((char *)"");
24510 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
;
24512 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24513 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24514 wxDataObjectSimple
*result
;
24515 PyObject
* obj0
= 0 ;
24516 char *kwnames
[] = {
24517 (char *) "format", NULL
24520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24523 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24525 if (arg1
== NULL
) {
24526 PyErr_SetString(PyExc_TypeError
,"null reference");
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24544 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
;
24546 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24547 wxDataFormat
*result
;
24548 PyObject
* obj0
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24560 result
= (wxDataFormat
*) &_result_ref
;
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24573 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24576 wxDataFormat
*arg2
= 0 ;
24577 PyObject
* obj0
= 0 ;
24578 PyObject
* obj1
= 0 ;
24579 char *kwnames
[] = {
24580 (char *) "self",(char *) "format", NULL
24583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24589 if (arg2
== NULL
) {
24590 PyErr_SetString(PyExc_TypeError
,"null reference");
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 Py_INCREF(Py_None
); resultobj
= Py_None
;
24607 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24610 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24612 return Py_BuildValue((char *)"");
24614 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24615 PyObject
*resultobj
;
24616 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24617 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24618 wxPyDataObjectSimple
*result
;
24619 PyObject
* obj0
= 0 ;
24620 char *kwnames
[] = {
24621 (char *) "format", NULL
24624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24629 if (arg1
== NULL
) {
24630 PyErr_SetString(PyExc_TypeError
,"null reference");
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24638 wxPyEndAllowThreads(__tstate
);
24639 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24648 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24649 PyObject
*resultobj
;
24650 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24651 PyObject
*arg2
= (PyObject
*) 0 ;
24652 PyObject
*arg3
= (PyObject
*) 0 ;
24653 PyObject
* obj0
= 0 ;
24654 PyObject
* obj1
= 0 ;
24655 PyObject
* obj2
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "self",(char *) "self",(char *) "_class", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24667 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24669 wxPyEndAllowThreads(__tstate
);
24670 if (PyErr_Occurred()) SWIG_fail
;
24672 Py_INCREF(Py_None
); resultobj
= Py_None
;
24679 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24682 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24684 return Py_BuildValue((char *)"");
24686 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24688 wxDataObjectComposite
*result
;
24689 char *kwnames
[] = {
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24708 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24711 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24712 int arg3
= (int) False
;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 PyObject
* obj2
= 0 ;
24716 char *kwnames
[] = {
24717 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24723 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24724 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24726 arg3
= (int) SWIG_AsInt(obj2
);
24727 if (PyErr_Occurred()) SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 (arg1
)->Add(arg2
,arg3
);
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24736 Py_INCREF(Py_None
); resultobj
= Py_None
;
24743 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24746 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24748 return Py_BuildValue((char *)"");
24750 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24751 PyObject
*resultobj
;
24752 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24753 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24754 wxTextDataObject
*result
;
24755 bool temp1
= False
;
24756 PyObject
* obj0
= 0 ;
24757 char *kwnames
[] = {
24758 (char *) "text", NULL
24761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24764 arg1
= wxString_in_helper(obj0
);
24765 if (arg1
== NULL
) SWIG_fail
;
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24791 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
;
24793 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24795 PyObject
* obj0
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "self", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24805 result
= (size_t)(arg1
)->GetTextLength();
24807 wxPyEndAllowThreads(__tstate
);
24808 if (PyErr_Occurred()) SWIG_fail
;
24810 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24817 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24818 PyObject
*resultobj
;
24819 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24821 PyObject
* obj0
= 0 ;
24822 char *kwnames
[] = {
24823 (char *) "self", NULL
24826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 result
= (arg1
)->GetText();
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24838 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24840 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24849 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
;
24851 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24852 wxString
*arg2
= 0 ;
24853 bool temp2
= False
;
24854 PyObject
* obj0
= 0 ;
24855 PyObject
* obj1
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self",(char *) "text", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24864 arg2
= wxString_in_helper(obj1
);
24865 if (arg2
== NULL
) SWIG_fail
;
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 (arg1
)->SetText((wxString
const &)*arg2
);
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 Py_INCREF(Py_None
); resultobj
= Py_None
;
24890 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24892 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24893 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24895 return Py_BuildValue((char *)"");
24897 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24900 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24901 wxPyTextDataObject
*result
;
24902 bool temp1
= False
;
24903 PyObject
* obj0
= 0 ;
24904 char *kwnames
[] = {
24905 (char *) "text", NULL
24908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24911 arg1
= wxString_in_helper(obj0
);
24912 if (arg1
== NULL
) SWIG_fail
;
24917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24918 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24920 wxPyEndAllowThreads(__tstate
);
24921 if (PyErr_Occurred()) SWIG_fail
;
24923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24938 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24939 PyObject
*resultobj
;
24940 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24941 PyObject
*arg2
= (PyObject
*) 0 ;
24942 PyObject
*arg3
= (PyObject
*) 0 ;
24943 PyObject
* obj0
= 0 ;
24944 PyObject
* obj1
= 0 ;
24945 PyObject
* obj2
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self",(char *) "self",(char *) "_class", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24962 Py_INCREF(Py_None
); resultobj
= Py_None
;
24969 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24971 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24972 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24974 return Py_BuildValue((char *)"");
24976 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24977 PyObject
*resultobj
;
24978 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24979 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24980 wxBitmapDataObject
*result
;
24981 PyObject
* obj0
= 0 ;
24982 char *kwnames
[] = {
24983 (char *) "bitmap", NULL
24986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24989 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24991 if (arg1
== NULL
) {
24992 PyErr_SetString(PyExc_TypeError
,"null reference");
24997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25000 wxPyEndAllowThreads(__tstate
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25010 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25011 PyObject
*resultobj
;
25012 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25014 PyObject
* obj0
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "self", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25030 wxBitmap
* resultptr
;
25031 resultptr
= new wxBitmap((wxBitmap
&) result
);
25032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25040 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25041 PyObject
*resultobj
;
25042 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25043 wxBitmap
*arg2
= 0 ;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 char *kwnames
[] = {
25047 (char *) "self",(char *) "bitmap", NULL
25050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25054 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25056 if (arg2
== NULL
) {
25057 PyErr_SetString(PyExc_TypeError
,"null reference");
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 Py_INCREF(Py_None
); resultobj
= Py_None
;
25074 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25077 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25079 return Py_BuildValue((char *)"");
25081 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25082 PyObject
*resultobj
;
25083 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25084 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25085 wxPyBitmapDataObject
*result
;
25086 PyObject
* obj0
= 0 ;
25087 char *kwnames
[] = {
25088 (char *) "bitmap", NULL
25091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25096 if (arg1
== NULL
) {
25097 PyErr_SetString(PyExc_TypeError
,"null reference");
25102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25103 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25115 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25116 PyObject
*resultobj
;
25117 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25118 PyObject
*arg2
= (PyObject
*) 0 ;
25119 PyObject
*arg3
= (PyObject
*) 0 ;
25120 PyObject
* obj0
= 0 ;
25121 PyObject
* obj1
= 0 ;
25122 PyObject
* obj2
= 0 ;
25123 char *kwnames
[] = {
25124 (char *) "self",(char *) "self",(char *) "_class", NULL
25127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25134 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 Py_INCREF(Py_None
); resultobj
= Py_None
;
25146 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25149 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25151 return Py_BuildValue((char *)"");
25153 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxFileDataObject
*result
;
25156 char *kwnames
[] = {
25160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25163 result
= (wxFileDataObject
*)new wxFileDataObject();
25165 wxPyEndAllowThreads(__tstate
);
25166 if (PyErr_Occurred()) SWIG_fail
;
25168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25175 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25176 PyObject
*resultobj
;
25177 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25178 wxArrayString
*result
;
25179 PyObject
* obj0
= 0 ;
25180 char *kwnames
[] = {
25181 (char *) "self", NULL
25184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25191 result
= (wxArrayString
*) &_result_ref
;
25194 wxPyEndAllowThreads(__tstate
);
25195 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= wxArrayString2PyList_helper(*result
);
25206 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
;
25208 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25209 wxString
*arg2
= 0 ;
25210 bool temp2
= False
;
25211 PyObject
* obj0
= 0 ;
25212 PyObject
* obj1
= 0 ;
25213 char *kwnames
[] = {
25214 (char *) "self",(char *) "filename", NULL
25217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25221 arg2
= wxString_in_helper(obj1
);
25222 if (arg2
== NULL
) SWIG_fail
;
25226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25227 (arg1
)->AddFile((wxString
const &)*arg2
);
25229 wxPyEndAllowThreads(__tstate
);
25230 if (PyErr_Occurred()) SWIG_fail
;
25232 Py_INCREF(Py_None
); resultobj
= Py_None
;
25247 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25249 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25250 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25252 return Py_BuildValue((char *)"");
25254 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
;
25256 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25257 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25258 wxCustomDataObject
*result
;
25259 PyObject
* obj0
= 0 ;
25260 char *kwnames
[] = {
25261 (char *) "format", NULL
25264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25269 if (arg1
== NULL
) {
25270 PyErr_SetString(PyExc_TypeError
,"null reference");
25275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25276 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25278 wxPyEndAllowThreads(__tstate
);
25279 if (PyErr_Occurred()) SWIG_fail
;
25281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25288 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25289 PyObject
*resultobj
;
25290 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25291 PyObject
*arg2
= (PyObject
*) 0 ;
25292 PyObject
* obj0
= 0 ;
25293 PyObject
* obj1
= 0 ;
25294 char *kwnames
[] = {
25295 (char *) "self",(char *) "data", NULL
25298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25304 wxCustomDataObject_TakeData(arg1
,arg2
);
25306 wxPyEndAllowThreads(__tstate
);
25307 if (PyErr_Occurred()) SWIG_fail
;
25309 Py_INCREF(Py_None
); resultobj
= Py_None
;
25316 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25317 PyObject
*resultobj
;
25318 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25319 PyObject
*arg2
= (PyObject
*) 0 ;
25321 PyObject
* obj0
= 0 ;
25322 PyObject
* obj1
= 0 ;
25323 char *kwnames
[] = {
25324 (char *) "self",(char *) "data", NULL
25327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25333 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25335 wxPyEndAllowThreads(__tstate
);
25336 if (PyErr_Occurred()) SWIG_fail
;
25339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25347 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
;
25349 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25351 PyObject
* obj0
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25361 result
= (size_t)(arg1
)->GetSize();
25363 wxPyEndAllowThreads(__tstate
);
25364 if (PyErr_Occurred()) SWIG_fail
;
25366 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25373 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25375 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25377 PyObject
* obj0
= 0 ;
25378 char *kwnames
[] = {
25379 (char *) "self", NULL
25382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25389 wxPyEndAllowThreads(__tstate
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25392 resultobj
= result
;
25399 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25402 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25404 return Py_BuildValue((char *)"");
25406 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
;
25408 wxURLDataObject
*result
;
25409 char *kwnames
[] = {
25413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (wxURLDataObject
*)new wxURLDataObject();
25418 wxPyEndAllowThreads(__tstate
);
25419 if (PyErr_Occurred()) SWIG_fail
;
25421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25428 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25429 PyObject
*resultobj
;
25430 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25432 PyObject
* obj0
= 0 ;
25433 char *kwnames
[] = {
25434 (char *) "self", NULL
25437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (arg1
)->GetURL();
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25460 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25461 PyObject
*resultobj
;
25462 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25463 wxString
*arg2
= 0 ;
25464 bool temp2
= False
;
25465 PyObject
* obj0
= 0 ;
25466 PyObject
* obj1
= 0 ;
25467 char *kwnames
[] = {
25468 (char *) "self",(char *) "url", NULL
25471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25475 arg2
= wxString_in_helper(obj1
);
25476 if (arg2
== NULL
) SWIG_fail
;
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 (arg1
)->SetURL((wxString
const &)*arg2
);
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 Py_INCREF(Py_None
); resultobj
= Py_None
;
25501 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25504 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25506 return Py_BuildValue((char *)"");
25508 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxMetafileDataObject
*result
;
25511 char *kwnames
[] = {
25515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25530 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25533 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25535 return Py_BuildValue((char *)"");
25537 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25538 PyObject
*resultobj
;
25541 PyObject
* obj0
= 0 ;
25542 char *kwnames
[] = {
25543 (char *) "res", NULL
25546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25547 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25548 if (PyErr_Occurred()) SWIG_fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25565 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
;
25567 wxWindow
*arg1
= (wxWindow
*) 0 ;
25568 wxIcon
const &arg2_defvalue
= wxNullIcon
;
25569 wxIcon
*arg2
= (wxIcon
*) &arg2_defvalue
;
25570 wxIcon
const &arg3_defvalue
= wxNullIcon
;
25571 wxIcon
*arg3
= (wxIcon
*) &arg3_defvalue
;
25572 wxIcon
const &arg4_defvalue
= wxNullIcon
;
25573 wxIcon
*arg4
= (wxIcon
*) &arg4_defvalue
;
25574 wxPyDropSource
*result
;
25575 PyObject
* obj0
= 0 ;
25576 PyObject
* obj1
= 0 ;
25577 PyObject
* obj2
= 0 ;
25578 PyObject
* obj3
= 0 ;
25579 char *kwnames
[] = {
25580 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxIcon
,
25588 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25590 if (arg2
== NULL
) {
25591 PyErr_SetString(PyExc_TypeError
,"null reference");
25596 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIcon
,
25597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25599 if (arg3
== NULL
) {
25600 PyErr_SetString(PyExc_TypeError
,"null reference");
25605 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxIcon
,
25606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25608 if (arg4
== NULL
) {
25609 PyErr_SetString(PyExc_TypeError
,"null reference");
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxIcon
const &)*arg2
,(wxIcon
const &)*arg3
,(wxIcon
const &)*arg4
);
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25627 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25628 PyObject
*resultobj
;
25629 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25630 PyObject
*arg2
= (PyObject
*) 0 ;
25631 PyObject
*arg3
= (PyObject
*) 0 ;
25633 PyObject
* obj0
= 0 ;
25634 PyObject
* obj1
= 0 ;
25635 PyObject
* obj2
= 0 ;
25636 PyObject
* obj3
= 0 ;
25637 char *kwnames
[] = {
25638 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25646 arg4
= (int) SWIG_AsInt(obj3
);
25647 if (PyErr_Occurred()) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25655 Py_INCREF(Py_None
); resultobj
= Py_None
;
25662 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25665 PyObject
* obj0
= 0 ;
25666 char *kwnames
[] = {
25667 (char *) "self", NULL
25670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 wxPyEndAllowThreads(__tstate
);
25678 if (PyErr_Occurred()) SWIG_fail
;
25680 Py_INCREF(Py_None
); resultobj
= Py_None
;
25687 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25690 wxDataObject
*arg2
= 0 ;
25691 PyObject
* obj0
= 0 ;
25692 PyObject
* obj1
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self",(char *) "data", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25700 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25703 if (arg2
== NULL
) {
25704 PyErr_SetString(PyExc_TypeError
,"null reference");
25708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25709 (arg1
)->SetData(*arg2
);
25711 wxPyEndAllowThreads(__tstate
);
25712 if (PyErr_Occurred()) SWIG_fail
;
25714 Py_INCREF(Py_None
); resultobj
= Py_None
;
25721 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25722 PyObject
*resultobj
;
25723 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25724 wxDataObject
*result
;
25725 PyObject
* obj0
= 0 ;
25726 char *kwnames
[] = {
25727 (char *) "self", NULL
25730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25747 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
;
25749 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25751 wxCursor
*arg3
= 0 ;
25752 PyObject
* obj0
= 0 ;
25753 PyObject
* obj1
= 0 ;
25754 PyObject
* obj2
= 0 ;
25755 char *kwnames
[] = {
25756 (char *) "self",(char *) "res",(char *) "cursor", NULL
25759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25762 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25764 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25765 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25767 if (arg3
== NULL
) {
25768 PyErr_SetString(PyExc_TypeError
,"null reference");
25772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25773 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25775 wxPyEndAllowThreads(__tstate
);
25776 if (PyErr_Occurred()) SWIG_fail
;
25778 Py_INCREF(Py_None
); resultobj
= Py_None
;
25785 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25786 PyObject
*resultobj
;
25787 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25788 int arg2
= (int) wxDrag_CopyOnly
;
25790 PyObject
* obj0
= 0 ;
25791 PyObject
* obj1
= 0 ;
25792 char *kwnames
[] = {
25793 (char *) "self",(char *) "flags", NULL
25796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25800 arg2
= (int) SWIG_AsInt(obj1
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25805 result
= (int)(arg1
)->DoDragDrop(arg2
);
25807 wxPyEndAllowThreads(__tstate
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 resultobj
= SWIG_FromInt((int)result
);
25817 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
;
25819 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25822 PyObject
* obj0
= 0 ;
25823 PyObject
* obj1
= 0 ;
25824 char *kwnames
[] = {
25825 (char *) "self",(char *) "effect", NULL
25828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25831 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25837 wxPyEndAllowThreads(__tstate
);
25838 if (PyErr_Occurred()) SWIG_fail
;
25841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25849 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25852 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25854 return Py_BuildValue((char *)"");
25856 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25859 wxPyDropTarget
*result
;
25860 PyObject
* obj0
= 0 ;
25861 char *kwnames
[] = {
25862 (char *) "dataObject", NULL
25865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25868 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25884 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25887 PyObject
*arg2
= (PyObject
*) 0 ;
25888 PyObject
*arg3
= (PyObject
*) 0 ;
25889 PyObject
* obj0
= 0 ;
25890 PyObject
* obj1
= 0 ;
25891 PyObject
* obj2
= 0 ;
25892 char *kwnames
[] = {
25893 (char *) "self",(char *) "self",(char *) "_class", NULL
25896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25905 wxPyEndAllowThreads(__tstate
);
25906 if (PyErr_Occurred()) SWIG_fail
;
25908 Py_INCREF(Py_None
); resultobj
= Py_None
;
25915 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25916 PyObject
*resultobj
;
25917 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25918 PyObject
* obj0
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 Py_INCREF(Py_None
); resultobj
= Py_None
;
25940 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25943 wxDataObject
*result
;
25944 PyObject
* obj0
= 0 ;
25945 char *kwnames
[] = {
25946 (char *) "self", NULL
25949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25954 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25956 wxPyEndAllowThreads(__tstate
);
25957 if (PyErr_Occurred()) SWIG_fail
;
25959 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25966 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
;
25968 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25969 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25970 PyObject
* obj0
= 0 ;
25971 PyObject
* obj1
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self",(char *) "dataObject", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25980 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25983 (arg1
)->SetDataObject(arg2
);
25985 wxPyEndAllowThreads(__tstate
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 Py_INCREF(Py_None
); resultobj
= Py_None
;
25995 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25996 PyObject
*resultobj
;
25997 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26002 PyObject
* obj0
= 0 ;
26003 PyObject
* obj1
= 0 ;
26004 PyObject
* obj2
= 0 ;
26005 PyObject
* obj3
= 0 ;
26006 char *kwnames
[] = {
26007 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26013 arg2
= (int) SWIG_AsInt(obj1
);
26014 if (PyErr_Occurred()) SWIG_fail
;
26015 arg3
= (int) SWIG_AsInt(obj2
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26017 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26018 if (PyErr_Occurred()) SWIG_fail
;
26020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26021 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26023 wxPyEndAllowThreads(__tstate
);
26024 if (PyErr_Occurred()) SWIG_fail
;
26026 resultobj
= SWIG_FromInt((int)result
);
26033 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26034 PyObject
*resultobj
;
26035 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26040 PyObject
* obj0
= 0 ;
26041 PyObject
* obj1
= 0 ;
26042 PyObject
* obj2
= 0 ;
26043 PyObject
* obj3
= 0 ;
26044 char *kwnames
[] = {
26045 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26051 arg2
= (int) SWIG_AsInt(obj1
);
26052 if (PyErr_Occurred()) SWIG_fail
;
26053 arg3
= (int) SWIG_AsInt(obj2
);
26054 if (PyErr_Occurred()) SWIG_fail
;
26055 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26056 if (PyErr_Occurred()) SWIG_fail
;
26058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26059 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26061 wxPyEndAllowThreads(__tstate
);
26062 if (PyErr_Occurred()) SWIG_fail
;
26064 resultobj
= SWIG_FromInt((int)result
);
26071 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26072 PyObject
*resultobj
;
26073 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26074 PyObject
* obj0
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 (arg1
)->base_OnLeave();
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26089 Py_INCREF(Py_None
); resultobj
= Py_None
;
26096 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26097 PyObject
*resultobj
;
26098 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26102 PyObject
* obj0
= 0 ;
26103 PyObject
* obj1
= 0 ;
26104 PyObject
* obj2
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self",(char *) "x",(char *) "y", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26112 arg2
= (int) SWIG_AsInt(obj1
);
26113 if (PyErr_Occurred()) SWIG_fail
;
26114 arg3
= (int) SWIG_AsInt(obj2
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26132 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
;
26134 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26136 PyObject
* obj0
= 0 ;
26137 char *kwnames
[] = {
26138 (char *) "self", NULL
26141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 result
= (bool)(arg1
)->GetData();
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26160 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26163 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26165 return Py_BuildValue((char *)"");
26167 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxPyTextDropTarget
*result
;
26170 char *kwnames
[] = {
26174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26179 wxPyEndAllowThreads(__tstate
);
26180 if (PyErr_Occurred()) SWIG_fail
;
26182 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26189 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26190 PyObject
*resultobj
;
26191 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26192 PyObject
*arg2
= (PyObject
*) 0 ;
26193 PyObject
*arg3
= (PyObject
*) 0 ;
26194 PyObject
* obj0
= 0 ;
26195 PyObject
* obj1
= 0 ;
26196 PyObject
* obj2
= 0 ;
26197 char *kwnames
[] = {
26198 (char *) "self",(char *) "self",(char *) "_class", NULL
26201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26208 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26210 wxPyEndAllowThreads(__tstate
);
26211 if (PyErr_Occurred()) SWIG_fail
;
26213 Py_INCREF(Py_None
); resultobj
= Py_None
;
26220 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26221 PyObject
*resultobj
;
26222 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26227 PyObject
* obj0
= 0 ;
26228 PyObject
* obj1
= 0 ;
26229 PyObject
* obj2
= 0 ;
26230 PyObject
* obj3
= 0 ;
26231 char *kwnames
[] = {
26232 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26238 arg2
= (int) SWIG_AsInt(obj1
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26240 arg3
= (int) SWIG_AsInt(obj2
);
26241 if (PyErr_Occurred()) SWIG_fail
;
26242 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26246 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26248 wxPyEndAllowThreads(__tstate
);
26249 if (PyErr_Occurred()) SWIG_fail
;
26251 resultobj
= SWIG_FromInt((int)result
);
26258 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26259 PyObject
*resultobj
;
26260 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26265 PyObject
* obj0
= 0 ;
26266 PyObject
* obj1
= 0 ;
26267 PyObject
* obj2
= 0 ;
26268 PyObject
* obj3
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26276 arg2
= (int) SWIG_AsInt(obj1
);
26277 if (PyErr_Occurred()) SWIG_fail
;
26278 arg3
= (int) SWIG_AsInt(obj2
);
26279 if (PyErr_Occurred()) SWIG_fail
;
26280 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26281 if (PyErr_Occurred()) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= SWIG_FromInt((int)result
);
26296 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
;
26298 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26299 PyObject
* obj0
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26309 (arg1
)->base_OnLeave();
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 Py_INCREF(Py_None
); resultobj
= Py_None
;
26321 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26322 PyObject
*resultobj
;
26323 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26327 PyObject
* obj0
= 0 ;
26328 PyObject
* obj1
= 0 ;
26329 PyObject
* obj2
= 0 ;
26330 char *kwnames
[] = {
26331 (char *) "self",(char *) "x",(char *) "y", NULL
26334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
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
;
26342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26343 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26357 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 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:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
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_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26385 wxPyEndAllowThreads(__tstate
);
26386 if (PyErr_Occurred()) SWIG_fail
;
26388 resultobj
= SWIG_FromInt((int)result
);
26395 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26398 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26400 return Py_BuildValue((char *)"");
26402 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26403 PyObject
*resultobj
;
26404 wxPyFileDropTarget
*result
;
26405 char *kwnames
[] = {
26409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26412 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26414 wxPyEndAllowThreads(__tstate
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26424 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
;
26426 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26427 PyObject
*arg2
= (PyObject
*) 0 ;
26428 PyObject
*arg3
= (PyObject
*) 0 ;
26429 PyObject
* obj0
= 0 ;
26430 PyObject
* obj1
= 0 ;
26431 PyObject
* obj2
= 0 ;
26432 char *kwnames
[] = {
26433 (char *) "self",(char *) "self",(char *) "_class", NULL
26436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 Py_INCREF(Py_None
); resultobj
= Py_None
;
26455 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26462 PyObject
* obj0
= 0 ;
26463 PyObject
* obj1
= 0 ;
26464 PyObject
* obj2
= 0 ;
26465 PyObject
* obj3
= 0 ;
26466 char *kwnames
[] = {
26467 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26473 arg2
= (int) SWIG_AsInt(obj1
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26475 arg3
= (int) SWIG_AsInt(obj2
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26477 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26481 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26483 wxPyEndAllowThreads(__tstate
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 resultobj
= SWIG_FromInt((int)result
);
26493 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26500 PyObject
* obj0
= 0 ;
26501 PyObject
* obj1
= 0 ;
26502 PyObject
* obj2
= 0 ;
26503 PyObject
* obj3
= 0 ;
26504 char *kwnames
[] = {
26505 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26511 arg2
= (int) SWIG_AsInt(obj1
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26513 arg3
= (int) SWIG_AsInt(obj2
);
26514 if (PyErr_Occurred()) SWIG_fail
;
26515 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26516 if (PyErr_Occurred()) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26524 resultobj
= SWIG_FromInt((int)result
);
26531 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26532 PyObject
*resultobj
;
26533 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26534 PyObject
* obj0
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "self", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26544 (arg1
)->base_OnLeave();
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26549 Py_INCREF(Py_None
); resultobj
= Py_None
;
26556 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
;
26558 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26562 PyObject
* obj0
= 0 ;
26563 PyObject
* obj1
= 0 ;
26564 PyObject
* obj2
= 0 ;
26565 char *kwnames
[] = {
26566 (char *) "self",(char *) "x",(char *) "y", NULL
26569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26572 arg2
= (int) SWIG_AsInt(obj1
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26574 arg3
= (int) SWIG_AsInt(obj2
);
26575 if (PyErr_Occurred()) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26592 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26593 PyObject
*resultobj
;
26594 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 PyObject
* obj2
= 0 ;
26602 PyObject
* obj3
= 0 ;
26603 char *kwnames
[] = {
26604 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26610 arg2
= (int) SWIG_AsInt(obj1
);
26611 if (PyErr_Occurred()) SWIG_fail
;
26612 arg3
= (int) SWIG_AsInt(obj2
);
26613 if (PyErr_Occurred()) SWIG_fail
;
26614 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26615 if (PyErr_Occurred()) SWIG_fail
;
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26620 wxPyEndAllowThreads(__tstate
);
26621 if (PyErr_Occurred()) SWIG_fail
;
26623 resultobj
= SWIG_FromInt((int)result
);
26630 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26633 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26635 return Py_BuildValue((char *)"");
26637 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26638 PyObject
*resultobj
;
26639 wxClipboard
*result
;
26640 char *kwnames
[] = {
26644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26647 result
= (wxClipboard
*)new wxClipboard();
26649 wxPyEndAllowThreads(__tstate
);
26650 if (PyErr_Occurred()) SWIG_fail
;
26652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26659 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26660 PyObject
*resultobj
;
26661 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26662 PyObject
* obj0
= 0 ;
26663 char *kwnames
[] = {
26664 (char *) "self", NULL
26667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 wxPyEndAllowThreads(__tstate
);
26675 if (PyErr_Occurred()) SWIG_fail
;
26677 Py_INCREF(Py_None
); resultobj
= Py_None
;
26684 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26688 PyObject
* obj0
= 0 ;
26689 char *kwnames
[] = {
26690 (char *) "self", NULL
26693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26698 result
= (bool)(arg1
)->Open();
26700 wxPyEndAllowThreads(__tstate
);
26701 if (PyErr_Occurred()) SWIG_fail
;
26704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26712 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
;
26714 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26715 PyObject
* obj0
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 Py_INCREF(Py_None
); resultobj
= Py_None
;
26737 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
;
26739 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26741 PyObject
* obj0
= 0 ;
26742 char *kwnames
[] = {
26743 (char *) "self", NULL
26746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26765 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26768 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26770 PyObject
* obj0
= 0 ;
26771 PyObject
* obj1
= 0 ;
26772 char *kwnames
[] = {
26773 (char *) "self",(char *) "data", NULL
26776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26779 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26780 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26783 result
= (bool)(arg1
)->AddData(arg2
);
26785 wxPyEndAllowThreads(__tstate
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26797 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26798 PyObject
*resultobj
;
26799 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26800 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26802 PyObject
* obj0
= 0 ;
26803 PyObject
* obj1
= 0 ;
26804 char *kwnames
[] = {
26805 (char *) "self",(char *) "data", NULL
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26812 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 result
= (bool)(arg1
)->SetData(arg2
);
26817 wxPyEndAllowThreads(__tstate
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26829 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26830 PyObject
*resultobj
;
26831 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26832 wxDataFormat
*arg2
= 0 ;
26834 PyObject
* obj0
= 0 ;
26835 PyObject
* obj1
= 0 ;
26836 char *kwnames
[] = {
26837 (char *) "self",(char *) "format", NULL
26840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26844 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26846 if (arg2
== NULL
) {
26847 PyErr_SetString(PyExc_TypeError
,"null reference");
26851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26852 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26854 wxPyEndAllowThreads(__tstate
);
26855 if (PyErr_Occurred()) SWIG_fail
;
26858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26866 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26867 PyObject
*resultobj
;
26868 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26869 wxDataObject
*arg2
= 0 ;
26871 PyObject
* obj0
= 0 ;
26872 PyObject
* obj1
= 0 ;
26873 char *kwnames
[] = {
26874 (char *) "self",(char *) "data", NULL
26877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26880 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26881 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26883 if (arg2
== NULL
) {
26884 PyErr_SetString(PyExc_TypeError
,"null reference");
26888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26889 result
= (bool)(arg1
)->GetData(*arg2
);
26891 wxPyEndAllowThreads(__tstate
);
26892 if (PyErr_Occurred()) SWIG_fail
;
26895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26903 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26904 PyObject
*resultobj
;
26905 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26906 PyObject
* obj0
= 0 ;
26907 char *kwnames
[] = {
26908 (char *) "self", NULL
26911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26921 Py_INCREF(Py_None
); resultobj
= Py_None
;
26928 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26929 PyObject
*resultobj
;
26930 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26932 PyObject
* obj0
= 0 ;
26933 char *kwnames
[] = {
26934 (char *) "self", NULL
26937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26942 result
= (bool)(arg1
)->Flush();
26944 wxPyEndAllowThreads(__tstate
);
26945 if (PyErr_Occurred()) SWIG_fail
;
26948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26956 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26957 PyObject
*resultobj
;
26958 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26959 bool arg2
= (bool) True
;
26960 PyObject
* obj0
= 0 ;
26961 PyObject
* obj1
= 0 ;
26962 char *kwnames
[] = {
26963 (char *) "self",(char *) "primary", NULL
26966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26970 arg2
= (bool) SWIG_AsBool(obj1
);
26971 if (PyErr_Occurred()) SWIG_fail
;
26974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26975 (arg1
)->UsePrimarySelection(arg2
);
26977 wxPyEndAllowThreads(__tstate
);
26978 if (PyErr_Occurred()) SWIG_fail
;
26980 Py_INCREF(Py_None
); resultobj
= Py_None
;
26987 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
26989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26990 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26992 return Py_BuildValue((char *)"");
26994 static int _wrap_TheClipboard_set(PyObject
*_val
) {
26995 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27000 static PyObject
*_wrap_TheClipboard_get() {
27003 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27008 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27009 PyObject
*resultobj
;
27010 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27011 wxClipboardLocker
*result
;
27012 PyObject
* obj0
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "clipboard", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27036 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27038 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27039 PyObject
* obj0
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "self", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
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_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27062 PyObject
*resultobj
;
27063 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27075 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27077 wxPyEndAllowThreads(__tstate
);
27078 if (PyErr_Occurred()) SWIG_fail
;
27081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27089 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27092 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27094 return Py_BuildValue((char *)"");
27096 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 int arg1
= (int) 0 ;
27099 int arg2
= (int) 0 ;
27100 int arg3
= (int) 0 ;
27101 int arg4
= (int) 0 ;
27102 wxVideoMode
*result
;
27103 PyObject
* obj0
= 0 ;
27104 PyObject
* obj1
= 0 ;
27105 PyObject
* obj2
= 0 ;
27106 PyObject
* obj3
= 0 ;
27107 char *kwnames
[] = {
27108 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27113 arg1
= (int) SWIG_AsInt(obj0
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27117 arg2
= (int) SWIG_AsInt(obj1
);
27118 if (PyErr_Occurred()) SWIG_fail
;
27121 arg3
= (int) SWIG_AsInt(obj2
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27125 arg4
= (int) SWIG_AsInt(obj3
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27130 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27132 wxPyEndAllowThreads(__tstate
);
27133 if (PyErr_Occurred()) SWIG_fail
;
27135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27142 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27143 PyObject
*resultobj
;
27144 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27145 PyObject
* obj0
= 0 ;
27146 char *kwnames
[] = {
27147 (char *) "self", NULL
27150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27160 Py_INCREF(Py_None
); resultobj
= Py_None
;
27167 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27168 PyObject
*resultobj
;
27169 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27170 wxVideoMode
*arg2
= 0 ;
27172 PyObject
* obj0
= 0 ;
27173 PyObject
* obj1
= 0 ;
27174 char *kwnames
[] = {
27175 (char *) "self",(char *) "other", NULL
27178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27181 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27182 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27184 if (arg2
== NULL
) {
27185 PyErr_SetString(PyExc_TypeError
,"null reference");
27189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27190 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27192 wxPyEndAllowThreads(__tstate
);
27193 if (PyErr_Occurred()) SWIG_fail
;
27196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27204 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27205 PyObject
*resultobj
;
27206 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27208 PyObject
* obj0
= 0 ;
27209 char *kwnames
[] = {
27210 (char *) "self", NULL
27213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27218 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27220 wxPyEndAllowThreads(__tstate
);
27221 if (PyErr_Occurred()) SWIG_fail
;
27223 resultobj
= SWIG_FromInt((int)result
);
27230 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27231 PyObject
*resultobj
;
27232 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27234 PyObject
* obj0
= 0 ;
27235 char *kwnames
[] = {
27236 (char *) "self", NULL
27239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27246 wxPyEndAllowThreads(__tstate
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27249 resultobj
= SWIG_FromInt((int)result
);
27256 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27257 PyObject
*resultobj
;
27258 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27260 PyObject
* obj0
= 0 ;
27261 char *kwnames
[] = {
27262 (char *) "self", NULL
27265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27275 resultobj
= SWIG_FromInt((int)result
);
27282 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
;
27284 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27286 PyObject
* obj0
= 0 ;
27287 char *kwnames
[] = {
27288 (char *) "self", NULL
27291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27296 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27298 wxPyEndAllowThreads(__tstate
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27310 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27311 PyObject
*resultobj
;
27312 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27313 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27315 PyObject
* obj0
= 0 ;
27316 PyObject
* obj1
= 0 ;
27317 char *kwnames
[] = {
27318 (char *) "self",(char *) "other", NULL
27321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27328 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27330 wxPyEndAllowThreads(__tstate
);
27331 if (PyErr_Occurred()) SWIG_fail
;
27334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27342 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27343 PyObject
*resultobj
;
27344 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27345 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27347 PyObject
* obj0
= 0 ;
27348 PyObject
* obj1
= 0 ;
27349 char *kwnames
[] = {
27350 (char *) "self",(char *) "other", NULL
27353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27356 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27360 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27366 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27374 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
;
27376 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27378 PyObject
* obj0
= 0 ;
27379 PyObject
* obj1
= 0 ;
27380 char *kwnames
[] = {
27381 (char *) "self",(char *) "w", NULL
27384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27387 arg2
= (int) SWIG_AsInt(obj1
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27389 if (arg1
) (arg1
)->w
= arg2
;
27391 Py_INCREF(Py_None
); resultobj
= Py_None
;
27398 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27399 PyObject
*resultobj
;
27400 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27402 PyObject
* obj0
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 result
= (int) ((arg1
)->w
);
27412 resultobj
= SWIG_FromInt((int)result
);
27419 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27420 PyObject
*resultobj
;
27421 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27423 PyObject
* obj0
= 0 ;
27424 PyObject
* obj1
= 0 ;
27425 char *kwnames
[] = {
27426 (char *) "self",(char *) "h", NULL
27429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27432 arg2
= (int) SWIG_AsInt(obj1
);
27433 if (PyErr_Occurred()) SWIG_fail
;
27434 if (arg1
) (arg1
)->h
= arg2
;
27436 Py_INCREF(Py_None
); resultobj
= Py_None
;
27443 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27444 PyObject
*resultobj
;
27445 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27447 PyObject
* obj0
= 0 ;
27448 char *kwnames
[] = {
27449 (char *) "self", NULL
27452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27455 result
= (int) ((arg1
)->h
);
27457 resultobj
= SWIG_FromInt((int)result
);
27464 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27465 PyObject
*resultobj
;
27466 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27468 PyObject
* obj0
= 0 ;
27469 PyObject
* obj1
= 0 ;
27470 char *kwnames
[] = {
27471 (char *) "self",(char *) "bpp", NULL
27474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27477 arg2
= (int) SWIG_AsInt(obj1
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27479 if (arg1
) (arg1
)->bpp
= arg2
;
27481 Py_INCREF(Py_None
); resultobj
= Py_None
;
27488 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27492 PyObject
* obj0
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27500 result
= (int) ((arg1
)->bpp
);
27502 resultobj
= SWIG_FromInt((int)result
);
27509 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27510 PyObject
*resultobj
;
27511 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27513 PyObject
* obj0
= 0 ;
27514 PyObject
* obj1
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self",(char *) "refresh", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27522 arg2
= (int) SWIG_AsInt(obj1
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27524 if (arg1
) (arg1
)->refresh
= arg2
;
27526 Py_INCREF(Py_None
); resultobj
= Py_None
;
27533 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27534 PyObject
*resultobj
;
27535 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27537 PyObject
* obj0
= 0 ;
27538 char *kwnames
[] = {
27539 (char *) "self", NULL
27542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27545 result
= (int) ((arg1
)->refresh
);
27547 resultobj
= SWIG_FromInt((int)result
);
27554 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27557 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27559 return Py_BuildValue((char *)"");
27561 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27562 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27567 static PyObject
*_wrap_DefaultVideoMode_get() {
27570 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27575 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27576 PyObject
*resultobj
;
27577 size_t arg1
= (size_t) 0 ;
27579 PyObject
* obj0
= 0 ;
27580 char *kwnames
[] = {
27581 (char *) "index", NULL
27584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27586 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27587 if (PyErr_Occurred()) SWIG_fail
;
27590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27591 result
= (wxDisplay
*)new wxDisplay(arg1
);
27593 wxPyEndAllowThreads(__tstate
);
27594 if (PyErr_Occurred()) SWIG_fail
;
27596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27603 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27604 PyObject
*resultobj
;
27605 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27606 PyObject
* obj0
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "self", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 wxPyEndAllowThreads(__tstate
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27621 Py_INCREF(Py_None
); resultobj
= Py_None
;
27628 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27629 PyObject
*resultobj
;
27631 char *kwnames
[] = {
27635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 result
= (size_t)wxDisplay::GetCount();
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27643 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27650 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
;
27652 wxPoint
*arg1
= 0 ;
27655 PyObject
* obj0
= 0 ;
27656 char *kwnames
[] = {
27657 (char *) "pt", NULL
27660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27663 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27672 resultobj
= SWIG_FromInt((int)result
);
27679 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
;
27681 wxWindow
*arg1
= (wxWindow
*) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 char *kwnames
[] = {
27685 (char *) "window", NULL
27688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27693 result
= (int)Display_GetFromWindow(arg1
);
27695 wxPyEndAllowThreads(__tstate
);
27696 if (PyErr_Occurred()) SWIG_fail
;
27698 resultobj
= SWIG_FromInt((int)result
);
27705 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27706 PyObject
*resultobj
;
27707 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27709 PyObject
* obj0
= 0 ;
27710 char *kwnames
[] = {
27711 (char *) "self", NULL
27714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27719 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27721 wxPyEndAllowThreads(__tstate
);
27722 if (PyErr_Occurred()) SWIG_fail
;
27725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27733 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27734 PyObject
*resultobj
;
27735 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27737 PyObject
* obj0
= 0 ;
27738 char *kwnames
[] = {
27739 (char *) "self", NULL
27742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 wxRect
* resultptr
;
27754 resultptr
= new wxRect((wxRect
&) result
);
27755 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27763 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27764 PyObject
*resultobj
;
27765 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27767 PyObject
* obj0
= 0 ;
27768 char *kwnames
[] = {
27769 (char *) "self", NULL
27772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 result
= ((wxDisplay
const *)arg1
)->GetName();
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27795 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27796 PyObject
*resultobj
;
27797 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27799 PyObject
* obj0
= 0 ;
27800 char *kwnames
[] = {
27801 (char *) "self", NULL
27804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27809 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27823 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27824 PyObject
*resultobj
;
27825 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27826 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27827 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27829 PyObject
* obj0
= 0 ;
27830 PyObject
* obj1
= 0 ;
27831 char *kwnames
[] = {
27832 (char *) "self",(char *) "mode", NULL
27835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27842 if (arg2
== NULL
) {
27843 PyErr_SetString(PyExc_TypeError
,"null reference");
27848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27849 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27851 wxPyEndAllowThreads(__tstate
);
27852 if (PyErr_Occurred()) SWIG_fail
;
27854 resultobj
= result
;
27861 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27864 wxVideoMode result
;
27865 PyObject
* obj0
= 0 ;
27866 char *kwnames
[] = {
27867 (char *) "self", NULL
27870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27875 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27877 wxPyEndAllowThreads(__tstate
);
27878 if (PyErr_Occurred()) SWIG_fail
;
27881 wxVideoMode
* resultptr
;
27882 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27891 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27892 PyObject
*resultobj
;
27893 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27894 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27895 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27897 PyObject
* obj0
= 0 ;
27898 PyObject
* obj1
= 0 ;
27899 char *kwnames
[] = {
27900 (char *) "self",(char *) "mode", NULL
27903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27908 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27910 if (arg2
== NULL
) {
27911 PyErr_SetString(PyExc_TypeError
,"null reference");
27916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27917 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27919 wxPyEndAllowThreads(__tstate
);
27920 if (PyErr_Occurred()) SWIG_fail
;
27923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27931 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
;
27933 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27934 PyObject
* obj0
= 0 ;
27935 char *kwnames
[] = {
27936 (char *) "self", NULL
27939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27944 (arg1
)->ResetMode();
27946 wxPyEndAllowThreads(__tstate
);
27947 if (PyErr_Occurred()) SWIG_fail
;
27949 Py_INCREF(Py_None
); resultobj
= Py_None
;
27956 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
27958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27959 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
27961 return Py_BuildValue((char *)"");
27963 static PyMethodDef SwigMethods
[] = {
27964 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
27965 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
27966 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
27967 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
27968 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27969 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
27970 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
27971 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
27972 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
27973 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27974 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
27975 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
27976 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
27977 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
27978 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
27979 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
27980 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
27981 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
27982 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
27983 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
27984 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
27985 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
27986 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
27987 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
27988 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
27989 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
27990 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
27991 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
27992 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
27993 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
27994 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
27995 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
27996 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
27997 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
27998 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
27999 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28000 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28001 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28002 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28003 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28004 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28005 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28006 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28007 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28008 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28009 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28010 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28011 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28012 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28013 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28014 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28015 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28016 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28017 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28018 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28019 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28020 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28021 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28022 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28023 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28024 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28025 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28026 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28027 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28028 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28029 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28030 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28031 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28032 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28033 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28034 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28035 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28036 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28037 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28038 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28039 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28040 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28041 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28042 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28043 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28044 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28045 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28046 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28047 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28048 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28049 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28050 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28051 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28052 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28053 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28054 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28055 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28056 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28057 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28058 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28059 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28060 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28061 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28062 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28063 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28064 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28065 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28066 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28067 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28068 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28070 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28073 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28075 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28079 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28082 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28093 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28099 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28105 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28108 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"Timer_GetOwner", (PyCFunction
) _wrap_Timer_GetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28122 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28125 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28126 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28129 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28142 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28150 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28156 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28158 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28160 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28162 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28166 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28169 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28171 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28174 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28175 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28177 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28183 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28188 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28193 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28196 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28197 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28203 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28209 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28212 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28213 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28221 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28225 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28228 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28229 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28232 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28259 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28261 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28263 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28265 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28267 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28272 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28278 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28291 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28295 { (char *)"new_Sound", (PyCFunction
) _wrap_new_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28296 { (char *)"new_SoundFromData", (PyCFunction
) _wrap_new_SoundFromData
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"Sound_Create", (PyCFunction
) _wrap_Sound_Create
, METH_VARARGS
| METH_KEYWORDS
},
28299 { (char *)"Sound_CreateFromData", (PyCFunction
) _wrap_Sound_CreateFromData
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"Sound_Play", (PyCFunction
) _wrap_Sound_Play
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"Sound_PlaySound", (PyCFunction
) _wrap_Sound_PlaySound
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28305 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28316 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28321 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28324 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28337 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28351 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28360 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28370 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28398 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28399 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28401 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28403 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28404 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28406 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28409 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28413 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28422 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28438 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28452 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28461 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28504 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28505 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28506 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28507 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28508 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28509 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28510 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28511 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28512 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28513 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28514 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28525 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28570 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28604 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28606 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28607 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28608 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28609 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28610 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28611 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28612 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28613 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28614 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28615 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28618 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28626 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28627 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28631 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28634 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28637 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28642 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28645 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28649 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28652 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28656 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28662 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28666 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28668 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28671 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28678 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28689 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28697 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28705 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28713 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28714 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28718 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28719 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28722 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28728 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28732 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28735 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28738 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28740 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28743 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28746 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28750 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28753 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28758 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28760 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28761 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28763 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28764 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28766 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28767 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28769 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28770 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28772 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28773 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28775 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28776 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28778 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28779 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28781 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28782 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28784 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28785 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28787 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28788 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28790 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28791 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28793 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28794 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28796 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28797 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28799 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28800 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28802 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28803 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28805 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28806 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28808 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28809 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28811 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28812 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28814 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28815 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28817 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28818 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28820 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28821 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28823 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28824 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28826 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28827 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28829 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28830 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28832 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28833 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28835 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28836 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28838 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28839 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28841 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28842 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28844 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28845 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28847 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28848 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28850 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28851 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28853 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28854 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28856 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28857 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28859 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28860 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28862 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28863 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28865 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28866 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28868 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28869 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28871 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28872 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28874 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28875 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28877 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28878 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28880 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28881 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28883 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28884 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28886 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28887 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28889 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28890 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28892 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28893 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28895 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28896 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28898 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28899 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28901 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28902 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28904 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28905 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28907 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28908 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28910 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28911 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28913 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28914 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28916 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28917 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28919 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28920 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28922 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28923 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28925 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28926 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28928 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28929 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28931 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28932 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28934 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28935 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28937 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28938 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28940 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28941 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28943 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28944 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28946 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28947 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28949 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28950 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28952 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28953 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28955 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28956 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28958 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
28959 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
28961 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28962 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28964 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28965 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28967 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28968 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28970 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28971 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28973 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
28974 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
28976 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
28977 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
28979 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28980 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28982 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28983 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28985 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28986 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28988 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28989 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28991 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28992 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28994 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28995 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28997 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28998 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29000 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29001 return (void *)((wxObject
*) ((wxSizer
*) x
));
29003 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29004 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29006 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29007 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29009 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29012 static void *_p_wxEventTo_p_wxObject(void *x
) {
29013 return (void *)((wxObject
*) ((wxEvent
*) x
));
29015 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29016 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29018 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29019 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29021 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29022 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29024 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29025 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29027 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29028 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29030 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29031 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29033 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29034 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29036 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29037 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29039 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29040 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29042 static void *_p_wxControlTo_p_wxObject(void *x
) {
29043 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29045 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29046 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29048 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29049 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29051 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29052 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29054 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29055 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29057 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29058 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29060 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29061 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29063 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29064 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29066 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29067 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29069 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29070 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29072 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29073 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29075 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29076 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29078 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29079 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29081 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29082 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29084 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29085 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29087 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29088 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29090 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29091 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29093 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29094 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29096 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29097 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29099 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29100 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29102 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29103 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29105 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29106 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29108 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29109 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29111 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29112 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29114 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29115 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29117 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29118 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29120 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29121 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29123 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29124 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29126 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29127 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29129 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29130 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29132 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29133 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29135 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29136 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29138 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29139 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29141 static void *_p_wxImageTo_p_wxObject(void *x
) {
29142 return (void *)((wxObject
*) ((wxImage
*) x
));
29144 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29145 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29147 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29148 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29150 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29151 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29153 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29154 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29156 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29157 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29159 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29160 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29162 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29163 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29165 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29166 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29168 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29169 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29171 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29172 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29174 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29175 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29177 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29178 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29180 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29181 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29183 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29184 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29186 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29187 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29189 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29190 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29192 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29193 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29195 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29196 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29198 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29199 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29201 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29202 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29204 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29205 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29207 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29208 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29210 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29211 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29213 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29214 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29216 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29217 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29219 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29222 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29223 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29225 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29226 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29228 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29229 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29231 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29232 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29234 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29235 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29237 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29238 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29240 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29241 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29243 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29244 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29246 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29247 return (void *)((wxWindow
*) ((wxControl
*) x
));
29249 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29250 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29252 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29253 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29255 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29256 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29258 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29259 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29261 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}};
29262 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}};
29263 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}};
29264 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}};
29265 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}};
29266 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}};
29267 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}};
29268 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}};
29269 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}};
29270 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}};
29271 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}};
29272 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}};
29273 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}};
29274 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}};
29275 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}};
29276 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}};
29277 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}};
29278 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}};
29279 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}};
29280 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}};
29281 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}};
29282 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}};
29283 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}};
29284 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}};
29285 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}};
29286 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}};
29287 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}};
29288 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}};
29289 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}};
29290 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}};
29291 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}};
29292 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}};
29293 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}};
29294 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}};
29295 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}};
29296 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}};
29297 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}};
29298 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}};
29299 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}};
29300 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}};
29301 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}};
29302 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}};
29303 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}};
29304 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}};
29305 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}};
29306 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}};
29307 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}};
29308 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}};
29309 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}};
29310 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}};
29311 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}};
29312 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}};
29313 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}};
29314 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}};
29315 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}};
29316 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}};
29317 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}};
29318 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}};
29319 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}};
29320 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}};
29321 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}};
29322 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}};
29323 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}};
29324 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}};
29325 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}};
29326 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}};
29327 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}};
29328 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}};
29329 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}};
29330 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}};
29331 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}};
29332 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}};
29333 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}};
29334 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}};
29335 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}};
29336 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}};
29337 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}};
29338 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}};
29339 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}};
29340 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}};
29341 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}};
29342 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}};
29343 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}};
29344 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}};
29345 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}};
29347 static swig_type_info
*swig_types_initial
[] = {
29348 _swigt__p_wxLogChain
,
29349 _swigt__p_wxMutexGuiLocker
,
29350 _swigt__p_wxFileHistory
,
29352 _swigt__p_wxDateTime__TimeZone
,
29355 _swigt__p_wxConfigBase
,
29356 _swigt__p_wxDisplay
,
29357 _swigt__p_wxFileType
,
29358 _swigt__p_wxLogGui
,
29360 _swigt__p_wxDataFormat
,
29361 _swigt__p_wxTimerEvent
,
29365 _swigt__p_wxClipboard
,
29366 _swigt__p_wxStopWatch
,
29368 _swigt__p_wxClipboardLocker
,
29370 _swigt__p_wxLogStderr
,
29371 _swigt__p_wxLogTextCtrl
,
29372 _swigt__p_wxTextCtrl
,
29373 _swigt__p_wxBusyCursor
,
29374 _swigt__p_wxPyBitmapDataObject
,
29375 _swigt__p_wxPyTextDataObject
,
29376 _swigt__p_wxBitmapDataObject
,
29377 _swigt__p_wxTextDataObject
,
29378 _swigt__p_wxDataObject
,
29379 _swigt__p_wxFileDataObject
,
29380 _swigt__p_wxCustomDataObject
,
29381 _swigt__p_wxURLDataObject
,
29382 _swigt__p_wxMetafileDataObject
,
29384 _swigt__p_wxTimerRunner
,
29385 _swigt__p_wxLogWindow
,
29386 _swigt__p_wxTimeSpan
,
29387 _swigt__p_wxArrayString
,
29388 _swigt__p_wxWindowDisabler
,
29389 _swigt__p_wxToolTip
,
29390 _swigt__p_wxDataObjectComposite
,
29391 _swigt__p_wxFileConfig
,
29392 _swigt__p_wxSystemSettings
,
29393 _swigt__p_wxVideoMode
,
29394 _swigt__p_wxPyDataObjectSimple
,
29395 _swigt__p_wxDataObjectSimple
,
29396 _swigt__p_wxEvtHandler
,
29399 _swigt__p_wxSingleInstanceChecker
,
29400 _swigt__p_wxFileTypeInfo
,
29403 _swigt__p_wxMimeTypesManager
,
29404 _swigt__p_wxPyArtProvider
,
29405 _swigt__p_wxPyTipProvider
,
29406 _swigt__p_wxTipProvider
,
29407 _swigt__p_wxJoystick
,
29408 _swigt__p_wxSystemOptions
,
29410 _swigt__p_wxJoystickEvent
,
29411 _swigt__p_wxCursor
,
29412 _swigt__p_wxObject
,
29413 _swigt__p_wxOutputStream
,
29414 _swigt__p_wxDateTime
,
29415 _swigt__p_wxPyDropSource
,
29416 _swigt__p_wxWindow
,
29417 _swigt__p_wxString
,
29418 _swigt__p_wxPyProcess
,
29419 _swigt__p_wxBitmap
,
29420 _swigt__p_wxConfig
,
29422 _swigt__p_wxBusyInfo
,
29423 _swigt__p_wxPyDropTarget
,
29424 _swigt__p_wxPyTextDropTarget
,
29425 _swigt__p_wxPyFileDropTarget
,
29426 _swigt__p_wxProcessEvent
,
29428 _swigt__p_wxLogNull
,
29429 _swigt__p_wxColour
,
29430 _swigt__p_wxConfigPathChanger
,
29431 _swigt__p_wxPyTimer
,
29432 _swigt__p_wxDateSpan
,
29437 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29439 static swig_const_info swig_const_table
[] = {
29440 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29441 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29442 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29443 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29444 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29454 SWIGEXPORT(void) SWIG_init(void) {
29455 static PyObject
*SWIG_globals
= 0;
29456 static int typeinit
= 0;
29459 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29460 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29461 d
= PyModule_GetDict(m
);
29464 for (i
= 0; swig_types_initial
[i
]; i
++) {
29465 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29469 SWIG_InstallConstants(d
,swig_const_table
);
29471 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29472 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29473 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29474 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29475 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29476 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29477 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29478 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29479 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29480 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29481 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29482 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29483 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29484 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29485 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29486 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29487 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29488 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29489 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29490 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29491 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29492 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29493 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29494 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29495 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29496 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29497 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29498 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29499 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29500 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29501 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29502 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29503 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29504 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29505 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29506 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29507 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29508 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29509 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29510 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29511 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29512 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29513 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29514 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29515 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29516 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29517 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29518 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29519 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29520 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29521 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29522 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29523 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29524 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29525 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29526 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29527 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29528 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29529 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29530 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29531 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29532 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29533 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29534 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29535 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29536 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29537 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29538 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29539 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29540 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29541 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29542 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29543 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29544 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29545 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29546 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29547 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29548 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29549 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29550 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29551 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29552 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29553 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29554 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29555 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29556 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29557 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29558 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29559 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29560 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29561 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29562 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29563 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29564 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29565 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29566 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29567 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29568 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29569 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29570 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29572 wxPyPtrTypeMap_Add("wxTimer", "wxPyTimer");
29574 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29575 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29576 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29577 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29578 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29579 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29580 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29581 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29582 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29583 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29584 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29585 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29586 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29587 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29588 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29589 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29590 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29591 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29592 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29593 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29594 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29595 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29596 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29597 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29598 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29599 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29600 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29601 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29602 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29603 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29604 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29605 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29606 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29607 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29608 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29609 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29610 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29611 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29612 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29613 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29614 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29615 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29616 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29617 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29618 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29619 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29620 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29621 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29622 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29623 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29625 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29627 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29628 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29629 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29630 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29631 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29632 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29633 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29634 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29635 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29636 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29637 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29638 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29639 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29640 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29641 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29642 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29643 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29644 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29645 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29646 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29647 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29648 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29649 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29650 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29651 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29652 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29653 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29654 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29655 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29656 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29657 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29658 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29659 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29660 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29661 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29662 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29663 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29664 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29665 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29666 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29667 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29668 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29669 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29670 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29671 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29672 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29673 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29674 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29675 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29676 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29677 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29678 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29679 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29680 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29681 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29682 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29683 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29684 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29686 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29688 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29689 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29690 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29691 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29692 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29693 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29694 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29695 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29696 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29697 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29698 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29699 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29700 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29701 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29702 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29703 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29704 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29705 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29706 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29707 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29708 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29709 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29710 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29711 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29712 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29713 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29714 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29715 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29716 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29717 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29718 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29719 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29720 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29721 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29722 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29723 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29724 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29725 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29726 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29727 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29728 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29729 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29730 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29731 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29732 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29733 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29734 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29735 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29736 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29737 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29738 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29739 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29740 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29741 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29742 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29743 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29744 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29745 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29746 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29747 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29748 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29749 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29750 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29751 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29752 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29753 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29754 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29755 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29756 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29757 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29758 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29759 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29760 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29761 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29762 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29763 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29764 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29765 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29766 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29767 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29768 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29769 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29770 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29771 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29772 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29773 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29774 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29775 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29776 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29777 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29778 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29779 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29780 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29781 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29782 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29783 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29784 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29785 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29786 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29787 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29788 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29789 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29790 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29791 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29792 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29793 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29794 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29795 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29796 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29797 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29798 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29799 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29800 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29801 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29802 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29803 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29804 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29805 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29806 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29807 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29808 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29809 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29810 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29811 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29812 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29813 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29814 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29815 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29816 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29817 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29818 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29819 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29820 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29821 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29822 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29823 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29824 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29825 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29826 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29827 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29828 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29829 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29830 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29831 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29832 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29833 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29834 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29835 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29836 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29837 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29838 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29839 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29840 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29841 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29842 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29843 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29844 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29845 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29846 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29847 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29848 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29849 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29850 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29851 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29852 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29853 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29854 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29855 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29856 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29857 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29858 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29859 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29860 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29861 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29862 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29863 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29864 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29865 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29866 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29867 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29868 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29869 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29870 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29871 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29872 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29873 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29874 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29875 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29876 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29877 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29878 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29879 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29880 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29881 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29882 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29883 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29884 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29885 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29886 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29887 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29889 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29890 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29891 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29892 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29894 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29895 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);