1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLogChain swig_types[0]
210 #define SWIGTYPE_p_wxMutexGuiLocker swig_types[1]
211 #define SWIGTYPE_p_wxMetafile swig_types[2]
212 #define SWIGTYPE_p_wxFileHistory swig_types[3]
213 #define SWIGTYPE_p_wxLog swig_types[4]
214 #define SWIGTYPE_p_wxDateTime__TimeZone swig_types[5]
215 #define SWIGTYPE_p_wxMenu swig_types[6]
216 #define SWIGTYPE_p_wxEvent swig_types[7]
217 #define SWIGTYPE_p_wxConfigBase swig_types[8]
218 #define SWIGTYPE_p_wxDisplay swig_types[9]
219 #define SWIGTYPE_p_wxFileType swig_types[10]
220 #define SWIGTYPE_p_wxLogGui swig_types[11]
221 #define SWIGTYPE_p_wxFont swig_types[12]
222 #define SWIGTYPE_p_wxDataFormat swig_types[13]
223 #define SWIGTYPE_p_wxTimerEvent swig_types[14]
224 #define SWIGTYPE_p_wxCaret swig_types[15]
225 #define SWIGTYPE_p_int swig_types[16]
226 #define SWIGTYPE_p_wxSize swig_types[17]
227 #define SWIGTYPE_p_wxClipboard swig_types[18]
228 #define SWIGTYPE_p_wxStopWatch swig_types[19]
229 #define SWIGTYPE_p_wxDC swig_types[20]
230 #define SWIGTYPE_p_wxClipboardLocker swig_types[21]
231 #define SWIGTYPE_p_wxIcon swig_types[22]
232 #define SWIGTYPE_p_wxLogStderr swig_types[23]
233 #define SWIGTYPE_p_wxLogTextCtrl swig_types[24]
234 #define SWIGTYPE_p_wxTextCtrl swig_types[25]
235 #define SWIGTYPE_p_wxBusyCursor swig_types[26]
236 #define SWIGTYPE_p_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_wxPyBitmapDataObject swig_types[31]
241 #define SWIGTYPE_p_wxFileDataObject swig_types[32]
242 #define SWIGTYPE_p_wxCustomDataObject swig_types[33]
243 #define SWIGTYPE_p_wxURLDataObject swig_types[34]
244 #define SWIGTYPE_p_wxMetafileDataObject swig_types[35]
245 #define SWIGTYPE_p_wxSound swig_types[36]
246 #define SWIGTYPE_p_wxTimerRunner swig_types[37]
247 #define SWIGTYPE_p_wxLogWindow swig_types[38]
248 #define SWIGTYPE_p_wxTimeSpan swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxWindowDisabler swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxDataObjectComposite swig_types[43]
253 #define SWIGTYPE_p_wxFileConfig swig_types[44]
254 #define SWIGTYPE_p_wxSystemSettings swig_types[45]
255 #define SWIGTYPE_p_wxVideoMode swig_types[46]
256 #define SWIGTYPE_p_wxPyDataObjectSimple swig_types[47]
257 #define SWIGTYPE_p_wxDataObjectSimple swig_types[48]
258 #define SWIGTYPE_p_wxEvtHandler swig_types[49]
259 #define SWIGTYPE_p_wxRect swig_types[50]
260 #define SWIGTYPE_p_char swig_types[51]
261 #define SWIGTYPE_p_wxSingleInstanceChecker swig_types[52]
262 #define SWIGTYPE_p_wxFileTypeInfo swig_types[53]
263 #define SWIGTYPE_p_wxFrame swig_types[54]
264 #define SWIGTYPE_p_wxTimer swig_types[55]
265 #define SWIGTYPE_p_wxMimeTypesManager swig_types[56]
266 #define SWIGTYPE_p_wxPyArtProvider swig_types[57]
267 #define SWIGTYPE_p_wxPyTipProvider swig_types[58]
268 #define SWIGTYPE_p_wxTipProvider swig_types[59]
269 #define SWIGTYPE_p_wxJoystick swig_types[60]
270 #define SWIGTYPE_p_wxSystemOptions swig_types[61]
271 #define SWIGTYPE_p_wxPoint swig_types[62]
272 #define SWIGTYPE_p_wxJoystickEvent swig_types[63]
273 #define SWIGTYPE_p_wxCursor swig_types[64]
274 #define SWIGTYPE_p_wxObject swig_types[65]
275 #define SWIGTYPE_p_wxOutputStream swig_types[66]
276 #define SWIGTYPE_p_wxDateTime swig_types[67]
277 #define SWIGTYPE_p_wxPyDropSource swig_types[68]
278 #define SWIGTYPE_p_wxWindow swig_types[69]
279 #define SWIGTYPE_p_wxString swig_types[70]
280 #define SWIGTYPE_p_wxPyProcess swig_types[71]
281 #define SWIGTYPE_p_wxBitmap swig_types[72]
282 #define SWIGTYPE_p_wxConfig swig_types[73]
283 #define SWIGTYPE_p_wxChar swig_types[74]
284 #define SWIGTYPE_p_wxBusyInfo swig_types[75]
285 #define SWIGTYPE_p_wxPyDropTarget swig_types[76]
286 #define SWIGTYPE_p_wxPyTextDropTarget swig_types[77]
287 #define SWIGTYPE_p_wxPyFileDropTarget swig_types[78]
288 #define SWIGTYPE_p_wxProcessEvent swig_types[79]
289 #define SWIGTYPE_p_wxPyLog swig_types[80]
290 #define SWIGTYPE_p_wxLogNull swig_types[81]
291 #define SWIGTYPE_p_wxColour swig_types[82]
292 #define SWIGTYPE_p_wxByte swig_types[83]
293 #define SWIGTYPE_p_wxConfigPathChanger swig_types[84]
294 #define SWIGTYPE_p_wxPyTimer swig_types[85]
295 #define SWIGTYPE_p_wxDateSpan swig_types[86]
296 static swig_type_info
*swig_types
[88];
298 /* -------- TYPES TABLE (END) -------- */
301 /*-----------------------------------------------
303 ------------------------------------------------*/
304 #define SWIG_init init_misc
306 #define SWIG_name "_misc"
308 /* Auxiliar swig macros */
311 #define SWIGSTATICINLINE(a) static inline a
312 #define SWIGSTATIC(a) static a
313 #define swig_new_array(type, size) (new type[(size)])
314 #define swig_delete_array(cptr) delete[] cptr
315 #define swig_const_cast(type,a) const_cast<type>(a)
316 #define swig_static_cast(type,a) static_cast<type>(a)
317 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
319 #ifdef HAVE_NUMERIC_CAST
320 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
322 #define swig_numeric_cast(type,a) static_cast<type>(a)
327 #define SWIGSTATICINLINE(a) static a
328 #define SWIGSTATIC(a) static a
329 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
330 #define swig_delete_array(cptr) free((char*)cptr)
331 #define swig_const_cast(type,a) (type)(a)
332 #define swig_static_cast(type,a) (type)(a)
333 #define swig_reinterpret_cast(type,a) (type)(a)
334 #define swig_numeric_cast(type,a) (type)(a)
336 #endif /* __cplusplus */
339 #define SWIG_FromSignedChar PyInt_FromLong
340 #define SWIG_FromUnsignedChar PyInt_FromLong
341 #define SWIG_FromShort PyInt_FromLong
342 #define SWIG_FromUnsignedShort PyInt_FromLong
343 #define SWIG_FromInt PyInt_FromLong
344 #define SWIG_FromLong PyInt_FromLong
345 #define SWIG_FromFloat PyFloat_FromDouble
346 #define SWIG_FromDouble PyFloat_FromDouble
347 #define SWIG_FromFloat PyFloat_FromDouble
348 #define SWIG_FromDouble PyFloat_FromDouble
351 #include "wx/wxPython/wxPython.h"
352 #include "wx/wxPython/pyclasses.h"
353 #include "wx/wxPython/pyistream.h"
356 static const wxString
wxPyEmptyString(wxEmptyString
);
363 SWIGSTATICINLINE(long)
364 SWIG_CheckLongInRange(long value
, const char* type
,
365 long min_value
, long max_value
)
367 if (!PyErr_Occurred()) {
368 if (value
< min_value
) {
370 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
371 value
, type
, min_value
);
373 PyErr_SetObject(PyExc_OverflowError
, err
);
375 } else if (value
> max_value
) {
377 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
378 value
, type
, max_value
);
379 PyErr_SetObject(PyExc_OverflowError
, err
);
387 SWIGSTATICINLINE(long)
388 SWIG_AsLong(PyObject
* obj
)
390 if (PyNumber_Check(obj
))
391 return PyInt_AsLong(obj
);
393 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
394 obj
->ob_type
->tp_name
);
395 PyErr_SetObject(PyExc_TypeError
, errmsg
);
402 #if INT_MAX != LONG_MAX
403 SWIGSTATICINLINE(int)
404 SWIG_AsInt(PyObject
*obj
)
406 return swig_numeric_cast(int,
407 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
408 "int", INT_MIN
, INT_MAX
));
411 #define SWIG_AsInt SWIG_AsLong
415 SWIGSTATICINLINE(int)
416 SWIG_CheckInt(PyObject
* obj
)
419 if (PyErr_Occurred()) {
427 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
428 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
429 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
431 SWIGSTATICINLINE(int)
432 SWIG_CheckLong(PyObject
* obj
)
435 if (PyErr_Occurred()) {
444 SWIGSTATICINLINE(bool)
445 SWIG_AsBool(PyObject
*obj
)
447 return PyObject_IsTrue(obj
) ? true : false;
451 SWIGSTATICINLINE(int)
452 SWIG_CheckBool(PyObject
* obj
)
455 if (PyErr_Occurred()) {
464 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
470 } else if (target
== Py_None
) {
474 if (!PyTuple_Check(target
)) {
476 target
= PyTuple_New(1);
477 PyTuple_SetItem(target
, 0, o2
);
480 PyTuple_SetItem(o3
, 0, o
);
483 target
= PySequence_Concat(o2
, o3
);
491 SWIGSTATICINLINE(unsigned long)
492 SWIG_AsUnsignedLong(PyObject
* obj
)
494 if (PyLong_Check(obj
)) {
495 return PyLong_AsUnsignedLong(obj
);
497 long i
= SWIG_AsLong(obj
);
498 if ( !PyErr_Occurred() && (i
< 0)) {
499 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
506 SWIGSTATICINLINE(int)
507 SWIG_CheckUnsignedLong(PyObject
* obj
)
509 SWIG_AsUnsignedLong(obj
);
510 if (PyErr_Occurred()) {
519 SWIGSTATICINLINE(PyObject
* )
520 SWIG_FromUnsignedLong(unsigned long value
)
522 return (value
> LONG_MAX
) ?
523 PyLong_FromUnsignedLong(value
)
524 : PyInt_FromLong(swig_numeric_cast(long,value
));
528 bool wxThread_IsMain() {
529 #ifdef WXP_WITH_THREAD
530 return wxThread::IsMain();
537 int wxCaret_GetBlinkTime() {
538 return wxCaret::GetBlinkTime();
541 void wxCaret_SetBlinkTime(int milliseconds
) {
542 wxCaret::SetBlinkTime(milliseconds
);
546 #include <wx/snglinst.h>
550 #include <wx/msw/private.h>
551 #include <wx/dynload.h>
556 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
563 // This one only partially works. Appears to be an undocumented
564 // "standard" convention that not all widgets adhear to. For
565 // example, for some widgets backgrounds or non-client areas may
567 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
571 // This one works much better, except for on XP. On Win2k nearly
572 // all widgets and their children are captured correctly[**]. On
573 // XP with Themes activated most native widgets draw only
574 // partially, if at all. Without themes it works just like on
577 // ** For example the radio buttons in a wxRadioBox are not its
578 // children by default, but you can capture it via the panel
579 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
580 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
581 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
582 PRF_ERASEBKGND
| PRF_OWNED
);
586 // This one is only defined in the latest SDK and is only
587 // available on XP. MSDN says it is similar to sending WM_PRINT
588 // so I expect that it will work similar to the above. Since it
589 // is avaialble only on XP, it can't be compiled like this and
590 // will have to be loaded dynamically.
591 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
596 // Use PrintWindow if available, or fallback to WM_PRINT
597 // otherwise. Unfortunately using PrintWindow is even worse than
598 // WM_PRINT. For most native widgets nothing is drawn to the dc
599 // at all, with or without Themes.
600 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
601 static bool s_triedToLoad
= False
;
602 static PrintWindow_t pfnPrintWindow
= NULL
;
603 if ( !s_triedToLoad
)
606 s_triedToLoad
= True
;
607 wxDynamicLibrary
dllUser32(_T("user32.dll"));
608 if ( dllUser32
.IsLoaded() )
610 wxLogNull nolog
; // Don't report errors here
611 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
616 printf("Using PrintWindow\n");
617 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
621 printf("Using WM_PRINT\n");
622 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
623 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
631 #include <wx/tipdlg.h>
634 class wxPyTipProvider
: public wxTipProvider
{
636 wxPyTipProvider(size_t currentTip
)
637 : wxTipProvider(currentTip
) {}
639 DEC_PYCALLBACK_STRING__pure(GetTip
);
640 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
644 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
645 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
648 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
650 void wxPyTimer::Notify() {
652 bool blocked
= wxPyBeginBlockThreads();
653 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
654 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
655 wxPyEndBlockThreads(blocked
);
659 void wxPyTimer::base_Notify() {
665 SWIGSTATICINLINE(PyObject
*)
666 SWIG_FromCharPtr(const char* cptr
)
668 size_t size
= cptr
? strlen(cptr
) : 0;
670 if (size
> INT_MAX
) {
671 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
672 SWIG_TypeQuery("char *"), 0);
674 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
683 SWIGSTATICINLINE(unsigned long)
684 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
685 unsigned long max_value
)
687 if (!PyErr_Occurred()) {
688 if (value
> max_value
) {
690 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
691 value
, type
, max_value
);
692 PyErr_SetObject(PyExc_OverflowError
, err
);
700 #if UINT_MAX != ULONG_MAX
701 SWIGSTATICINLINE(unsigned int)
702 SWIG_AsUnsignedInt(PyObject
*obj
)
704 return swig_numeric_cast(unsigned int,
705 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
706 "unsigned int", UINT_MAX
));
709 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
713 SWIGSTATICINLINE(int)
714 SWIG_CheckUnsignedInt(PyObject
* obj
)
716 SWIG_AsUnsignedInt(obj
);
717 if (PyErr_Occurred()) {
725 wxString
Log_TimeStamp(){
727 wxLog::TimeStamp(&msg
);
730 void wxLog_Destroy(wxLog
*self
){ delete self
; }
732 // A wxLog class that can be derived from in wxPython
733 class wxPyLog
: public wxLog
{
735 wxPyLog() : wxLog() {}
737 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
739 bool blocked
= wxPyBeginBlockThreads();
740 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
741 PyObject
* s
= wx2PyString(szString
);
742 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
745 wxPyEndBlockThreads(blocked
);
747 wxLog::DoLog(level
, szString
, t
);
750 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
752 bool blocked
= wxPyBeginBlockThreads();
753 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
754 PyObject
* s
= wx2PyString(szString
);
755 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
758 wxPyEndBlockThreads(blocked
);
760 wxLog::DoLogString(szString
, t
);
769 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
772 #include <wx/joystick.h>
775 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
776 // A C++ stub class for wxJoystick for platforms that don't have it.
777 class wxJoystick
: public wxObject
{
779 wxJoystick(int joystick
= wxJOYSTICK1
) {
780 bool blocked
= wxPyBeginBlockThreads();
781 PyErr_SetString(PyExc_NotImplementedError
,
782 "wxJoystick is not available on this platform.");
783 wxPyEndBlockThreads(blocked
);
785 wxPoint
GetPosition() { return wxPoint(-1,-1); }
786 int GetZPosition() { return -1; }
787 int GetButtonState() { return -1; }
788 int GetPOVPosition() { return -1; }
789 int GetPOVCTSPosition() { return -1; }
790 int GetRudderPosition() { return -1; }
791 int GetUPosition() { return -1; }
792 int GetVPosition() { return -1; }
793 int GetMovementThreshold() { return -1; }
794 void SetMovementThreshold(int threshold
) {}
796 bool IsOk(void) { return False
; }
797 int GetNumberJoysticks() { return -1; }
798 int GetManufacturerId() { return -1; }
799 int GetProductId() { return -1; }
800 wxString
GetProductName() { return ""; }
801 int GetXMin() { return -1; }
802 int GetYMin() { return -1; }
803 int GetZMin() { return -1; }
804 int GetXMax() { return -1; }
805 int GetYMax() { return -1; }
806 int GetZMax() { return -1; }
807 int GetNumberButtons() { return -1; }
808 int GetNumberAxes() { return -1; }
809 int GetMaxButtons() { return -1; }
810 int GetMaxAxes() { return -1; }
811 int GetPollingMin() { return -1; }
812 int GetPollingMax() { return -1; }
813 int GetRudderMin() { return -1; }
814 int GetRudderMax() { return -1; }
815 int GetUMin() { return -1; }
816 int GetUMax() { return -1; }
817 int GetVMin() { return -1; }
818 int GetVMax() { return -1; }
820 bool HasRudder() { return False
; }
821 bool HasZ() { return False
; }
822 bool HasU() { return False
; }
823 bool HasV() { return False
; }
824 bool HasPOV() { return False
; }
825 bool HasPOV4Dir() { return False
; }
826 bool HasPOVCTS() { return False
; }
828 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
829 bool ReleaseCapture() { return False
; }
834 #include <wx/sound.h>
838 // A C++ stub class for wxWave for platforms that don't have it.
839 class wxSound
: public wxObject
843 bool blocked
= wxPyBeginBlockThreads();
844 PyErr_SetString(PyExc_NotImplementedError
,
845 "wxSound is not available on this platform.");
846 wxPyEndBlockThreads(blocked
);
848 wxSound(const wxString
&, bool) {
849 bool blocked
= wxPyBeginBlockThreads();
850 PyErr_SetString(PyExc_NotImplementedError
,
851 "wxSound is not available on this platform.");
852 wxPyEndBlockThreads(blocked
);
854 wxSound(int, const wxByte
*) {
855 bool blocked
= wxPyBeginBlockThreads();
856 PyErr_SetString(PyExc_NotImplementedError
,
857 "wxSound is not available on this platform.");
858 wxPyEndBlockThreads(blocked
);
863 bool Create(const wxString
&, bool) { return false; }
864 bool Create(int, const wxByte
*) { return false; };
865 bool IsOk() { return false; };
866 bool Play(unsigned) const { return false; }
867 static bool Play(const wxString
&, unsigned) { return false; }
868 static void Stop() {}
874 #include <wx/mimetype.h>
876 PyObject
*wxFileType_GetMimeType(wxFileType
*self
){
878 if (self
->GetMimeType(&str
))
879 return wx2PyString(str
);
883 PyObject
*wxFileType_GetMimeTypes(wxFileType
*self
){
885 if (self
->GetMimeTypes(arr
))
886 return wxArrayString2PyList_helper(arr
);
890 PyObject
*wxFileType_GetExtensions(wxFileType
*self
){
892 if (self
->GetExtensions(arr
))
893 return wxArrayString2PyList_helper(arr
);
897 wxIcon
*wxFileType_GetIcon(wxFileType
*self
){
899 if (self
->GetIcon(&loc
))
900 return new wxIcon(loc
);
904 PyObject
*wxFileType_GetIconInfo(wxFileType
*self
){
906 if (self
->GetIcon(&loc
)) {
907 wxString iconFile
= loc
.GetFileName();
910 iconIndex
= loc
.GetIndex();
912 // Make a tuple and put the values in it
913 bool blocked
= wxPyBeginBlockThreads();
914 PyObject
* tuple
= PyTuple_New(3);
915 PyTuple_SetItem(tuple
, 0, wxPyConstructObject(new wxIcon(loc
),
916 wxT("wxIcon"), True
));
917 PyTuple_SetItem(tuple
, 1, wx2PyString(iconFile
));
918 PyTuple_SetItem(tuple
, 2, PyInt_FromLong(iconIndex
));
919 wxPyEndBlockThreads(blocked
);
925 PyObject
*wxFileType_GetDescription(wxFileType
*self
){
927 if (self
->GetDescription(&str
))
928 return wx2PyString(str
);
932 PyObject
*wxFileType_GetOpenCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
934 if (self
->GetOpenCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
935 return wx2PyString(str
);
939 PyObject
*wxFileType_GetPrintCommand(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
941 if (self
->GetPrintCommand(&str
, wxFileType::MessageParameters(filename
, mimetype
)))
942 return wx2PyString(str
);
946 PyObject
*wxFileType_GetAllCommands(wxFileType
*self
,wxString
const &filename
,wxString
const &mimetype
){
948 wxArrayString commands
;
949 if (self
->GetAllCommands(&verbs
, &commands
,
950 wxFileType::MessageParameters(filename
, mimetype
))) {
951 bool blocked
= wxPyBeginBlockThreads();
952 PyObject
* tuple
= PyTuple_New(2);
953 PyTuple_SetItem(tuple
, 0, wxArrayString2PyList_helper(verbs
));
954 PyTuple_SetItem(tuple
, 1, wxArrayString2PyList_helper(commands
));
955 wxPyEndBlockThreads(blocked
);
961 wxString
FileType_ExpandCommand(wxString
const &command
,wxString
const &filename
,wxString
const &mimetype
){
962 return wxFileType::ExpandCommand(command
,
963 wxFileType::MessageParameters(filename
, mimetype
));
965 PyObject
*wxMimeTypesManager_EnumAllFileTypes(wxMimeTypesManager
*self
){
967 self
->EnumAllFileTypes(arr
);
968 return wxArrayString2PyList_helper(arr
);
971 #include <wx/artprov.h>
973 static const wxString
wxPyART_TOOLBAR(wxART_TOOLBAR
);
974 static const wxString
wxPyART_MENU(wxART_MENU
);
975 static const wxString
wxPyART_FRAME_ICON(wxART_FRAME_ICON
);
976 static const wxString
wxPyART_CMN_DIALOG(wxART_CMN_DIALOG
);
977 static const wxString
wxPyART_HELP_BROWSER(wxART_HELP_BROWSER
);
978 static const wxString
wxPyART_MESSAGE_BOX(wxART_MESSAGE_BOX
);
979 static const wxString
wxPyART_OTHER(wxART_OTHER
);
980 static const wxString
wxPyART_ADD_BOOKMARK(wxART_ADD_BOOKMARK
);
981 static const wxString
wxPyART_DEL_BOOKMARK(wxART_DEL_BOOKMARK
);
982 static const wxString
wxPyART_HELP_SIDE_PANEL(wxART_HELP_SIDE_PANEL
);
983 static const wxString
wxPyART_HELP_SETTINGS(wxART_HELP_SETTINGS
);
984 static const wxString
wxPyART_HELP_BOOK(wxART_HELP_BOOK
);
985 static const wxString
wxPyART_HELP_FOLDER(wxART_HELP_FOLDER
);
986 static const wxString
wxPyART_HELP_PAGE(wxART_HELP_PAGE
);
987 static const wxString
wxPyART_GO_BACK(wxART_GO_BACK
);
988 static const wxString
wxPyART_GO_FORWARD(wxART_GO_FORWARD
);
989 static const wxString
wxPyART_GO_UP(wxART_GO_UP
);
990 static const wxString
wxPyART_GO_DOWN(wxART_GO_DOWN
);
991 static const wxString
wxPyART_GO_TO_PARENT(wxART_GO_TO_PARENT
);
992 static const wxString
wxPyART_GO_HOME(wxART_GO_HOME
);
993 static const wxString
wxPyART_FILE_OPEN(wxART_FILE_OPEN
);
994 static const wxString
wxPyART_PRINT(wxART_PRINT
);
995 static const wxString
wxPyART_HELP(wxART_HELP
);
996 static const wxString
wxPyART_TIP(wxART_TIP
);
997 static const wxString
wxPyART_REPORT_VIEW(wxART_REPORT_VIEW
);
998 static const wxString
wxPyART_LIST_VIEW(wxART_LIST_VIEW
);
999 static const wxString
wxPyART_NEW_DIR(wxART_NEW_DIR
);
1000 static const wxString
wxPyART_FOLDER(wxART_FOLDER
);
1001 static const wxString
wxPyART_GO_DIR_UP(wxART_GO_DIR_UP
);
1002 static const wxString
wxPyART_EXECUTABLE_FILE(wxART_EXECUTABLE_FILE
);
1003 static const wxString
wxPyART_NORMAL_FILE(wxART_NORMAL_FILE
);
1004 static const wxString
wxPyART_TICK_MARK(wxART_TICK_MARK
);
1005 static const wxString
wxPyART_CROSS_MARK(wxART_CROSS_MARK
);
1006 static const wxString
wxPyART_ERROR(wxART_ERROR
);
1007 static const wxString
wxPyART_QUESTION(wxART_QUESTION
);
1008 static const wxString
wxPyART_WARNING(wxART_WARNING
);
1009 static const wxString
wxPyART_INFORMATION(wxART_INFORMATION
);
1010 static const wxString
wxPyART_MISSING_IMAGE(wxART_MISSING_IMAGE
);
1011 // Python aware wxArtProvider
1012 class wxPyArtProvider
: public wxArtProvider
{
1015 virtual wxBitmap
CreateBitmap(const wxArtID
& id
,
1016 const wxArtClient
& client
,
1017 const wxSize
& size
) {
1018 wxBitmap rval
= wxNullBitmap
;
1019 bool blocked
= wxPyBeginBlockThreads();
1020 if ((wxPyCBH_findCallback(m_myInst
, "CreateBitmap"))) {
1021 PyObject
* so
= wxPyConstructObject((void*)&size
, wxT("wxSize"), 0);
1025 s1
= wx2PyString(id
);
1026 s2
= wx2PyString(client
);
1027 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("(OOO)", s1
, s2
, so
));
1032 if (wxPyConvertSwigPtr(ro
, (void**)&ptr
, wxT("wxBitmap")))
1037 wxPyEndBlockThreads(blocked
);
1044 void wxPyArtProvider_Destroy(wxPyArtProvider
*self
){ delete self
; }
1048 static PyObject
* __EnumerationHelper(bool flag
, wxString
& str
, long index
) {
1049 PyObject
* ret
= PyTuple_New(3);
1051 PyTuple_SET_ITEM(ret
, 0, PyInt_FromLong(flag
));
1052 PyTuple_SET_ITEM(ret
, 1, wx2PyString(str
));
1053 PyTuple_SET_ITEM(ret
, 2, PyInt_FromLong(index
));
1058 PyObject
*wxConfigBase_GetFirstGroup(wxConfigBase
*self
){
1063 cont
= self
->GetFirstGroup(value
, index
);
1064 return __EnumerationHelper(cont
, value
, index
);
1066 PyObject
*wxConfigBase_GetNextGroup(wxConfigBase
*self
,long index
){
1070 cont
= self
->GetNextGroup(value
, index
);
1071 return __EnumerationHelper(cont
, value
, index
);
1073 PyObject
*wxConfigBase_GetFirstEntry(wxConfigBase
*self
){
1078 cont
= self
->GetFirstEntry(value
, index
);
1079 return __EnumerationHelper(cont
, value
, index
);
1081 PyObject
*wxConfigBase_GetNextEntry(wxConfigBase
*self
,long index
){
1085 cont
= self
->GetNextEntry(value
, index
);
1086 return __EnumerationHelper(cont
, value
, index
);
1088 long wxConfigBase_ReadInt(wxConfigBase
*self
,wxString
const &key
,long defaultVal
){
1090 self
->Read(key
, &rv
, defaultVal
);
1094 SWIGSTATICINLINE(double)
1095 SWIG_AsDouble(PyObject
*obj
)
1097 if (PyNumber_Check(obj
))
1098 return PyFloat_AsDouble(obj
);
1100 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
1101 obj
->ob_type
->tp_name
);
1102 PyErr_SetObject(PyExc_TypeError
, errmsg
);
1109 SWIGSTATICINLINE(int)
1110 SWIG_CheckDouble(PyObject
* obj
)
1113 if (PyErr_Occurred()) {
1121 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1123 self
->Read(key
, &rv
, defaultVal
);
1126 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1128 self
->Read(key
, &rv
, defaultVal
);
1132 #include <wx/datetime.h>
1135 static const wxString
wxPyDateFormatStr(wxT("%c"));
1136 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1138 #define LOCAL_TZ wxDateTime::Local
1141 #if UINT_MAX < LONG_MAX
1142 #define SWIG_FromUnsignedInt SWIG_FromLong
1144 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1147 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1148 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1149 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1150 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1151 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1152 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1153 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1154 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1155 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1156 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1157 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1158 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1160 const wxChar
* _date
= date
;
1161 rv
= self
->ParseRfc822Date(_date
);
1162 if (rv
== NULL
) return -1;
1165 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1167 const wxChar
* _date
= date
;
1168 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1169 if (rv
== NULL
) return -1;
1172 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1174 const wxChar
* _datetime
= datetime
;
1175 rv
= self
->ParseDateTime(_datetime
);
1176 if (rv
== NULL
) return -1;
1177 return rv
- _datetime
;
1179 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1181 const wxChar
* _date
= date
;
1182 rv
= self
->ParseDate(_date
);
1183 if (rv
== NULL
) return -1;
1186 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1188 const wxChar
* _time
= time
;
1189 rv
= self
->ParseTime(_time
);
1190 if (rv
== NULL
) return -1;
1193 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1194 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1195 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1196 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1197 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1198 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1199 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1200 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1201 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1202 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1203 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1204 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1205 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1206 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1207 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1208 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1210 #include <wx/dataobj.h>
1212 // Create a new class for wxPython to use
1213 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1215 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1216 : wxDataObjectSimple(format
) {}
1218 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1219 bool GetDataHere(void *buf
) const;
1220 bool SetData(size_t len
, const void *buf
) const;
1224 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1226 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1227 // We need to get the data for this object and write it to buf. I think
1228 // the best way to do this for wxPython is to have the Python method
1229 // return either a string or None and then act appropriately with the
1233 bool blocked
= wxPyBeginBlockThreads();
1234 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1236 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1238 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1240 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1244 wxPyEndBlockThreads(blocked
);
1248 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1249 // For this one we simply need to make a string from buf and len
1250 // and send it to the Python method.
1252 bool blocked
= wxPyBeginBlockThreads();
1253 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1254 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1255 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1258 wxPyEndBlockThreads(blocked
);
1262 // Create a new class for wxPython to use
1263 class wxPyTextDataObject
: public wxTextDataObject
{
1265 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1266 : wxTextDataObject(text
) {}
1268 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1269 DEC_PYCALLBACK_STRING__const(GetText
);
1270 DEC_PYCALLBACK__STRING(SetText
);
1274 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1275 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1276 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1279 // Create a new class for wxPython to use
1280 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1282 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1283 : wxBitmapDataObject(bitmap
) {}
1285 wxBitmap
GetBitmap() const;
1286 void SetBitmap(const wxBitmap
& bitmap
);
1290 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1291 wxBitmap
* rval
= &wxNullBitmap
;
1292 bool blocked
= wxPyBeginBlockThreads();
1293 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1296 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1298 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1303 wxPyEndBlockThreads(blocked
);
1307 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1308 bool blocked
= wxPyBeginBlockThreads();
1309 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1310 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1311 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1314 wxPyEndBlockThreads(blocked
);
1317 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1318 if (PyString_Check(data
)) {
1319 // for Python we just call SetData here since we always need it to make a copy.
1320 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1323 // raise a TypeError if not a string
1324 PyErr_SetString(PyExc_TypeError
, "String expected.");
1327 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1328 if (PyString_Check(data
)) {
1329 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1332 // raise a TypeError if not a string
1333 PyErr_SetString(PyExc_TypeError
, "String expected.");
1337 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1338 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1341 #include <wx/metafile.h>
1344 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1347 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1348 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1349 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1350 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1351 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1354 class wxPyTextDropTarget
: public wxTextDropTarget
{
1356 wxPyTextDropTarget() {}
1358 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1360 DEC_PYCALLBACK__(OnLeave
);
1361 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1362 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1363 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1364 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1369 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1370 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1371 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1372 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1373 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1374 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1378 class wxPyFileDropTarget
: public wxFileDropTarget
{
1380 wxPyFileDropTarget() {}
1382 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1384 DEC_PYCALLBACK__(OnLeave
);
1385 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1386 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1387 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1388 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1393 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1394 const wxArrayString
& filenames
) {
1396 bool blocked
= wxPyBeginBlockThreads();
1397 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1398 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1399 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1402 wxPyEndBlockThreads(blocked
);
1408 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1409 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1410 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1411 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1412 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1417 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1419 #include "wx/display.h"
1421 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1422 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1423 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1424 PyObject
* pyList
= NULL
;
1425 wxArrayVideoModes arr
= self
->GetModes(mode
);
1426 bool blocked
= wxPyBeginBlockThreads();
1427 pyList
= PyList_New(0);
1428 for (int i
=0; i
< arr
.GetCount(); i
++) {
1429 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1430 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1431 PyList_Append(pyList
, pyObj
);
1433 wxPyEndBlockThreads(blocked
);
1439 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1443 PyObject
* obj0
= 0 ;
1445 (char *) "index", NULL
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1449 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1450 if (PyErr_Occurred()) SWIG_fail
;
1452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1453 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1455 wxPyEndAllowThreads(__tstate
);
1456 if (PyErr_Occurred()) SWIG_fail
;
1459 wxColour
* resultptr
;
1460 resultptr
= new wxColour((wxColour
&) result
);
1461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1469 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1470 PyObject
*resultobj
;
1473 PyObject
* obj0
= 0 ;
1475 (char *) "index", NULL
1478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1479 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1480 if (PyErr_Occurred()) SWIG_fail
;
1482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1483 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1485 wxPyEndAllowThreads(__tstate
);
1486 if (PyErr_Occurred()) SWIG_fail
;
1490 resultptr
= new wxFont((wxFont
&) result
);
1491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1499 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1500 PyObject
*resultobj
;
1503 PyObject
* obj0
= 0 ;
1505 (char *) "index", NULL
1508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1509 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1510 if (PyErr_Occurred()) SWIG_fail
;
1512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1513 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1515 wxPyEndAllowThreads(__tstate
);
1516 if (PyErr_Occurred()) SWIG_fail
;
1518 resultobj
= SWIG_FromInt((int)result
);
1525 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1526 PyObject
*resultobj
;
1529 PyObject
* obj0
= 0 ;
1531 (char *) "index", NULL
1534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1535 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1536 if (PyErr_Occurred()) SWIG_fail
;
1538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1539 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1541 wxPyEndAllowThreads(__tstate
);
1542 if (PyErr_Occurred()) SWIG_fail
;
1545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1553 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1554 PyObject
*resultobj
;
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1563 result
= (int)wxSystemSettings::GetScreenType();
1565 wxPyEndAllowThreads(__tstate
);
1566 if (PyErr_Occurred()) SWIG_fail
;
1568 resultobj
= SWIG_FromInt((int)result
);
1575 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1576 PyObject
*resultobj
;
1578 PyObject
* obj0
= 0 ;
1580 (char *) "screen", NULL
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1584 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1585 if (PyErr_Occurred()) SWIG_fail
;
1587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1588 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1590 wxPyEndAllowThreads(__tstate
);
1591 if (PyErr_Occurred()) SWIG_fail
;
1593 Py_INCREF(Py_None
); resultobj
= Py_None
;
1600 static PyObject
* SystemSettings_swigregister(PyObject
*self
, PyObject
*args
) {
1602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1603 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1605 return Py_BuildValue((char *)"");
1607 static PyObject
*_wrap_new_SystemOptions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
*resultobj
;
1609 wxSystemOptions
*result
;
1614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1617 result
= (wxSystemOptions
*)new wxSystemOptions();
1619 wxPyEndAllowThreads(__tstate
);
1620 if (PyErr_Occurred()) SWIG_fail
;
1622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1629 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1630 PyObject
*resultobj
;
1631 wxString
*arg1
= 0 ;
1632 wxString
*arg2
= 0 ;
1633 bool temp1
= False
;
1634 bool temp2
= False
;
1635 PyObject
* obj0
= 0 ;
1636 PyObject
* obj1
= 0 ;
1638 (char *) "name",(char *) "value", NULL
1641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1643 arg1
= wxString_in_helper(obj0
);
1644 if (arg1
== NULL
) SWIG_fail
;
1648 arg2
= wxString_in_helper(obj1
);
1649 if (arg2
== NULL
) SWIG_fail
;
1653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1654 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1656 wxPyEndAllowThreads(__tstate
);
1657 if (PyErr_Occurred()) SWIG_fail
;
1659 Py_INCREF(Py_None
); resultobj
= Py_None
;
1682 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxString
*arg1
= 0 ;
1686 bool temp1
= False
;
1687 PyObject
* obj0
= 0 ;
1688 PyObject
* obj1
= 0 ;
1690 (char *) "name",(char *) "value", NULL
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1695 arg1
= wxString_in_helper(obj0
);
1696 if (arg1
== NULL
) SWIG_fail
;
1699 arg2
= (int) SWIG_AsInt(obj1
);
1700 if (PyErr_Occurred()) SWIG_fail
;
1702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1703 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1705 wxPyEndAllowThreads(__tstate
);
1706 if (PyErr_Occurred()) SWIG_fail
;
1708 Py_INCREF(Py_None
); resultobj
= Py_None
;
1723 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1724 PyObject
*resultobj
;
1725 wxString
*arg1
= 0 ;
1727 bool temp1
= False
;
1728 PyObject
* obj0
= 0 ;
1730 (char *) "name", NULL
1733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1735 arg1
= wxString_in_helper(obj0
);
1736 if (arg1
== NULL
) SWIG_fail
;
1740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1741 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1743 wxPyEndAllowThreads(__tstate
);
1744 if (PyErr_Occurred()) SWIG_fail
;
1748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1767 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1768 PyObject
*resultobj
;
1769 wxString
*arg1
= 0 ;
1771 bool temp1
= False
;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "name", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1779 arg1
= wxString_in_helper(obj0
);
1780 if (arg1
== NULL
) SWIG_fail
;
1784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1785 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1787 wxPyEndAllowThreads(__tstate
);
1788 if (PyErr_Occurred()) SWIG_fail
;
1790 resultobj
= SWIG_FromInt((int)result
);
1805 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxString
*arg1
= 0 ;
1809 bool temp1
= False
;
1810 PyObject
* obj0
= 0 ;
1812 (char *) "name", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1817 arg1
= wxString_in_helper(obj0
);
1818 if (arg1
== NULL
) SWIG_fail
;
1822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1823 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1825 wxPyEndAllowThreads(__tstate
);
1826 if (PyErr_Occurred()) SWIG_fail
;
1829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1845 static PyObject
* SystemOptions_swigregister(PyObject
*self
, PyObject
*args
) {
1847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1848 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1850 return Py_BuildValue((char *)"");
1852 static int _wrap_FileSelectorPromptStr_set(PyObject
*_val
) {
1853 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1858 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1863 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1865 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1872 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*_val
) {
1873 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1878 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1883 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1885 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1892 static int _wrap_DirSelectorPromptStr_set(PyObject
*_val
) {
1893 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1898 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1903 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1905 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1912 static PyObject
*_wrap_NewId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1922 result
= (long)wxNewId();
1924 wxPyEndAllowThreads(__tstate
);
1925 if (PyErr_Occurred()) SWIG_fail
;
1927 resultobj
= SWIG_FromLong((long)result
);
1934 static PyObject
*_wrap_RegisterId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1935 PyObject
*resultobj
;
1937 PyObject
* obj0
= 0 ;
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1943 arg1
= (long) SWIG_AsLong(obj0
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1949 wxPyEndAllowThreads(__tstate
);
1950 if (PyErr_Occurred()) SWIG_fail
;
1952 Py_INCREF(Py_None
); resultobj
= Py_None
;
1959 static PyObject
*_wrap_GetCurrentId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1960 PyObject
*resultobj
;
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 result
= (long)wxGetCurrentId();
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 resultobj
= SWIG_FromLong((long)result
);
1981 static PyObject
*_wrap_Bell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
*resultobj
;
1987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1992 wxPyEndAllowThreads(__tstate
);
1993 if (PyErr_Occurred()) SWIG_fail
;
1995 Py_INCREF(Py_None
); resultobj
= Py_None
;
2002 static PyObject
*_wrap_EndBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2016 Py_INCREF(Py_None
); resultobj
= Py_None
;
2023 static PyObject
*_wrap_GetElapsedTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
*resultobj
;
2025 bool arg1
= (bool) True
;
2027 PyObject
* obj0
= 0 ;
2029 (char *) "resetTimer", NULL
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2034 arg1
= (bool) SWIG_AsBool(obj0
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 result
= (long)wxGetElapsedTime(arg1
);
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2044 resultobj
= SWIG_FromLong((long)result
);
2051 static PyObject
*_wrap_GetMousePosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
*resultobj
;
2053 int *arg1
= (int *) 0 ;
2054 int *arg2
= (int *) 0 ;
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 wxGetMousePosition(arg1
,arg2
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2071 Py_INCREF(Py_None
); resultobj
= Py_None
;
2073 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2074 resultobj
= t_output_helper(resultobj
,o
);
2077 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2078 resultobj
= t_output_helper(resultobj
,o
);
2086 static PyObject
*_wrap_IsBusy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2087 PyObject
*resultobj
;
2093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2096 result
= (bool)wxIsBusy();
2098 wxPyEndAllowThreads(__tstate
);
2099 if (PyErr_Occurred()) SWIG_fail
;
2102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2110 static PyObject
*_wrap_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2111 PyObject
*resultobj
;
2117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2138 static PyObject
*_wrap_Shell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2139 PyObject
*resultobj
;
2140 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2141 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2143 bool temp1
= False
;
2144 PyObject
* obj0
= 0 ;
2146 (char *) "command", NULL
2149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2152 arg1
= wxString_in_helper(obj0
);
2153 if (arg1
== NULL
) SWIG_fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 result
= (bool)wxShell((wxString
const &)*arg1
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2181 static PyObject
*_wrap_StartTimer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2195 Py_INCREF(Py_None
); resultobj
= Py_None
;
2202 static PyObject
*_wrap_GetOsVersion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 int *arg1
= (int *) 0 ;
2205 int *arg2
= (int *) 0 ;
2215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 result
= (int)wxGetOsVersion(arg1
,arg2
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 resultobj
= SWIG_FromInt((int)result
);
2225 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2226 resultobj
= t_output_helper(resultobj
,o
);
2229 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2230 resultobj
= t_output_helper(resultobj
,o
);
2238 static PyObject
*_wrap_GetOsDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2239 PyObject
*resultobj
;
2245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 result
= wxGetOsDescription();
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2266 static PyObject
*_wrap_GetFreeMemory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2267 PyObject
*resultobj
;
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (long)wxGetFreeMemory();
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 resultobj
= SWIG_FromLong((long)result
);
2288 static PyObject
*_wrap_Shutdown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2292 PyObject
* obj0
= 0 ;
2294 (char *) "wFlags", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2298 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2316 static PyObject
*_wrap_Sleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2317 PyObject
*resultobj
;
2319 PyObject
* obj0
= 0 ;
2321 (char *) "secs", NULL
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2325 arg1
= (int) SWIG_AsInt(obj0
);
2326 if (PyErr_Occurred()) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 Py_INCREF(Py_None
); resultobj
= Py_None
;
2341 static PyObject
*_wrap_Usleep(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 unsigned long arg1
;
2344 PyObject
* obj0
= 0 ;
2346 (char *) "milliseconds", NULL
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2350 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2359 Py_INCREF(Py_None
); resultobj
= Py_None
;
2366 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2367 PyObject
*resultobj
;
2369 PyObject
* obj0
= 0 ;
2371 (char *) "enable", NULL
2374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2375 arg1
= (bool) SWIG_AsBool(obj0
);
2376 if (PyErr_Occurred()) SWIG_fail
;
2378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2379 wxEnableTopLevelWindows(arg1
);
2381 wxPyEndAllowThreads(__tstate
);
2382 if (PyErr_Occurred()) SWIG_fail
;
2384 Py_INCREF(Py_None
); resultobj
= Py_None
;
2391 static PyObject
*_wrap_StripMenuCodes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 wxString
*arg1
= 0 ;
2395 bool temp1
= False
;
2396 PyObject
* obj0
= 0 ;
2401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2403 arg1
= wxString_in_helper(obj0
);
2404 if (arg1
== NULL
) SWIG_fail
;
2408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2409 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2411 wxPyEndAllowThreads(__tstate
);
2412 if (PyErr_Occurred()) SWIG_fail
;
2416 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2418 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2435 static PyObject
*_wrap_GetEmailAddress(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
*resultobj
;
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 result
= wxGetEmailAddress();
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2452 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2454 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2463 static PyObject
*_wrap_GetHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2473 result
= wxGetHostName();
2475 wxPyEndAllowThreads(__tstate
);
2476 if (PyErr_Occurred()) SWIG_fail
;
2480 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2482 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2491 static PyObject
*_wrap_GetFullHostName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2501 result
= wxGetFullHostName();
2503 wxPyEndAllowThreads(__tstate
);
2504 if (PyErr_Occurred()) SWIG_fail
;
2508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2519 static PyObject
*_wrap_GetUserId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2529 result
= wxGetUserId();
2531 wxPyEndAllowThreads(__tstate
);
2532 if (PyErr_Occurred()) SWIG_fail
;
2536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2547 static PyObject
*_wrap_GetUserName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2548 PyObject
*resultobj
;
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 result
= wxGetUserName();
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2564 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2566 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2575 static PyObject
*_wrap_GetHomeDir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2576 PyObject
*resultobj
;
2582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2585 result
= wxGetHomeDir();
2587 wxPyEndAllowThreads(__tstate
);
2588 if (PyErr_Occurred()) SWIG_fail
;
2592 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2594 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2603 static PyObject
*_wrap_GetUserHome(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2606 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2608 bool temp1
= False
;
2609 PyObject
* obj0
= 0 ;
2611 (char *) "user", NULL
2614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2617 arg1
= wxString_in_helper(obj0
);
2618 if (arg1
== NULL
) SWIG_fail
;
2623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2624 result
= wxGetUserHome((wxString
const &)*arg1
);
2626 wxPyEndAllowThreads(__tstate
);
2627 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2650 static PyObject
*_wrap_GetProcessId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 unsigned long result
;
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2660 result
= (unsigned long)wxGetProcessId();
2662 wxPyEndAllowThreads(__tstate
);
2663 if (PyErr_Occurred()) SWIG_fail
;
2665 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2672 static PyObject
*_wrap_Trap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2673 PyObject
*resultobj
;
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 Py_INCREF(Py_None
); resultobj
= Py_None
;
2693 static PyObject
*_wrap_FileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
;
2695 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2696 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2697 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2698 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2699 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2700 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2701 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2702 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2703 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2704 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2705 int arg6
= (int) 0 ;
2706 wxWindow
*arg7
= (wxWindow
*) NULL
;
2707 int arg8
= (int) -1 ;
2708 int arg9
= (int) -1 ;
2710 bool temp1
= False
;
2711 bool temp2
= False
;
2712 bool temp3
= False
;
2713 bool temp4
= False
;
2714 bool temp5
= False
;
2715 PyObject
* obj0
= 0 ;
2716 PyObject
* obj1
= 0 ;
2717 PyObject
* obj2
= 0 ;
2718 PyObject
* obj3
= 0 ;
2719 PyObject
* obj4
= 0 ;
2720 PyObject
* obj5
= 0 ;
2721 PyObject
* obj6
= 0 ;
2722 PyObject
* obj7
= 0 ;
2723 PyObject
* obj8
= 0 ;
2725 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2731 arg1
= wxString_in_helper(obj0
);
2732 if (arg1
== NULL
) SWIG_fail
;
2738 arg2
= wxString_in_helper(obj1
);
2739 if (arg2
== NULL
) SWIG_fail
;
2745 arg3
= wxString_in_helper(obj2
);
2746 if (arg3
== NULL
) SWIG_fail
;
2752 arg4
= wxString_in_helper(obj3
);
2753 if (arg4
== NULL
) SWIG_fail
;
2759 arg5
= wxString_in_helper(obj4
);
2760 if (arg5
== NULL
) SWIG_fail
;
2765 arg6
= (int) SWIG_AsInt(obj5
);
2766 if (PyErr_Occurred()) SWIG_fail
;
2769 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2773 arg8
= (int) SWIG_AsInt(obj7
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2777 arg9
= (int) SWIG_AsInt(obj8
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2782 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2784 wxPyEndAllowThreads(__tstate
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2840 static PyObject
*_wrap_LoadFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2841 PyObject
*resultobj
;
2842 wxString
*arg1
= 0 ;
2843 wxString
*arg2
= 0 ;
2844 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2845 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2846 wxWindow
*arg4
= (wxWindow
*) NULL
;
2848 bool temp1
= False
;
2849 bool temp2
= False
;
2850 bool temp3
= False
;
2851 PyObject
* obj0
= 0 ;
2852 PyObject
* obj1
= 0 ;
2853 PyObject
* obj2
= 0 ;
2854 PyObject
* obj3
= 0 ;
2856 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2861 arg1
= wxString_in_helper(obj0
);
2862 if (arg1
== NULL
) SWIG_fail
;
2866 arg2
= wxString_in_helper(obj1
);
2867 if (arg2
== NULL
) SWIG_fail
;
2872 arg3
= wxString_in_helper(obj2
);
2873 if (arg3
== NULL
) SWIG_fail
;
2878 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2883 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2885 wxPyEndAllowThreads(__tstate
);
2886 if (PyErr_Occurred()) SWIG_fail
;
2890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2925 static PyObject
*_wrap_SaveFileSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2926 PyObject
*resultobj
;
2927 wxString
*arg1
= 0 ;
2928 wxString
*arg2
= 0 ;
2929 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2930 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2931 wxWindow
*arg4
= (wxWindow
*) NULL
;
2933 bool temp1
= False
;
2934 bool temp2
= False
;
2935 bool temp3
= False
;
2936 PyObject
* obj0
= 0 ;
2937 PyObject
* obj1
= 0 ;
2938 PyObject
* obj2
= 0 ;
2939 PyObject
* obj3
= 0 ;
2941 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2946 arg1
= wxString_in_helper(obj0
);
2947 if (arg1
== NULL
) SWIG_fail
;
2951 arg2
= wxString_in_helper(obj1
);
2952 if (arg2
== NULL
) SWIG_fail
;
2957 arg3
= wxString_in_helper(obj2
);
2958 if (arg3
== NULL
) SWIG_fail
;
2963 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2968 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2970 wxPyEndAllowThreads(__tstate
);
2971 if (PyErr_Occurred()) SWIG_fail
;
2975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3010 static PyObject
*_wrap_DirSelector(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3011 PyObject
*resultobj
;
3012 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3013 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3014 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3015 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3016 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3017 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3018 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3019 wxWindow
*arg5
= (wxWindow
*) NULL
;
3021 bool temp1
= False
;
3022 bool temp2
= False
;
3024 PyObject
* obj0
= 0 ;
3025 PyObject
* obj1
= 0 ;
3026 PyObject
* obj2
= 0 ;
3027 PyObject
* obj3
= 0 ;
3028 PyObject
* obj4
= 0 ;
3030 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3036 arg1
= wxString_in_helper(obj0
);
3037 if (arg1
== NULL
) SWIG_fail
;
3043 arg2
= wxString_in_helper(obj1
);
3044 if (arg2
== NULL
) SWIG_fail
;
3049 arg3
= (long) SWIG_AsLong(obj2
);
3050 if (PyErr_Occurred()) SWIG_fail
;
3055 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3059 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3098 static PyObject
*_wrap_GetTextFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3099 PyObject
*resultobj
;
3100 wxString
*arg1
= 0 ;
3101 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3102 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3103 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3104 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3105 wxWindow
*arg4
= (wxWindow
*) NULL
;
3106 int arg5
= (int) -1 ;
3107 int arg6
= (int) -1 ;
3108 bool arg7
= (bool) True
;
3110 bool temp1
= False
;
3111 bool temp2
= False
;
3112 bool temp3
= False
;
3113 PyObject
* obj0
= 0 ;
3114 PyObject
* obj1
= 0 ;
3115 PyObject
* obj2
= 0 ;
3116 PyObject
* obj3
= 0 ;
3117 PyObject
* obj4
= 0 ;
3118 PyObject
* obj5
= 0 ;
3119 PyObject
* obj6
= 0 ;
3121 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3126 arg1
= wxString_in_helper(obj0
);
3127 if (arg1
== NULL
) SWIG_fail
;
3132 arg2
= wxString_in_helper(obj1
);
3133 if (arg2
== NULL
) SWIG_fail
;
3139 arg3
= wxString_in_helper(obj2
);
3140 if (arg3
== NULL
) SWIG_fail
;
3145 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3149 arg5
= (int) SWIG_AsInt(obj4
);
3150 if (PyErr_Occurred()) SWIG_fail
;
3153 arg6
= (int) SWIG_AsInt(obj5
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3157 arg7
= (bool) SWIG_AsBool(obj6
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3169 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3171 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3204 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3205 PyObject
*resultobj
;
3206 wxString
*arg1
= 0 ;
3207 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3208 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3209 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3210 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3211 wxWindow
*arg4
= (wxWindow
*) NULL
;
3213 bool temp1
= False
;
3214 bool temp2
= False
;
3215 bool temp3
= False
;
3216 PyObject
* obj0
= 0 ;
3217 PyObject
* obj1
= 0 ;
3218 PyObject
* obj2
= 0 ;
3219 PyObject
* obj3
= 0 ;
3221 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3226 arg1
= wxString_in_helper(obj0
);
3227 if (arg1
== NULL
) SWIG_fail
;
3232 arg2
= wxString_in_helper(obj1
);
3233 if (arg2
== NULL
) SWIG_fail
;
3239 arg3
= wxString_in_helper(obj2
);
3240 if (arg3
== NULL
) SWIG_fail
;
3245 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3250 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3252 wxPyEndAllowThreads(__tstate
);
3253 if (PyErr_Occurred()) SWIG_fail
;
3257 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3259 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3292 static PyObject
*_wrap_GetSingleChoice(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3293 PyObject
*resultobj
;
3294 wxString
*arg1
= 0 ;
3295 wxString
*arg2
= 0 ;
3297 wxString
*arg4
= (wxString
*) 0 ;
3298 wxWindow
*arg5
= (wxWindow
*) NULL
;
3299 int arg6
= (int) -1 ;
3300 int arg7
= (int) -1 ;
3301 bool arg8
= (bool) True
;
3302 int arg9
= (int) 150 ;
3303 int arg10
= (int) 200 ;
3305 bool temp1
= False
;
3306 bool temp2
= False
;
3307 PyObject
* obj0
= 0 ;
3308 PyObject
* obj1
= 0 ;
3309 PyObject
* obj2
= 0 ;
3310 PyObject
* obj3
= 0 ;
3311 PyObject
* obj4
= 0 ;
3312 PyObject
* obj5
= 0 ;
3313 PyObject
* obj6
= 0 ;
3314 PyObject
* obj7
= 0 ;
3315 PyObject
* obj8
= 0 ;
3317 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3322 arg1
= wxString_in_helper(obj0
);
3323 if (arg1
== NULL
) SWIG_fail
;
3327 arg2
= wxString_in_helper(obj1
);
3328 if (arg2
== NULL
) SWIG_fail
;
3332 arg3
= PyList_Size(obj2
);
3333 arg4
= wxString_LIST_helper(obj2
);
3334 if (arg4
== NULL
) SWIG_fail
;
3337 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3341 arg6
= (int) SWIG_AsInt(obj4
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3345 arg7
= (int) SWIG_AsInt(obj5
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3349 arg8
= (bool) SWIG_AsBool(obj6
);
3350 if (PyErr_Occurred()) SWIG_fail
;
3353 arg9
= (int) SWIG_AsInt(obj7
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3357 arg10
= (int) SWIG_AsInt(obj8
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3364 wxPyEndAllowThreads(__tstate
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3383 if (arg4
) delete [] arg4
;
3396 if (arg4
) delete [] arg4
;
3402 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3403 PyObject
*resultobj
;
3404 wxString
*arg1
= 0 ;
3405 wxString
*arg2
= 0 ;
3407 wxString
*arg4
= (wxString
*) 0 ;
3408 wxWindow
*arg5
= (wxWindow
*) NULL
;
3409 int arg6
= (int) -1 ;
3410 int arg7
= (int) -1 ;
3411 bool arg8
= (bool) True
;
3412 int arg9
= (int) 150 ;
3413 int arg10
= (int) 200 ;
3415 bool temp1
= False
;
3416 bool temp2
= False
;
3417 PyObject
* obj0
= 0 ;
3418 PyObject
* obj1
= 0 ;
3419 PyObject
* obj2
= 0 ;
3420 PyObject
* obj3
= 0 ;
3421 PyObject
* obj4
= 0 ;
3422 PyObject
* obj5
= 0 ;
3423 PyObject
* obj6
= 0 ;
3424 PyObject
* obj7
= 0 ;
3425 PyObject
* obj8
= 0 ;
3427 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3432 arg1
= wxString_in_helper(obj0
);
3433 if (arg1
== NULL
) SWIG_fail
;
3437 arg2
= wxString_in_helper(obj1
);
3438 if (arg2
== NULL
) SWIG_fail
;
3442 arg3
= PyList_Size(obj2
);
3443 arg4
= wxString_LIST_helper(obj2
);
3444 if (arg4
== NULL
) SWIG_fail
;
3447 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3451 arg6
= (int) SWIG_AsInt(obj4
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3455 arg7
= (int) SWIG_AsInt(obj5
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3459 arg8
= (bool) SWIG_AsBool(obj6
);
3460 if (PyErr_Occurred()) SWIG_fail
;
3463 arg9
= (int) SWIG_AsInt(obj7
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3467 arg10
= (int) SWIG_AsInt(obj8
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3472 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3474 wxPyEndAllowThreads(__tstate
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 resultobj
= SWIG_FromInt((int)result
);
3487 if (arg4
) delete [] arg4
;
3500 if (arg4
) delete [] arg4
;
3506 static PyObject
*_wrap_MessageBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
*resultobj
;
3508 wxString
*arg1
= 0 ;
3509 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3510 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3511 int arg3
= (int) wxOK
|wxCENTRE
;
3512 wxWindow
*arg4
= (wxWindow
*) NULL
;
3513 int arg5
= (int) -1 ;
3514 int arg6
= (int) -1 ;
3516 bool temp1
= False
;
3517 bool temp2
= False
;
3518 PyObject
* obj0
= 0 ;
3519 PyObject
* obj1
= 0 ;
3520 PyObject
* obj2
= 0 ;
3521 PyObject
* obj3
= 0 ;
3522 PyObject
* obj4
= 0 ;
3523 PyObject
* obj5
= 0 ;
3525 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3530 arg1
= wxString_in_helper(obj0
);
3531 if (arg1
== NULL
) SWIG_fail
;
3536 arg2
= wxString_in_helper(obj1
);
3537 if (arg2
== NULL
) SWIG_fail
;
3542 arg3
= (int) SWIG_AsInt(obj2
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3546 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3550 arg5
= (int) SWIG_AsInt(obj4
);
3551 if (PyErr_Occurred()) SWIG_fail
;
3554 arg6
= (int) SWIG_AsInt(obj5
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3561 wxPyEndAllowThreads(__tstate
);
3562 if (PyErr_Occurred()) SWIG_fail
;
3564 resultobj
= SWIG_FromInt((int)result
);
3587 static PyObject
*_wrap_GetNumberFromUser(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxString
*arg1
= 0 ;
3590 wxString
*arg2
= 0 ;
3591 wxString
*arg3
= 0 ;
3593 long arg5
= (long) 0 ;
3594 long arg6
= (long) 100 ;
3595 wxWindow
*arg7
= (wxWindow
*) NULL
;
3596 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3597 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3599 bool temp1
= False
;
3600 bool temp2
= False
;
3601 bool temp3
= False
;
3603 PyObject
* obj0
= 0 ;
3604 PyObject
* obj1
= 0 ;
3605 PyObject
* obj2
= 0 ;
3606 PyObject
* obj3
= 0 ;
3607 PyObject
* obj4
= 0 ;
3608 PyObject
* obj5
= 0 ;
3609 PyObject
* obj6
= 0 ;
3610 PyObject
* obj7
= 0 ;
3612 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3617 arg1
= wxString_in_helper(obj0
);
3618 if (arg1
== NULL
) SWIG_fail
;
3622 arg2
= wxString_in_helper(obj1
);
3623 if (arg2
== NULL
) SWIG_fail
;
3627 arg3
= wxString_in_helper(obj2
);
3628 if (arg3
== NULL
) SWIG_fail
;
3631 arg4
= (long) SWIG_AsLong(obj3
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3634 arg5
= (long) SWIG_AsLong(obj4
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3638 arg6
= (long) SWIG_AsLong(obj5
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3642 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3648 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3653 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3655 wxPyEndAllowThreads(__tstate
);
3656 if (PyErr_Occurred()) SWIG_fail
;
3658 resultobj
= SWIG_FromLong((long)result
);
3689 static PyObject
*_wrap_ColourDisplay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3690 PyObject
*resultobj
;
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 result
= (bool)wxColourDisplay();
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3713 static PyObject
*_wrap_DisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3714 PyObject
*resultobj
;
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3723 result
= (int)wxDisplayDepth();
3725 wxPyEndAllowThreads(__tstate
);
3726 if (PyErr_Occurred()) SWIG_fail
;
3728 resultobj
= SWIG_FromInt((int)result
);
3735 static PyObject
*_wrap_GetDisplayDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3745 result
= (int)wxGetDisplayDepth();
3747 wxPyEndAllowThreads(__tstate
);
3748 if (PyErr_Occurred()) SWIG_fail
;
3750 resultobj
= SWIG_FromInt((int)result
);
3757 static PyObject
*_wrap_DisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 int *arg1
= (int *) 0 ;
3760 int *arg2
= (int *) 0 ;
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 wxDisplaySize(arg1
,arg2
);
3774 wxPyEndAllowThreads(__tstate
);
3775 if (PyErr_Occurred()) SWIG_fail
;
3777 Py_INCREF(Py_None
); resultobj
= Py_None
;
3779 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3780 resultobj
= t_output_helper(resultobj
,o
);
3783 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3784 resultobj
= t_output_helper(resultobj
,o
);
3792 static PyObject
*_wrap_GetDisplaySize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3802 result
= wxGetDisplaySize();
3804 wxPyEndAllowThreads(__tstate
);
3805 if (PyErr_Occurred()) SWIG_fail
;
3809 resultptr
= new wxSize((wxSize
&) result
);
3810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3818 static PyObject
*_wrap_DisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 int *arg1
= (int *) 0 ;
3821 int *arg2
= (int *) 0 ;
3830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 wxDisplaySizeMM(arg1
,arg2
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3838 Py_INCREF(Py_None
); resultobj
= Py_None
;
3840 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3841 resultobj
= t_output_helper(resultobj
,o
);
3844 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3845 resultobj
= t_output_helper(resultobj
,o
);
3853 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3854 PyObject
*resultobj
;
3860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3863 result
= wxGetDisplaySizeMM();
3865 wxPyEndAllowThreads(__tstate
);
3866 if (PyErr_Occurred()) SWIG_fail
;
3870 resultptr
= new wxSize((wxSize
&) result
);
3871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3879 static PyObject
*_wrap_ClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3880 PyObject
*resultobj
;
3881 int *arg1
= (int *) 0 ;
3882 int *arg2
= (int *) 0 ;
3883 int *arg3
= (int *) 0 ;
3884 int *arg4
= (int *) 0 ;
3897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 Py_INCREF(Py_None
); resultobj
= Py_None
;
3907 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3908 resultobj
= t_output_helper(resultobj
,o
);
3911 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3912 resultobj
= t_output_helper(resultobj
,o
);
3915 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3916 resultobj
= t_output_helper(resultobj
,o
);
3919 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3920 resultobj
= t_output_helper(resultobj
,o
);
3928 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3938 result
= wxGetClientDisplayRect();
3940 wxPyEndAllowThreads(__tstate
);
3941 if (PyErr_Occurred()) SWIG_fail
;
3945 resultptr
= new wxRect((wxRect
&) result
);
3946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3954 static PyObject
*_wrap_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3955 PyObject
*resultobj
;
3956 wxCursor
*arg1
= 0 ;
3957 PyObject
* obj0
= 0 ;
3959 (char *) "cursor", NULL
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3964 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3967 PyErr_SetString(PyExc_TypeError
,"null reference");
3971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 wxPyEndAllowThreads(__tstate
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3977 Py_INCREF(Py_None
); resultobj
= Py_None
;
3984 static PyObject
*_wrap_BeginBusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3985 PyObject
*resultobj
;
3986 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3987 PyObject
* obj0
= 0 ;
3989 (char *) "cursor", NULL
3992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3999 wxBeginBusyCursor(arg1
);
4001 wxPyEndAllowThreads(__tstate
);
4002 if (PyErr_Occurred()) SWIG_fail
;
4004 Py_INCREF(Py_None
); resultobj
= Py_None
;
4011 static PyObject
*_wrap_GetActiveWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4012 PyObject
*resultobj
;
4018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (wxWindow
*)wxGetActiveWindow();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= wxPyMake_wxObject(result
);
4035 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
;
4040 PyObject
* obj0
= 0 ;
4045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4048 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4052 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4054 wxPyEndAllowThreads(__tstate
);
4055 if (PyErr_Occurred()) SWIG_fail
;
4058 resultobj
= wxPyMake_wxObject(result
);
4066 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4067 PyObject
*resultobj
;
4071 PyObject
* obj0
= 0 ;
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4079 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4089 resultobj
= wxPyMake_wxObject(result
);
4097 static PyObject
*_wrap_GetTopLevelParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxWindow
*arg1
= (wxWindow
*) 0 ;
4101 PyObject
* obj0
= 0 ;
4103 (char *) "win", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4111 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4113 wxPyEndAllowThreads(__tstate
);
4114 if (PyErr_Occurred()) SWIG_fail
;
4117 resultobj
= wxPyMake_wxObject(result
);
4125 static PyObject
*_wrap_GetKeyState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4129 PyObject
* obj0
= 0 ;
4131 (char *) "key", NULL
4134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4135 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4139 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4141 wxPyEndAllowThreads(__tstate
);
4142 if (PyErr_Occurred()) SWIG_fail
;
4145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4153 static PyObject
*_wrap_WakeUpMainThread(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4154 PyObject
*resultobj
;
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 wxWakeUpMainThread();
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 Py_INCREF(Py_None
); resultobj
= Py_None
;
4174 static PyObject
*_wrap_MutexGuiEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 wxPyEndAllowThreads(__tstate
);
4186 if (PyErr_Occurred()) SWIG_fail
;
4188 Py_INCREF(Py_None
); resultobj
= Py_None
;
4195 static PyObject
*_wrap_MutexGuiLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4196 PyObject
*resultobj
;
4201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 wxPyEndAllowThreads(__tstate
);
4207 if (PyErr_Occurred()) SWIG_fail
;
4209 Py_INCREF(Py_None
); resultobj
= Py_None
;
4216 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4217 PyObject
*resultobj
;
4218 wxMutexGuiLocker
*result
;
4223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4238 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4241 PyObject
* obj0
= 0 ;
4243 (char *) "self", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4256 Py_INCREF(Py_None
); resultobj
= Py_None
;
4263 static PyObject
* MutexGuiLocker_swigregister(PyObject
*self
, PyObject
*args
) {
4265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4266 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4268 return Py_BuildValue((char *)"");
4270 static PyObject
*_wrap_Thread_IsMain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4271 PyObject
*resultobj
;
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4280 result
= (bool)wxThread_IsMain();
4282 wxPyEndAllowThreads(__tstate
);
4283 if (PyErr_Occurred()) SWIG_fail
;
4286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4294 static PyObject
*_wrap_new_ToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
;
4296 wxString
*arg1
= 0 ;
4298 bool temp1
= False
;
4299 PyObject
* obj0
= 0 ;
4301 (char *) "tip", NULL
4304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4306 arg1
= wxString_in_helper(obj0
);
4307 if (arg1
== NULL
) SWIG_fail
;
4311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4312 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4314 wxPyEndAllowThreads(__tstate
);
4315 if (PyErr_Occurred()) SWIG_fail
;
4318 resultobj
= wxPyMake_wxObject(result
);
4334 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4335 PyObject
*resultobj
;
4336 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4337 wxString
*arg2
= 0 ;
4338 bool temp2
= False
;
4339 PyObject
* obj0
= 0 ;
4340 PyObject
* obj1
= 0 ;
4342 (char *) "self",(char *) "tip", NULL
4345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4349 arg2
= wxString_in_helper(obj1
);
4350 if (arg2
== NULL
) SWIG_fail
;
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4355 (arg1
)->SetTip((wxString
const &)*arg2
);
4357 wxPyEndAllowThreads(__tstate
);
4358 if (PyErr_Occurred()) SWIG_fail
;
4360 Py_INCREF(Py_None
); resultobj
= Py_None
;
4375 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4381 (char *) "self", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4389 result
= (arg1
)->GetTip();
4391 wxPyEndAllowThreads(__tstate
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4407 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
;
4409 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4411 PyObject
* obj0
= 0 ;
4413 (char *) "self", NULL
4416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4421 result
= (wxWindow
*)(arg1
)->GetWindow();
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4427 resultobj
= wxPyMake_wxObject(result
);
4435 static PyObject
*_wrap_ToolTip_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4436 PyObject
*resultobj
;
4438 PyObject
* obj0
= 0 ;
4440 (char *) "flag", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4444 arg1
= (bool) SWIG_AsBool(obj0
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4448 wxToolTip::Enable(arg1
);
4450 wxPyEndAllowThreads(__tstate
);
4451 if (PyErr_Occurred()) SWIG_fail
;
4453 Py_INCREF(Py_None
); resultobj
= Py_None
;
4460 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4461 PyObject
*resultobj
;
4463 PyObject
* obj0
= 0 ;
4465 (char *) "milliseconds", NULL
4468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4469 arg1
= (long) SWIG_AsLong(obj0
);
4470 if (PyErr_Occurred()) SWIG_fail
;
4472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4473 wxToolTip::SetDelay(arg1
);
4475 wxPyEndAllowThreads(__tstate
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4478 Py_INCREF(Py_None
); resultobj
= Py_None
;
4485 static PyObject
* ToolTip_swigregister(PyObject
*self
, PyObject
*args
) {
4487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4488 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4490 return Py_BuildValue((char *)"");
4492 static PyObject
*_wrap_new_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4493 PyObject
*resultobj
;
4494 wxWindow
*arg1
= (wxWindow
*) 0 ;
4498 PyObject
* obj0
= 0 ;
4499 PyObject
* obj1
= 0 ;
4501 (char *) "window",(char *) "size", NULL
4504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4515 wxPyEndAllowThreads(__tstate
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4525 static PyObject
*_wrap_delete_Caret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4526 PyObject
*resultobj
;
4527 wxCaret
*arg1
= (wxCaret
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4530 (char *) "self", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 wxPyEndAllowThreads(__tstate
);
4541 if (PyErr_Occurred()) SWIG_fail
;
4543 Py_INCREF(Py_None
); resultobj
= Py_None
;
4550 static PyObject
*_wrap_Caret_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4551 PyObject
*resultobj
;
4552 wxCaret
*arg1
= (wxCaret
*) 0 ;
4554 PyObject
* obj0
= 0 ;
4556 (char *) "self", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 result
= (bool)(arg1
)->IsOk();
4566 wxPyEndAllowThreads(__tstate
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4578 static PyObject
*_wrap_Caret_IsVisible(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4579 PyObject
*resultobj
;
4580 wxCaret
*arg1
= (wxCaret
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4584 (char *) "self", NULL
4587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (bool)(arg1
)->IsVisible();
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4606 static PyObject
*_wrap_Caret_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4607 PyObject
*resultobj
;
4608 wxCaret
*arg1
= (wxCaret
*) 0 ;
4610 PyObject
* obj0
= 0 ;
4612 (char *) "self", NULL
4615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4620 result
= (arg1
)->GetPosition();
4622 wxPyEndAllowThreads(__tstate
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4626 wxPoint
* resultptr
;
4627 resultptr
= new wxPoint((wxPoint
&) result
);
4628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4636 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxCaret
*arg1
= (wxCaret
*) 0 ;
4639 int *arg2
= (int *) 0 ;
4640 int *arg3
= (int *) 0 ;
4643 PyObject
* obj0
= 0 ;
4645 (char *) "self", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 (arg1
)->GetPosition(arg2
,arg3
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4660 Py_INCREF(Py_None
); resultobj
= Py_None
;
4662 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4663 resultobj
= t_output_helper(resultobj
,o
);
4666 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4667 resultobj
= t_output_helper(resultobj
,o
);
4675 static PyObject
*_wrap_Caret_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4676 PyObject
*resultobj
;
4677 wxCaret
*arg1
= (wxCaret
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4681 (char *) "self", NULL
4684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4689 result
= (arg1
)->GetSize();
4691 wxPyEndAllowThreads(__tstate
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4696 resultptr
= new wxSize((wxSize
&) result
);
4697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4705 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4706 PyObject
*resultobj
;
4707 wxCaret
*arg1
= (wxCaret
*) 0 ;
4708 int *arg2
= (int *) 0 ;
4709 int *arg3
= (int *) 0 ;
4712 PyObject
* obj0
= 0 ;
4714 (char *) "self", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 (arg1
)->GetSize(arg2
,arg3
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 Py_INCREF(Py_None
); resultobj
= Py_None
;
4731 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4732 resultobj
= t_output_helper(resultobj
,o
);
4735 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4736 resultobj
= t_output_helper(resultobj
,o
);
4744 static PyObject
*_wrap_Caret_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxCaret
*arg1
= (wxCaret
*) 0 ;
4748 PyObject
* obj0
= 0 ;
4750 (char *) "self", NULL
4753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (wxWindow
*)(arg1
)->GetWindow();
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= wxPyMake_wxObject(result
);
4772 static PyObject
*_wrap_Caret_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4773 PyObject
*resultobj
;
4774 wxCaret
*arg1
= (wxCaret
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4778 PyObject
* obj1
= 0 ;
4779 PyObject
* obj2
= 0 ;
4781 (char *) "self",(char *) "x",(char *) "y", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4787 arg2
= (int) SWIG_AsInt(obj1
);
4788 if (PyErr_Occurred()) SWIG_fail
;
4789 arg3
= (int) SWIG_AsInt(obj2
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 (arg1
)->Move(arg2
,arg3
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 Py_INCREF(Py_None
); resultobj
= Py_None
;
4805 static PyObject
*_wrap_Caret_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4807 wxCaret
*arg1
= (wxCaret
*) 0 ;
4810 PyObject
* obj0
= 0 ;
4811 PyObject
* obj1
= 0 ;
4813 (char *) "self",(char *) "pt", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 (arg1
)->Move((wxPoint
const &)*arg2
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 Py_INCREF(Py_None
); resultobj
= Py_None
;
4837 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
;
4839 wxCaret
*arg1
= (wxCaret
*) 0 ;
4842 PyObject
* obj0
= 0 ;
4843 PyObject
* obj1
= 0 ;
4844 PyObject
* obj2
= 0 ;
4846 (char *) "self",(char *) "width",(char *) "height", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4852 arg2
= (int) SWIG_AsInt(obj1
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4854 arg3
= (int) SWIG_AsInt(obj2
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4858 (arg1
)->SetSize(arg2
,arg3
);
4860 wxPyEndAllowThreads(__tstate
);
4861 if (PyErr_Occurred()) SWIG_fail
;
4863 Py_INCREF(Py_None
); resultobj
= Py_None
;
4870 static PyObject
*_wrap_Caret_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4871 PyObject
*resultobj
;
4872 wxCaret
*arg1
= (wxCaret
*) 0 ;
4875 PyObject
* obj0
= 0 ;
4876 PyObject
* obj1
= 0 ;
4878 (char *) "self",(char *) "size", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4886 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4890 (arg1
)->SetSize((wxSize
const &)*arg2
);
4892 wxPyEndAllowThreads(__tstate
);
4893 if (PyErr_Occurred()) SWIG_fail
;
4895 Py_INCREF(Py_None
); resultobj
= Py_None
;
4902 static PyObject
*_wrap_Caret_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxCaret
*arg1
= (wxCaret
*) 0 ;
4905 int arg2
= (int) True
;
4906 PyObject
* obj0
= 0 ;
4907 PyObject
* obj1
= 0 ;
4909 (char *) "self",(char *) "show", NULL
4912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4916 arg2
= (int) SWIG_AsInt(obj1
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 Py_INCREF(Py_None
); resultobj
= Py_None
;
4933 static PyObject
*_wrap_Caret_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4934 PyObject
*resultobj
;
4935 wxCaret
*arg1
= (wxCaret
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4938 (char *) "self", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 Py_INCREF(Py_None
); resultobj
= Py_None
;
4958 static PyObject
* Caret_swigregister(PyObject
*self
, PyObject
*args
) {
4960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4961 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4963 return Py_BuildValue((char *)"");
4965 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4966 PyObject
*resultobj
;
4972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (int)wxCaret_GetBlinkTime();
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= SWIG_FromInt((int)result
);
4987 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4990 PyObject
* obj0
= 0 ;
4992 (char *) "milliseconds", NULL
4995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4996 arg1
= (int) SWIG_AsInt(obj0
);
4997 if (PyErr_Occurred()) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 wxCaret_SetBlinkTime(arg1
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 Py_INCREF(Py_None
); resultobj
= Py_None
;
5012 static PyObject
*_wrap_new_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
;
5014 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
5015 wxBusyCursor
*result
;
5016 PyObject
* obj0
= 0 ;
5018 (char *) "cursor", NULL
5021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5040 static PyObject
*_wrap_delete_BusyCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5043 PyObject
* obj0
= 0 ;
5045 (char *) "self", NULL
5048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 Py_INCREF(Py_None
); resultobj
= Py_None
;
5065 static PyObject
* BusyCursor_swigregister(PyObject
*self
, PyObject
*args
) {
5067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5068 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5070 return Py_BuildValue((char *)"");
5072 static PyObject
*_wrap_new_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxWindow
*arg1
= (wxWindow
*) NULL
;
5075 wxWindowDisabler
*result
;
5076 PyObject
* obj0
= 0 ;
5078 (char *) "winToSkip", NULL
5081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5090 wxPyEndAllowThreads(__tstate
);
5091 if (PyErr_Occurred()) SWIG_fail
;
5093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5100 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5101 PyObject
*resultobj
;
5102 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5103 PyObject
* obj0
= 0 ;
5105 (char *) "self", NULL
5108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 wxPyEndAllowThreads(__tstate
);
5116 if (PyErr_Occurred()) SWIG_fail
;
5118 Py_INCREF(Py_None
); resultobj
= Py_None
;
5125 static PyObject
* WindowDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
5127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5128 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5130 return Py_BuildValue((char *)"");
5132 static PyObject
*_wrap_new_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
;
5134 wxString
*arg1
= 0 ;
5136 bool temp1
= False
;
5137 PyObject
* obj0
= 0 ;
5139 (char *) "message", NULL
5142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5144 arg1
= wxString_in_helper(obj0
);
5145 if (arg1
== NULL
) SWIG_fail
;
5149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5150 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5152 wxPyEndAllowThreads(__tstate
);
5153 if (PyErr_Occurred()) SWIG_fail
;
5155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5170 static PyObject
*_wrap_delete_BusyInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
;
5172 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5173 PyObject
* obj0
= 0 ;
5175 (char *) "self", NULL
5178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 wxPyEndAllowThreads(__tstate
);
5186 if (PyErr_Occurred()) SWIG_fail
;
5188 Py_INCREF(Py_None
); resultobj
= Py_None
;
5195 static PyObject
* BusyInfo_swigregister(PyObject
*self
, PyObject
*args
) {
5197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5198 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5200 return Py_BuildValue((char *)"");
5202 static PyObject
*_wrap_new_StopWatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5203 PyObject
*resultobj
;
5204 wxStopWatch
*result
;
5209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 result
= (wxStopWatch
*)new wxStopWatch();
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5224 static PyObject
*_wrap_StopWatch_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5227 long arg2
= (long) 0 ;
5228 PyObject
* obj0
= 0 ;
5229 PyObject
* obj1
= 0 ;
5231 (char *) "self",(char *) "t0", NULL
5234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5238 arg2
= (long) SWIG_AsLong(obj1
);
5239 if (PyErr_Occurred()) SWIG_fail
;
5242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5243 (arg1
)->Start(arg2
);
5245 wxPyEndAllowThreads(__tstate
);
5246 if (PyErr_Occurred()) SWIG_fail
;
5248 Py_INCREF(Py_None
); resultobj
= Py_None
;
5255 static PyObject
*_wrap_StopWatch_Pause(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5256 PyObject
*resultobj
;
5257 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5258 PyObject
* obj0
= 0 ;
5260 (char *) "self", NULL
5263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5270 wxPyEndAllowThreads(__tstate
);
5271 if (PyErr_Occurred()) SWIG_fail
;
5273 Py_INCREF(Py_None
); resultobj
= Py_None
;
5280 static PyObject
*_wrap_StopWatch_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5281 PyObject
*resultobj
;
5282 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5283 PyObject
* obj0
= 0 ;
5285 (char *) "self", NULL
5288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5295 wxPyEndAllowThreads(__tstate
);
5296 if (PyErr_Occurred()) SWIG_fail
;
5298 Py_INCREF(Py_None
); resultobj
= Py_None
;
5305 static PyObject
*_wrap_StopWatch_Time(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5306 PyObject
*resultobj
;
5307 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5309 PyObject
* obj0
= 0 ;
5311 (char *) "self", NULL
5314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5319 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5321 wxPyEndAllowThreads(__tstate
);
5322 if (PyErr_Occurred()) SWIG_fail
;
5324 resultobj
= SWIG_FromLong((long)result
);
5331 static PyObject
* StopWatch_swigregister(PyObject
*self
, PyObject
*args
) {
5333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5334 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5336 return Py_BuildValue((char *)"");
5338 static PyObject
*_wrap_new_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5339 PyObject
*resultobj
;
5340 int arg1
= (int) 9 ;
5341 wxFileHistory
*result
;
5342 PyObject
* obj0
= 0 ;
5344 (char *) "maxFiles", NULL
5347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5349 arg1
= (int) SWIG_AsInt(obj0
);
5350 if (PyErr_Occurred()) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5354 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5366 static PyObject
*_wrap_delete_FileHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5369 PyObject
* obj0
= 0 ;
5371 (char *) "self", NULL
5374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5384 Py_INCREF(Py_None
); resultobj
= Py_None
;
5391 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5392 PyObject
*resultobj
;
5393 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5394 wxString
*arg2
= 0 ;
5395 bool temp2
= False
;
5396 PyObject
* obj0
= 0 ;
5397 PyObject
* obj1
= 0 ;
5399 (char *) "self",(char *) "file", NULL
5402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5406 arg2
= wxString_in_helper(obj1
);
5407 if (arg2
== NULL
) SWIG_fail
;
5411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 Py_INCREF(Py_None
); resultobj
= Py_None
;
5432 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5433 PyObject
*resultobj
;
5434 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5436 PyObject
* obj0
= 0 ;
5437 PyObject
* obj1
= 0 ;
5439 (char *) "self",(char *) "i", NULL
5442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5445 arg2
= (int) SWIG_AsInt(obj1
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5449 (arg1
)->RemoveFileFromHistory(arg2
);
5451 wxPyEndAllowThreads(__tstate
);
5452 if (PyErr_Occurred()) SWIG_fail
;
5454 Py_INCREF(Py_None
); resultobj
= Py_None
;
5461 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5462 PyObject
*resultobj
;
5463 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5465 PyObject
* obj0
= 0 ;
5467 (char *) "self", NULL
5470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 resultobj
= SWIG_FromInt((int)result
);
5487 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5490 wxMenu
*arg2
= (wxMenu
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "menu", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 (arg1
)->UseMenu(arg2
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5509 Py_INCREF(Py_None
); resultobj
= Py_None
;
5516 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5519 wxMenu
*arg2
= (wxMenu
*) 0 ;
5520 PyObject
* obj0
= 0 ;
5521 PyObject
* obj1
= 0 ;
5523 (char *) "self",(char *) "menu", NULL
5526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5529 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 (arg1
)->RemoveMenu(arg2
);
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5538 Py_INCREF(Py_None
); resultobj
= Py_None
;
5545 static PyObject
*_wrap_FileHistory_Load(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5546 PyObject
*resultobj
;
5547 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5548 wxConfigBase
*arg2
= 0 ;
5549 PyObject
* obj0
= 0 ;
5550 PyObject
* obj1
= 0 ;
5552 (char *) "self",(char *) "config", NULL
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5558 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5559 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5562 PyErr_SetString(PyExc_TypeError
,"null reference");
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 (arg1
)->Load(*arg2
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 Py_INCREF(Py_None
); resultobj
= Py_None
;
5579 static PyObject
*_wrap_FileHistory_Save(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5582 wxConfigBase
*arg2
= 0 ;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5586 (char *) "self",(char *) "config", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5592 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5593 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5596 PyErr_SetString(PyExc_TypeError
,"null reference");
5600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5601 (arg1
)->Save(*arg2
);
5603 wxPyEndAllowThreads(__tstate
);
5604 if (PyErr_Occurred()) SWIG_fail
;
5606 Py_INCREF(Py_None
); resultobj
= Py_None
;
5613 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5615 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5616 PyObject
* obj0
= 0 ;
5618 (char *) "self", NULL
5621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5626 (arg1
)->AddFilesToMenu();
5628 wxPyEndAllowThreads(__tstate
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5631 Py_INCREF(Py_None
); resultobj
= Py_None
;
5638 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5639 PyObject
*resultobj
;
5640 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5641 wxMenu
*arg2
= (wxMenu
*) 0 ;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj1
= 0 ;
5645 (char *) "self",(char *) "menu", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 (arg1
)->AddFilesToMenu(arg2
);
5657 wxPyEndAllowThreads(__tstate
);
5658 if (PyErr_Occurred()) SWIG_fail
;
5660 Py_INCREF(Py_None
); resultobj
= Py_None
;
5667 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5672 PyObject
* obj0
= 0 ;
5673 PyObject
* obj1
= 0 ;
5675 (char *) "self",(char *) "i", NULL
5678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5681 arg2
= (int) SWIG_AsInt(obj1
);
5682 if (PyErr_Occurred()) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5703 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
;
5705 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5707 PyObject
* obj0
= 0 ;
5709 (char *) "self", NULL
5712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5717 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5719 wxPyEndAllowThreads(__tstate
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5722 resultobj
= SWIG_FromInt((int)result
);
5729 static PyObject
* FileHistory_swigregister(PyObject
*self
, PyObject
*args
) {
5731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5732 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5734 return Py_BuildValue((char *)"");
5736 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxString
*arg1
= 0 ;
5739 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5740 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5741 wxSingleInstanceChecker
*result
;
5742 bool temp1
= False
;
5743 bool temp2
= False
;
5744 PyObject
* obj0
= 0 ;
5745 PyObject
* obj1
= 0 ;
5747 (char *) "name",(char *) "path", NULL
5750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5752 arg1
= wxString_in_helper(obj0
);
5753 if (arg1
== NULL
) SWIG_fail
;
5758 arg2
= wxString_in_helper(obj1
);
5759 if (arg2
== NULL
) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5767 wxPyEndAllowThreads(__tstate
);
5768 if (PyErr_Occurred()) SWIG_fail
;
5770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5793 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxSingleInstanceChecker
*result
;
5800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5803 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5805 wxPyEndAllowThreads(__tstate
);
5806 if (PyErr_Occurred()) SWIG_fail
;
5808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5815 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5816 PyObject
*resultobj
;
5817 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "self", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 Py_INCREF(Py_None
); resultobj
= Py_None
;
5840 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5843 wxString
*arg2
= 0 ;
5844 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5845 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5847 bool temp2
= False
;
5848 bool temp3
= False
;
5849 PyObject
* obj0
= 0 ;
5850 PyObject
* obj1
= 0 ;
5851 PyObject
* obj2
= 0 ;
5853 (char *) "self",(char *) "name",(char *) "path", NULL
5856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5860 arg2
= wxString_in_helper(obj1
);
5861 if (arg2
== NULL
) SWIG_fail
;
5866 arg3
= wxString_in_helper(obj2
);
5867 if (arg3
== NULL
) SWIG_fail
;
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5875 wxPyEndAllowThreads(__tstate
);
5876 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5903 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5907 PyObject
* obj0
= 0 ;
5909 (char *) "self", NULL
5912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5917 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5919 wxPyEndAllowThreads(__tstate
);
5920 if (PyErr_Occurred()) SWIG_fail
;
5923 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5931 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*self
, PyObject
*args
) {
5933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5934 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5936 return Py_BuildValue((char *)"");
5938 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5939 PyObject
*resultobj
;
5940 wxWindow
*arg1
= (wxWindow
*) 0 ;
5943 PyObject
* obj0
= 0 ;
5944 PyObject
* obj1
= 0 ;
5945 PyObject
* obj2
= 0 ;
5947 (char *) "window",(char *) "dc",(char *) "method", NULL
5950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5954 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5957 PyErr_SetString(PyExc_TypeError
,"null reference");
5960 arg3
= (int) SWIG_AsInt(obj2
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5969 Py_INCREF(Py_None
); resultobj
= Py_None
;
5976 static PyObject
*_wrap_delete_TipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5977 PyObject
*resultobj
;
5978 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5979 PyObject
* obj0
= 0 ;
5981 (char *) "self", NULL
5984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5991 wxPyEndAllowThreads(__tstate
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5994 Py_INCREF(Py_None
); resultobj
= Py_None
;
6001 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6002 PyObject
*resultobj
;
6003 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6005 PyObject
* obj0
= 0 ;
6007 (char *) "self", NULL
6010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
6011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6015 result
= (arg1
)->GetTip();
6017 wxPyEndAllowThreads(__tstate
);
6018 if (PyErr_Occurred()) SWIG_fail
;
6022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6033 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6034 PyObject
*resultobj
;
6035 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6037 PyObject
* obj0
= 0 ;
6039 (char *) "self", NULL
6042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (size_t)(arg1
)->GetCurrentTip();
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6059 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6060 PyObject
*resultobj
;
6061 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6062 wxString
*arg2
= 0 ;
6064 bool temp2
= False
;
6065 PyObject
* obj0
= 0 ;
6066 PyObject
* obj1
= 0 ;
6068 (char *) "self",(char *) "tip", NULL
6071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6075 arg2
= wxString_in_helper(obj1
);
6076 if (arg2
== NULL
) SWIG_fail
;
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6083 wxPyEndAllowThreads(__tstate
);
6084 if (PyErr_Occurred()) SWIG_fail
;
6088 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6090 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6107 static PyObject
* TipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6110 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6112 return Py_BuildValue((char *)"");
6114 static PyObject
*_wrap_new_PyTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6115 PyObject
*resultobj
;
6117 wxPyTipProvider
*result
;
6118 PyObject
* obj0
= 0 ;
6120 (char *) "currentTip", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6124 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6125 if (PyErr_Occurred()) SWIG_fail
;
6127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6128 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6130 wxPyEndAllowThreads(__tstate
);
6131 if (PyErr_Occurred()) SWIG_fail
;
6133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6140 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6141 PyObject
*resultobj
;
6142 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6143 PyObject
*arg2
= (PyObject
*) 0 ;
6144 PyObject
*arg3
= (PyObject
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6146 PyObject
* obj1
= 0 ;
6147 PyObject
* obj2
= 0 ;
6149 (char *) "self",(char *) "self",(char *) "_class", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6161 wxPyEndAllowThreads(__tstate
);
6162 if (PyErr_Occurred()) SWIG_fail
;
6164 Py_INCREF(Py_None
); resultobj
= Py_None
;
6171 static PyObject
* PyTipProvider_swigregister(PyObject
*self
, PyObject
*args
) {
6173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6174 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6176 return Py_BuildValue((char *)"");
6178 static PyObject
*_wrap_ShowTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6179 PyObject
*resultobj
;
6180 wxWindow
*arg1
= (wxWindow
*) 0 ;
6181 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6182 bool arg3
= (bool) True
;
6184 PyObject
* obj0
= 0 ;
6185 PyObject
* obj1
= 0 ;
6186 PyObject
* obj2
= 0 ;
6188 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6194 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6197 arg3
= (bool) SWIG_AsBool(obj2
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6202 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6204 wxPyEndAllowThreads(__tstate
);
6205 if (PyErr_Occurred()) SWIG_fail
;
6208 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6216 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6217 PyObject
*resultobj
;
6218 wxString
*arg1
= 0 ;
6220 wxTipProvider
*result
;
6221 bool temp1
= False
;
6222 PyObject
* obj0
= 0 ;
6223 PyObject
* obj1
= 0 ;
6225 (char *) "filename",(char *) "currentTip", NULL
6228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6230 arg1
= wxString_in_helper(obj0
);
6231 if (arg1
== NULL
) SWIG_fail
;
6234 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6235 if (PyErr_Occurred()) SWIG_fail
;
6237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6240 wxPyEndAllowThreads(__tstate
);
6241 if (PyErr_Occurred()) SWIG_fail
;
6243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6258 static PyObject
*_wrap_new_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
;
6260 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6261 int arg2
= (int) -1 ;
6263 PyObject
* obj0
= 0 ;
6264 PyObject
* obj1
= 0 ;
6266 (char *) "owner",(char *) "id", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6275 arg2
= (int) SWIG_AsInt(obj1
);
6276 if (PyErr_Occurred()) SWIG_fail
;
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6282 wxPyEndAllowThreads(__tstate
);
6283 if (PyErr_Occurred()) SWIG_fail
;
6285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6292 static PyObject
*_wrap_delete_Timer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6293 PyObject
*resultobj
;
6294 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6295 PyObject
* obj0
= 0 ;
6297 (char *) "self", NULL
6300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 wxPyEndAllowThreads(__tstate
);
6308 if (PyErr_Occurred()) SWIG_fail
;
6310 Py_INCREF(Py_None
); resultobj
= Py_None
;
6317 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6318 PyObject
*resultobj
;
6319 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6320 PyObject
*arg2
= (PyObject
*) 0 ;
6321 PyObject
*arg3
= (PyObject
*) 0 ;
6322 int arg4
= (int) 1 ;
6323 PyObject
* obj0
= 0 ;
6324 PyObject
* obj1
= 0 ;
6325 PyObject
* obj2
= 0 ;
6326 PyObject
* obj3
= 0 ;
6328 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6337 arg4
= (int) SWIG_AsInt(obj3
);
6338 if (PyErr_Occurred()) SWIG_fail
;
6341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6342 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6344 wxPyEndAllowThreads(__tstate
);
6345 if (PyErr_Occurred()) SWIG_fail
;
6347 Py_INCREF(Py_None
); resultobj
= Py_None
;
6354 static PyObject
*_wrap_Timer_SetOwner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6355 PyObject
*resultobj
;
6356 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6357 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6358 int arg3
= (int) -1 ;
6359 PyObject
* obj0
= 0 ;
6360 PyObject
* obj1
= 0 ;
6361 PyObject
* obj2
= 0 ;
6363 (char *) "self",(char *) "owner",(char *) "id", NULL
6366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6372 arg3
= (int) SWIG_AsInt(obj2
);
6373 if (PyErr_Occurred()) SWIG_fail
;
6376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6377 (arg1
)->SetOwner(arg2
,arg3
);
6379 wxPyEndAllowThreads(__tstate
);
6380 if (PyErr_Occurred()) SWIG_fail
;
6382 Py_INCREF(Py_None
); resultobj
= Py_None
;
6389 static PyObject
*_wrap_Timer_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6392 int arg2
= (int) -1 ;
6393 bool arg3
= (bool) False
;
6395 PyObject
* obj0
= 0 ;
6396 PyObject
* obj1
= 0 ;
6397 PyObject
* obj2
= 0 ;
6399 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 arg2
= (int) SWIG_AsInt(obj1
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6410 arg3
= (bool) SWIG_AsBool(obj2
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6429 static PyObject
*_wrap_Timer_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6432 PyObject
* obj0
= 0 ;
6434 (char *) "self", NULL
6437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 Py_INCREF(Py_None
); resultobj
= Py_None
;
6454 static PyObject
*_wrap_Timer_IsRunning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
;
6456 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6458 PyObject
* obj0
= 0 ;
6460 (char *) "self", NULL
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6470 wxPyEndAllowThreads(__tstate
);
6471 if (PyErr_Occurred()) SWIG_fail
;
6474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6482 static PyObject
*_wrap_Timer_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6483 PyObject
*resultobj
;
6484 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6486 PyObject
* obj0
= 0 ;
6488 (char *) "self", NULL
6491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6496 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6501 resultobj
= SWIG_FromInt((int)result
);
6508 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6509 PyObject
*resultobj
;
6510 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6512 PyObject
* obj0
= 0 ;
6514 (char *) "self", NULL
6517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6522 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6524 wxPyEndAllowThreads(__tstate
);
6525 if (PyErr_Occurred()) SWIG_fail
;
6528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6536 static PyObject
*_wrap_Timer_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6537 PyObject
*resultobj
;
6538 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6540 PyObject
* obj0
= 0 ;
6542 (char *) "self", NULL
6545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6550 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_FromInt((int)result
);
6562 static PyObject
* Timer_swigregister(PyObject
*self
, PyObject
*args
) {
6564 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6565 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6567 return Py_BuildValue((char *)"");
6569 static PyObject
*_wrap_new_TimerEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 int arg1
= (int) 0 ;
6572 int arg2
= (int) 0 ;
6573 wxTimerEvent
*result
;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6577 (char *) "timerid",(char *) "interval", NULL
6580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6582 arg1
= (int) SWIG_AsInt(obj0
);
6583 if (PyErr_Occurred()) SWIG_fail
;
6586 arg2
= (int) SWIG_AsInt(obj1
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6593 wxPyEndAllowThreads(__tstate
);
6594 if (PyErr_Occurred()) SWIG_fail
;
6596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6603 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6607 PyObject
* obj0
= 0 ;
6609 (char *) "self", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6617 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6619 wxPyEndAllowThreads(__tstate
);
6620 if (PyErr_Occurred()) SWIG_fail
;
6622 resultobj
= SWIG_FromInt((int)result
);
6629 static PyObject
* TimerEvent_swigregister(PyObject
*self
, PyObject
*args
) {
6631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6632 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6634 return Py_BuildValue((char *)"");
6636 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*self
, PyObject
*args
) {
6637 PyObject
*resultobj
;
6639 wxTimerRunner
*result
;
6640 PyObject
* obj0
= 0 ;
6642 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6644 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6647 PyErr_SetString(PyExc_TypeError
,"null reference");
6651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6652 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6654 wxPyEndAllowThreads(__tstate
);
6655 if (PyErr_Occurred()) SWIG_fail
;
6657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6664 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*self
, PyObject
*args
) {
6665 PyObject
*resultobj
;
6668 bool arg3
= (bool) False
;
6669 wxTimerRunner
*result
;
6670 PyObject
* obj0
= 0 ;
6671 PyObject
* obj1
= 0 ;
6672 PyObject
* obj2
= 0 ;
6674 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6676 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6679 PyErr_SetString(PyExc_TypeError
,"null reference");
6682 arg2
= (int) SWIG_AsInt(obj1
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 arg3
= (bool) SWIG_AsBool(obj2
);
6686 if (PyErr_Occurred()) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6692 wxPyEndAllowThreads(__tstate
);
6693 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6702 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6707 argc
= PyObject_Length(args
);
6708 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6709 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6715 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6723 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6726 if ((argc
>= 2) && (argc
<= 3)) {
6730 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6738 _v
= SWIG_CheckInt(argv
[1]);
6741 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6743 _v
= SWIG_CheckBool(argv
[2]);
6745 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6751 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6756 static PyObject
*_wrap_delete_TimerRunner(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6757 PyObject
*resultobj
;
6758 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6759 PyObject
* obj0
= 0 ;
6761 (char *) "self", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 Py_INCREF(Py_None
); resultobj
= Py_None
;
6781 static PyObject
*_wrap_TimerRunner_Start(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
;
6783 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6785 bool arg3
= (bool) False
;
6786 PyObject
* obj0
= 0 ;
6787 PyObject
* obj1
= 0 ;
6788 PyObject
* obj2
= 0 ;
6790 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6796 arg2
= (int) SWIG_AsInt(obj1
);
6797 if (PyErr_Occurred()) SWIG_fail
;
6799 arg3
= (bool) SWIG_AsBool(obj2
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 (arg1
)->Start(arg2
,arg3
);
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 Py_INCREF(Py_None
); resultobj
= Py_None
;
6816 static PyObject
* TimerRunner_swigregister(PyObject
*self
, PyObject
*args
) {
6818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6819 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6821 return Py_BuildValue((char *)"");
6823 static PyObject
*_wrap_new_Log(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6833 result
= (wxLog
*)new wxLog();
6835 wxPyEndAllowThreads(__tstate
);
6836 if (PyErr_Occurred()) SWIG_fail
;
6838 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6845 static PyObject
*_wrap_Log_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6846 PyObject
*resultobj
;
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (bool)wxLog::IsEnabled();
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6869 static PyObject
*_wrap_Log_EnableLogging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
;
6871 bool arg1
= (bool) True
;
6873 PyObject
* obj0
= 0 ;
6875 (char *) "doIt", NULL
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6880 arg1
= (bool) SWIG_AsBool(obj0
);
6881 if (PyErr_Occurred()) SWIG_fail
;
6884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6885 result
= (bool)wxLog::EnableLogging(arg1
);
6887 wxPyEndAllowThreads(__tstate
);
6888 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6899 static PyObject
*_wrap_Log_OnLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
;
6902 wxChar
*arg2
= (wxChar
*) 0 ;
6904 PyObject
* obj0
= 0 ;
6905 PyObject
* obj1
= 0 ;
6906 PyObject
* obj2
= 0 ;
6908 (char *) "level",(char *) "szString",(char *) "t", NULL
6911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6912 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6914 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6916 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6920 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 Py_INCREF(Py_None
); resultobj
= Py_None
;
6932 static PyObject
*_wrap_Log_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
;
6934 wxLog
*arg1
= (wxLog
*) 0 ;
6935 PyObject
* obj0
= 0 ;
6937 (char *) "self", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 wxPyEndAllowThreads(__tstate
);
6948 if (PyErr_Occurred()) SWIG_fail
;
6950 Py_INCREF(Py_None
); resultobj
= Py_None
;
6957 static PyObject
*_wrap_Log_FlushActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 wxLog::FlushActive();
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 Py_INCREF(Py_None
); resultobj
= Py_None
;
6978 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6979 PyObject
*resultobj
;
6985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (wxLog
*)wxLog::GetActiveTarget();
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7000 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxLog
*arg1
= (wxLog
*) 0 ;
7004 PyObject
* obj0
= 0 ;
7006 (char *) "pLogger", NULL
7009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
7010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7014 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7026 static PyObject
*_wrap_Log_Suspend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
;
7032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7040 Py_INCREF(Py_None
); resultobj
= Py_None
;
7047 static PyObject
*_wrap_Log_Resume(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7048 PyObject
*resultobj
;
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 wxPyEndAllowThreads(__tstate
);
7059 if (PyErr_Occurred()) SWIG_fail
;
7061 Py_INCREF(Py_None
); resultobj
= Py_None
;
7068 static PyObject
*_wrap_Log_SetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7069 PyObject
*resultobj
;
7070 bool arg1
= (bool) True
;
7071 PyObject
* obj0
= 0 ;
7073 (char *) "bVerbose", NULL
7076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7078 arg1
= (bool) SWIG_AsBool(obj0
);
7079 if (PyErr_Occurred()) SWIG_fail
;
7082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7083 wxLog::SetVerbose(arg1
);
7085 wxPyEndAllowThreads(__tstate
);
7086 if (PyErr_Occurred()) SWIG_fail
;
7088 Py_INCREF(Py_None
); resultobj
= Py_None
;
7095 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7096 PyObject
*resultobj
;
7098 PyObject
* obj0
= 0 ;
7100 (char *) "logLevel", NULL
7103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7104 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7105 if (PyErr_Occurred()) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 wxLog::SetLogLevel(arg1
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 Py_INCREF(Py_None
); resultobj
= Py_None
;
7120 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
;
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 wxLog::DontCreateOnDemand();
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 Py_INCREF(Py_None
); resultobj
= Py_None
;
7141 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
;
7144 PyObject
* obj0
= 0 ;
7146 (char *) "ulMask", NULL
7149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7150 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7151 if (PyErr_Occurred()) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 wxLog::SetTraceMask(arg1
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 Py_INCREF(Py_None
); resultobj
= Py_None
;
7166 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7167 PyObject
*resultobj
;
7168 wxString
*arg1
= 0 ;
7169 bool temp1
= False
;
7170 PyObject
* obj0
= 0 ;
7172 (char *) "str", NULL
7175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7177 arg1
= wxString_in_helper(obj0
);
7178 if (arg1
== NULL
) SWIG_fail
;
7182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7183 wxLog::AddTraceMask((wxString
const &)*arg1
);
7185 wxPyEndAllowThreads(__tstate
);
7186 if (PyErr_Occurred()) SWIG_fail
;
7188 Py_INCREF(Py_None
); resultobj
= Py_None
;
7203 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7204 PyObject
*resultobj
;
7205 wxString
*arg1
= 0 ;
7206 bool temp1
= False
;
7207 PyObject
* obj0
= 0 ;
7209 (char *) "str", NULL
7212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7214 arg1
= wxString_in_helper(obj0
);
7215 if (arg1
== NULL
) SWIG_fail
;
7219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7220 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7222 wxPyEndAllowThreads(__tstate
);
7223 if (PyErr_Occurred()) SWIG_fail
;
7225 Py_INCREF(Py_None
); resultobj
= Py_None
;
7240 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7241 PyObject
*resultobj
;
7246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7249 wxLog::ClearTraceMasks();
7251 wxPyEndAllowThreads(__tstate
);
7252 if (PyErr_Occurred()) SWIG_fail
;
7254 Py_INCREF(Py_None
); resultobj
= Py_None
;
7261 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7262 PyObject
*resultobj
;
7263 wxArrayString
*result
;
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7273 result
= (wxArrayString
*) &_result_ref
;
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= wxArrayString2PyList_helper(*result
);
7288 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxChar
*arg1
= (wxChar
*) 0 ;
7291 PyObject
* obj0
= 0 ;
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 wxLog::SetTimestamp((wxChar
const *)arg1
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 Py_INCREF(Py_None
); resultobj
= Py_None
;
7313 static PyObject
*_wrap_Log_GetVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7323 result
= (bool)wxLog::GetVerbose();
7325 wxPyEndAllowThreads(__tstate
);
7326 if (PyErr_Occurred()) SWIG_fail
;
7329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7337 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7347 result
= (wxTraceMask
)wxLog::GetTraceMask();
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7359 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
;
7361 wxChar
*arg1
= (wxChar
*) 0 ;
7363 PyObject
* obj0
= 0 ;
7365 (char *) "mask", NULL
7368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7373 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7375 wxPyEndAllowThreads(__tstate
);
7376 if (PyErr_Occurred()) SWIG_fail
;
7379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7387 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 result
= (wxLogLevel
)wxLog::GetLogLevel();
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7409 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7410 PyObject
*resultobj
;
7416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7419 result
= (wxChar
*)wxLog::GetTimestamp();
7421 wxPyEndAllowThreads(__tstate
);
7422 if (PyErr_Occurred()) SWIG_fail
;
7424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7431 static PyObject
*_wrap_Log_TimeStamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= Log_TimeStamp();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7450 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7459 static PyObject
*_wrap_Log_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7460 PyObject
*resultobj
;
7461 wxLog
*arg1
= (wxLog
*) 0 ;
7462 PyObject
* obj0
= 0 ;
7464 (char *) "self", NULL
7467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7472 wxLog_Destroy(arg1
);
7474 wxPyEndAllowThreads(__tstate
);
7475 if (PyErr_Occurred()) SWIG_fail
;
7477 Py_INCREF(Py_None
); resultobj
= Py_None
;
7484 static PyObject
* Log_swigregister(PyObject
*self
, PyObject
*args
) {
7486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7487 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7489 return Py_BuildValue((char *)"");
7491 static PyObject
*_wrap_new_LogStderr(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7492 PyObject
*resultobj
;
7493 wxLogStderr
*result
;
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7501 result
= (wxLogStderr
*)new wxLogStderr();
7503 wxPyEndAllowThreads(__tstate
);
7504 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7513 static PyObject
* LogStderr_swigregister(PyObject
*self
, PyObject
*args
) {
7515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7516 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7518 return Py_BuildValue((char *)"");
7520 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7521 PyObject
*resultobj
;
7522 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7523 wxLogTextCtrl
*result
;
7524 PyObject
* obj0
= 0 ;
7526 (char *) "pTextCtrl", NULL
7529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7534 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7536 wxPyEndAllowThreads(__tstate
);
7537 if (PyErr_Occurred()) SWIG_fail
;
7539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7546 static PyObject
* LogTextCtrl_swigregister(PyObject
*self
, PyObject
*args
) {
7548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7549 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7551 return Py_BuildValue((char *)"");
7553 static PyObject
*_wrap_new_LogGui(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7563 result
= (wxLogGui
*)new wxLogGui();
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7575 static PyObject
* LogGui_swigregister(PyObject
*self
, PyObject
*args
) {
7577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7578 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7580 return Py_BuildValue((char *)"");
7582 static PyObject
*_wrap_new_LogWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
;
7584 wxFrame
*arg1
= (wxFrame
*) 0 ;
7585 wxString
*arg2
= 0 ;
7586 bool arg3
= (bool) True
;
7587 bool arg4
= (bool) True
;
7588 wxLogWindow
*result
;
7589 bool temp2
= False
;
7590 PyObject
* obj0
= 0 ;
7591 PyObject
* obj1
= 0 ;
7592 PyObject
* obj2
= 0 ;
7593 PyObject
* obj3
= 0 ;
7595 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7602 arg2
= wxString_in_helper(obj1
);
7603 if (arg2
== NULL
) SWIG_fail
;
7607 arg3
= (bool) SWIG_AsBool(obj2
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7611 arg4
= (bool) SWIG_AsBool(obj3
);
7612 if (PyErr_Occurred()) SWIG_fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7636 static PyObject
*_wrap_LogWindow_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
;
7638 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7639 bool arg2
= (bool) True
;
7640 PyObject
* obj0
= 0 ;
7641 PyObject
* obj1
= 0 ;
7643 (char *) "self",(char *) "bShow", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7650 arg2
= (bool) SWIG_AsBool(obj1
);
7651 if (PyErr_Occurred()) SWIG_fail
;
7654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7657 wxPyEndAllowThreads(__tstate
);
7658 if (PyErr_Occurred()) SWIG_fail
;
7660 Py_INCREF(Py_None
); resultobj
= Py_None
;
7667 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7668 PyObject
*resultobj
;
7669 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7671 PyObject
* obj0
= 0 ;
7673 (char *) "self", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7683 wxPyEndAllowThreads(__tstate
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7687 resultobj
= wxPyMake_wxObject(result
);
7695 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7696 PyObject
*resultobj
;
7697 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7699 PyObject
* obj0
= 0 ;
7701 (char *) "self", NULL
7704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7711 wxPyEndAllowThreads(__tstate
);
7712 if (PyErr_Occurred()) SWIG_fail
;
7714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7721 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7722 PyObject
*resultobj
;
7723 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7725 PyObject
* obj0
= 0 ;
7727 (char *) "self", NULL
7730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7749 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7753 PyObject
* obj0
= 0 ;
7754 PyObject
* obj1
= 0 ;
7756 (char *) "self",(char *) "bDoPass", NULL
7759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7762 arg2
= (bool) SWIG_AsBool(obj1
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7766 (arg1
)->PassMessages(arg2
);
7768 wxPyEndAllowThreads(__tstate
);
7769 if (PyErr_Occurred()) SWIG_fail
;
7771 Py_INCREF(Py_None
); resultobj
= Py_None
;
7778 static PyObject
* LogWindow_swigregister(PyObject
*self
, PyObject
*args
) {
7780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7781 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7783 return Py_BuildValue((char *)"");
7785 static PyObject
*_wrap_new_LogChain(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7787 wxLog
*arg1
= (wxLog
*) 0 ;
7789 PyObject
* obj0
= 0 ;
7791 (char *) "logger", NULL
7794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (wxLogChain
*)new wxLogChain(arg1
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7811 static PyObject
*_wrap_LogChain_SetLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7814 wxLog
*arg2
= (wxLog
*) 0 ;
7815 PyObject
* obj0
= 0 ;
7816 PyObject
* obj1
= 0 ;
7818 (char *) "self",(char *) "logger", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 (arg1
)->SetLog(arg2
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7833 Py_INCREF(Py_None
); resultobj
= Py_None
;
7840 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7841 PyObject
*resultobj
;
7842 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7844 PyObject
* obj0
= 0 ;
7845 PyObject
* obj1
= 0 ;
7847 (char *) "self",(char *) "bDoPass", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7853 arg2
= (bool) SWIG_AsBool(obj1
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7857 (arg1
)->PassMessages(arg2
);
7859 wxPyEndAllowThreads(__tstate
);
7860 if (PyErr_Occurred()) SWIG_fail
;
7862 Py_INCREF(Py_None
); resultobj
= Py_None
;
7869 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7873 PyObject
* obj0
= 0 ;
7875 (char *) "self", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (bool)(arg1
)->IsPassingMessages();
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7897 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7898 PyObject
*resultobj
;
7899 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7901 PyObject
* obj0
= 0 ;
7903 (char *) "self", NULL
7906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7911 result
= (wxLog
*)(arg1
)->GetOldLog();
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7923 static PyObject
* LogChain_swigregister(PyObject
*self
, PyObject
*args
) {
7925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7926 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7928 return Py_BuildValue((char *)"");
7930 static PyObject
*_wrap_SysErrorCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7931 PyObject
*resultobj
;
7932 unsigned long result
;
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 result
= (unsigned long)wxSysErrorCode();
7942 wxPyEndAllowThreads(__tstate
);
7943 if (PyErr_Occurred()) SWIG_fail
;
7945 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7952 static PyObject
*_wrap_SysErrorMsg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 unsigned long arg1
= (unsigned long) 0 ;
7956 PyObject
* obj0
= 0 ;
7958 (char *) "nErrCode", NULL
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7963 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7964 if (PyErr_Occurred()) SWIG_fail
;
7967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7968 result
= wxSysErrorMsg(arg1
);
7970 wxPyEndAllowThreads(__tstate
);
7971 if (PyErr_Occurred()) SWIG_fail
;
7975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7986 static PyObject
*_wrap_LogFatalError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7987 PyObject
*resultobj
;
7988 wxString
*arg1
= 0 ;
7989 bool temp1
= False
;
7990 PyObject
* obj0
= 0 ;
7992 (char *) "msg", NULL
7995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7997 arg1
= wxString_in_helper(obj0
);
7998 if (arg1
== NULL
) SWIG_fail
;
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 wxLogFatalError((wxString
const &)*arg1
);
8005 wxPyEndAllowThreads(__tstate
);
8006 if (PyErr_Occurred()) SWIG_fail
;
8008 Py_INCREF(Py_None
); resultobj
= Py_None
;
8023 static PyObject
*_wrap_LogError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8024 PyObject
*resultobj
;
8025 wxString
*arg1
= 0 ;
8026 bool temp1
= False
;
8027 PyObject
* obj0
= 0 ;
8029 (char *) "msg", NULL
8032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
8034 arg1
= wxString_in_helper(obj0
);
8035 if (arg1
== NULL
) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 wxLogError((wxString
const &)*arg1
);
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8045 Py_INCREF(Py_None
); resultobj
= Py_None
;
8060 static PyObject
*_wrap_LogWarning(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxString
*arg1
= 0 ;
8063 bool temp1
= False
;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "msg", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8071 arg1
= wxString_in_helper(obj0
);
8072 if (arg1
== NULL
) SWIG_fail
;
8076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8077 wxLogWarning((wxString
const &)*arg1
);
8079 wxPyEndAllowThreads(__tstate
);
8080 if (PyErr_Occurred()) SWIG_fail
;
8082 Py_INCREF(Py_None
); resultobj
= Py_None
;
8097 static PyObject
*_wrap_LogMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxString
*arg1
= 0 ;
8100 bool temp1
= False
;
8101 PyObject
* obj0
= 0 ;
8103 (char *) "msg", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8108 arg1
= wxString_in_helper(obj0
);
8109 if (arg1
== NULL
) SWIG_fail
;
8113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8114 wxLogMessage((wxString
const &)*arg1
);
8116 wxPyEndAllowThreads(__tstate
);
8117 if (PyErr_Occurred()) SWIG_fail
;
8119 Py_INCREF(Py_None
); resultobj
= Py_None
;
8134 static PyObject
*_wrap_LogInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
;
8136 wxString
*arg1
= 0 ;
8137 bool temp1
= False
;
8138 PyObject
* obj0
= 0 ;
8140 (char *) "msg", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8145 arg1
= wxString_in_helper(obj0
);
8146 if (arg1
== NULL
) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 wxLogInfo((wxString
const &)*arg1
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 Py_INCREF(Py_None
); resultobj
= Py_None
;
8171 static PyObject
*_wrap_LogDebug(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxString
*arg1
= 0 ;
8174 bool temp1
= False
;
8175 PyObject
* obj0
= 0 ;
8177 (char *) "msg", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8182 arg1
= wxString_in_helper(obj0
);
8183 if (arg1
== NULL
) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 wxLogDebug((wxString
const &)*arg1
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 Py_INCREF(Py_None
); resultobj
= Py_None
;
8208 static PyObject
*_wrap_LogVerbose(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxString
*arg1
= 0 ;
8211 bool temp1
= False
;
8212 PyObject
* obj0
= 0 ;
8214 (char *) "msg", NULL
8217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8219 arg1
= wxString_in_helper(obj0
);
8220 if (arg1
== NULL
) SWIG_fail
;
8224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8225 wxLogVerbose((wxString
const &)*arg1
);
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 Py_INCREF(Py_None
); resultobj
= Py_None
;
8245 static PyObject
*_wrap_LogStatus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8246 PyObject
*resultobj
;
8247 wxString
*arg1
= 0 ;
8248 bool temp1
= False
;
8249 PyObject
* obj0
= 0 ;
8251 (char *) "msg", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8256 arg1
= wxString_in_helper(obj0
);
8257 if (arg1
== NULL
) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 wxLogStatus((wxString
const &)*arg1
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 Py_INCREF(Py_None
); resultobj
= Py_None
;
8282 static PyObject
*_wrap_LogStatusFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxFrame
*arg1
= (wxFrame
*) 0 ;
8285 wxString
*arg2
= 0 ;
8286 bool temp2
= False
;
8287 PyObject
* obj0
= 0 ;
8288 PyObject
* obj1
= 0 ;
8290 (char *) "pFrame",(char *) "msg", NULL
8293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8297 arg2
= wxString_in_helper(obj1
);
8298 if (arg2
== NULL
) SWIG_fail
;
8302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8303 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8305 wxPyEndAllowThreads(__tstate
);
8306 if (PyErr_Occurred()) SWIG_fail
;
8308 Py_INCREF(Py_None
); resultobj
= Py_None
;
8323 static PyObject
*_wrap_LogSysError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxString
*arg1
= 0 ;
8326 bool temp1
= False
;
8327 PyObject
* obj0
= 0 ;
8329 (char *) "msg", NULL
8332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8334 arg1
= wxString_in_helper(obj0
);
8335 if (arg1
== NULL
) SWIG_fail
;
8339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8340 wxLogSysError((wxString
const &)*arg1
);
8342 wxPyEndAllowThreads(__tstate
);
8343 if (PyErr_Occurred()) SWIG_fail
;
8345 Py_INCREF(Py_None
); resultobj
= Py_None
;
8360 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*self
, PyObject
*args
) {
8361 PyObject
*resultobj
;
8362 unsigned long arg1
;
8363 wxString
*arg2
= 0 ;
8364 bool temp2
= False
;
8365 PyObject
* obj0
= 0 ;
8366 PyObject
* obj1
= 0 ;
8368 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8369 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 arg2
= wxString_in_helper(obj1
);
8373 if (arg2
== NULL
) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 Py_INCREF(Py_None
); resultobj
= Py_None
;
8398 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*self
, PyObject
*args
) {
8399 PyObject
*resultobj
;
8400 wxString
*arg1
= 0 ;
8401 wxString
*arg2
= 0 ;
8402 bool temp1
= False
;
8403 bool temp2
= False
;
8404 PyObject
* obj0
= 0 ;
8405 PyObject
* obj1
= 0 ;
8407 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8409 arg1
= wxString_in_helper(obj0
);
8410 if (arg1
== NULL
) SWIG_fail
;
8414 arg2
= wxString_in_helper(obj1
);
8415 if (arg2
== NULL
) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8425 Py_INCREF(Py_None
); resultobj
= Py_None
;
8448 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8453 argc
= PyObject_Length(args
);
8454 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8455 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8460 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8464 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8467 return _wrap_LogTrace__SWIG_1(self
,args
);
8473 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8476 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8479 return _wrap_LogTrace__SWIG_0(self
,args
);
8484 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8489 static PyObject
*_wrap_LogGeneric(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 unsigned long arg1
;
8492 wxString
*arg2
= 0 ;
8493 bool temp2
= False
;
8494 PyObject
* obj0
= 0 ;
8495 PyObject
* obj1
= 0 ;
8497 (char *) "level",(char *) "msg", NULL
8500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8501 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8502 if (PyErr_Occurred()) SWIG_fail
;
8504 arg2
= wxString_in_helper(obj1
);
8505 if (arg2
== NULL
) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 Py_INCREF(Py_None
); resultobj
= Py_None
;
8530 static PyObject
*_wrap_SafeShowMessage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8531 PyObject
*resultobj
;
8532 wxString
*arg1
= 0 ;
8533 wxString
*arg2
= 0 ;
8534 bool temp1
= False
;
8535 bool temp2
= False
;
8536 PyObject
* obj0
= 0 ;
8537 PyObject
* obj1
= 0 ;
8539 (char *) "title",(char *) "text", NULL
8542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8544 arg1
= wxString_in_helper(obj0
);
8545 if (arg1
== NULL
) SWIG_fail
;
8549 arg2
= wxString_in_helper(obj1
);
8550 if (arg2
== NULL
) SWIG_fail
;
8554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8555 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8557 wxPyEndAllowThreads(__tstate
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8560 Py_INCREF(Py_None
); resultobj
= Py_None
;
8583 static PyObject
*_wrap_new_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8584 PyObject
*resultobj
;
8590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8593 result
= (wxLogNull
*)new wxLogNull();
8595 wxPyEndAllowThreads(__tstate
);
8596 if (PyErr_Occurred()) SWIG_fail
;
8598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8605 static PyObject
*_wrap_delete_LogNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8606 PyObject
*resultobj
;
8607 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "self", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 wxPyEndAllowThreads(__tstate
);
8621 if (PyErr_Occurred()) SWIG_fail
;
8623 Py_INCREF(Py_None
); resultobj
= Py_None
;
8630 static PyObject
* LogNull_swigregister(PyObject
*self
, PyObject
*args
) {
8632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8633 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8635 return Py_BuildValue((char *)"");
8637 static PyObject
*_wrap_new_PyLog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8638 PyObject
*resultobj
;
8644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8647 result
= (wxPyLog
*)new wxPyLog();
8649 wxPyEndAllowThreads(__tstate
);
8650 if (PyErr_Occurred()) SWIG_fail
;
8652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8659 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8660 PyObject
*resultobj
;
8661 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8662 PyObject
*arg2
= (PyObject
*) 0 ;
8663 PyObject
*arg3
= (PyObject
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8666 PyObject
* obj2
= 0 ;
8668 (char *) "self",(char *) "self",(char *) "_class", NULL
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8680 wxPyEndAllowThreads(__tstate
);
8681 if (PyErr_Occurred()) SWIG_fail
;
8683 Py_INCREF(Py_None
); resultobj
= Py_None
;
8690 static PyObject
* PyLog_swigregister(PyObject
*self
, PyObject
*args
) {
8692 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8693 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8695 return Py_BuildValue((char *)"");
8697 static PyObject
*_wrap_Process_Kill(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8698 PyObject
*resultobj
;
8700 int arg2
= (int) wxSIGTERM
;
8702 PyObject
* obj0
= 0 ;
8703 PyObject
* obj1
= 0 ;
8705 (char *) "pid",(char *) "sig", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8709 arg1
= (int) SWIG_AsInt(obj0
);
8710 if (PyErr_Occurred()) SWIG_fail
;
8712 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8713 if (PyErr_Occurred()) SWIG_fail
;
8716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8717 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8719 wxPyEndAllowThreads(__tstate
);
8720 if (PyErr_Occurred()) SWIG_fail
;
8722 resultobj
= SWIG_FromInt((int)result
);
8729 static PyObject
*_wrap_Process_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8730 PyObject
*resultobj
;
8733 PyObject
* obj0
= 0 ;
8735 (char *) "pid", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8739 arg1
= (int) SWIG_AsInt(obj0
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8743 result
= (bool)wxPyProcess::Exists(arg1
);
8745 wxPyEndAllowThreads(__tstate
);
8746 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8757 static PyObject
*_wrap_Process_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxString
*arg1
= 0 ;
8760 int arg2
= (int) wxEXEC_ASYNC
;
8761 wxPyProcess
*result
;
8762 bool temp1
= False
;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8766 (char *) "cmd",(char *) "flags", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8771 arg1
= wxString_in_helper(obj0
);
8772 if (arg1
== NULL
) SWIG_fail
;
8776 arg2
= (int) SWIG_AsInt(obj1
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8781 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8783 wxPyEndAllowThreads(__tstate
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8801 static PyObject
*_wrap_new_Process(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
;
8803 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8804 int arg2
= (int) -1 ;
8805 wxPyProcess
*result
;
8806 PyObject
* obj0
= 0 ;
8807 PyObject
* obj1
= 0 ;
8809 (char *) "parent",(char *) "id", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8818 arg2
= (int) SWIG_AsInt(obj1
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8823 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8835 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8836 PyObject
*resultobj
;
8837 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8838 PyObject
*arg2
= (PyObject
*) 0 ;
8839 PyObject
*arg3
= (PyObject
*) 0 ;
8840 PyObject
* obj0
= 0 ;
8841 PyObject
* obj1
= 0 ;
8842 PyObject
* obj2
= 0 ;
8844 (char *) "self",(char *) "self",(char *) "_class", NULL
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8854 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8856 wxPyEndAllowThreads(__tstate
);
8857 if (PyErr_Occurred()) SWIG_fail
;
8859 Py_INCREF(Py_None
); resultobj
= Py_None
;
8866 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8867 PyObject
*resultobj
;
8868 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8871 PyObject
* obj0
= 0 ;
8872 PyObject
* obj1
= 0 ;
8873 PyObject
* obj2
= 0 ;
8875 (char *) "self",(char *) "pid",(char *) "status", NULL
8878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8881 arg2
= (int) SWIG_AsInt(obj1
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8883 arg3
= (int) SWIG_AsInt(obj2
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8887 (arg1
)->base_OnTerminate(arg2
,arg3
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 Py_INCREF(Py_None
); resultobj
= Py_None
;
8899 static PyObject
*_wrap_Process_Redirect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8900 PyObject
*resultobj
;
8901 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8902 PyObject
* obj0
= 0 ;
8904 (char *) "self", NULL
8907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 wxPyEndAllowThreads(__tstate
);
8915 if (PyErr_Occurred()) SWIG_fail
;
8917 Py_INCREF(Py_None
); resultobj
= Py_None
;
8924 static PyObject
*_wrap_Process_IsRedirected(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8925 PyObject
*resultobj
;
8926 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8928 PyObject
* obj0
= 0 ;
8930 (char *) "self", NULL
8933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (bool)(arg1
)->IsRedirected();
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8952 static PyObject
*_wrap_Process_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8953 PyObject
*resultobj
;
8954 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8955 PyObject
* obj0
= 0 ;
8957 (char *) "self", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 Py_INCREF(Py_None
); resultobj
= Py_None
;
8977 static PyObject
*_wrap_Process_GetInputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
;
8979 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8980 wxInputStream
*result
;
8981 PyObject
* obj0
= 0 ;
8983 (char *) "self", NULL
8986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8991 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8997 wxPyInputStream
* _ptr
= NULL
;
9000 _ptr
= new wxPyInputStream(result
);
9002 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9010 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9011 PyObject
*resultobj
;
9012 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9013 wxInputStream
*result
;
9014 PyObject
* obj0
= 0 ;
9016 (char *) "self", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9030 wxPyInputStream
* _ptr
= NULL
;
9033 _ptr
= new wxPyInputStream(result
);
9035 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
9043 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9046 wxOutputStream
*result
;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "self", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9057 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9069 static PyObject
*_wrap_Process_CloseOutput(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9070 PyObject
*resultobj
;
9071 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9072 PyObject
* obj0
= 0 ;
9074 (char *) "self", NULL
9077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9082 (arg1
)->CloseOutput();
9084 wxPyEndAllowThreads(__tstate
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9087 Py_INCREF(Py_None
); resultobj
= Py_None
;
9094 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9095 PyObject
*resultobj
;
9096 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9098 PyObject
* obj0
= 0 ;
9100 (char *) "self", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9108 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9110 wxPyEndAllowThreads(__tstate
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9122 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9123 PyObject
*resultobj
;
9124 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9126 PyObject
* obj0
= 0 ;
9128 (char *) "self", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9150 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9156 (char *) "self", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9178 static PyObject
* Process_swigregister(PyObject
*self
, PyObject
*args
) {
9180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9181 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9183 return Py_BuildValue((char *)"");
9185 static PyObject
*_wrap_new_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9186 PyObject
*resultobj
;
9187 int arg1
= (int) 0 ;
9188 int arg2
= (int) 0 ;
9189 int arg3
= (int) 0 ;
9190 wxProcessEvent
*result
;
9191 PyObject
* obj0
= 0 ;
9192 PyObject
* obj1
= 0 ;
9193 PyObject
* obj2
= 0 ;
9195 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9200 arg1
= (int) SWIG_AsInt(obj0
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9204 arg2
= (int) SWIG_AsInt(obj1
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9208 arg3
= (int) SWIG_AsInt(obj2
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9213 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9215 wxPyEndAllowThreads(__tstate
);
9216 if (PyErr_Occurred()) SWIG_fail
;
9218 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9225 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9226 PyObject
*resultobj
;
9227 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9229 PyObject
* obj0
= 0 ;
9231 (char *) "self", NULL
9234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9239 result
= (int)(arg1
)->GetPid();
9241 wxPyEndAllowThreads(__tstate
);
9242 if (PyErr_Occurred()) SWIG_fail
;
9244 resultobj
= SWIG_FromInt((int)result
);
9251 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9253 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9255 PyObject
* obj0
= 0 ;
9257 (char *) "self", NULL
9260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9265 result
= (int)(arg1
)->GetExitCode();
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_FromInt((int)result
);
9277 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
;
9279 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9281 PyObject
* obj0
= 0 ;
9282 PyObject
* obj1
= 0 ;
9284 (char *) "self",(char *) "m_pid", NULL
9287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9290 arg2
= (int) SWIG_AsInt(obj1
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9292 if (arg1
) (arg1
)->m_pid
= arg2
;
9294 Py_INCREF(Py_None
); resultobj
= Py_None
;
9301 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "self", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9313 result
= (int) ((arg1
)->m_pid
);
9315 resultobj
= SWIG_FromInt((int)result
);
9322 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9323 PyObject
*resultobj
;
9324 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9326 PyObject
* obj0
= 0 ;
9327 PyObject
* obj1
= 0 ;
9329 (char *) "self",(char *) "m_exitcode", NULL
9332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 arg2
= (int) SWIG_AsInt(obj1
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9337 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9339 Py_INCREF(Py_None
); resultobj
= Py_None
;
9346 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
;
9348 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9350 PyObject
* obj0
= 0 ;
9352 (char *) "self", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9358 result
= (int) ((arg1
)->m_exitcode
);
9360 resultobj
= SWIG_FromInt((int)result
);
9367 static PyObject
* ProcessEvent_swigregister(PyObject
*self
, PyObject
*args
) {
9369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9370 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9372 return Py_BuildValue((char *)"");
9374 static PyObject
*_wrap_Execute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxString
*arg1
= 0 ;
9377 int arg2
= (int) wxEXEC_ASYNC
;
9378 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9380 bool temp1
= False
;
9381 PyObject
* obj0
= 0 ;
9382 PyObject
* obj1
= 0 ;
9383 PyObject
* obj2
= 0 ;
9385 (char *) "command",(char *) "flags",(char *) "process", NULL
9388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9390 arg1
= wxString_in_helper(obj0
);
9391 if (arg1
== NULL
) SWIG_fail
;
9395 arg2
= (int) SWIG_AsInt(obj1
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9399 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= SWIG_FromLong((long)result
);
9424 static PyObject
*_wrap_new_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 int arg1
= (int) wxJOYSTICK1
;
9428 PyObject
* obj0
= 0 ;
9430 (char *) "joystick", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9435 arg1
= (int) SWIG_AsInt(obj0
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (wxJoystick
*)new wxJoystick(arg1
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9452 static PyObject
*_wrap_delete_Joystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9453 PyObject
*resultobj
;
9454 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9455 PyObject
* obj0
= 0 ;
9457 (char *) "self", NULL
9460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9467 wxPyEndAllowThreads(__tstate
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9470 Py_INCREF(Py_None
); resultobj
= Py_None
;
9477 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9478 PyObject
*resultobj
;
9479 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9481 PyObject
* obj0
= 0 ;
9483 (char *) "self", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9491 result
= (arg1
)->GetPosition();
9493 wxPyEndAllowThreads(__tstate
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9497 wxPoint
* resultptr
;
9498 resultptr
= new wxPoint((wxPoint
&) result
);
9499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9507 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9511 PyObject
* obj0
= 0 ;
9513 (char *) "self", NULL
9516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9521 result
= (int)(arg1
)->GetZPosition();
9523 wxPyEndAllowThreads(__tstate
);
9524 if (PyErr_Occurred()) SWIG_fail
;
9526 resultobj
= SWIG_FromInt((int)result
);
9533 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9534 PyObject
*resultobj
;
9535 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9537 PyObject
* obj0
= 0 ;
9539 (char *) "self", NULL
9542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (int)(arg1
)->GetButtonState();
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= SWIG_FromInt((int)result
);
9559 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9560 PyObject
*resultobj
;
9561 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9563 PyObject
* obj0
= 0 ;
9565 (char *) "self", NULL
9568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (int)(arg1
)->GetPOVPosition();
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= SWIG_FromInt((int)result
);
9585 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9589 PyObject
* obj0
= 0 ;
9591 (char *) "self", NULL
9594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (int)(arg1
)->GetPOVCTSPosition();
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9604 resultobj
= SWIG_FromInt((int)result
);
9611 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9612 PyObject
*resultobj
;
9613 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9615 PyObject
* obj0
= 0 ;
9617 (char *) "self", NULL
9620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (int)(arg1
)->GetRudderPosition();
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= SWIG_FromInt((int)result
);
9637 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9638 PyObject
*resultobj
;
9639 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9641 PyObject
* obj0
= 0 ;
9643 (char *) "self", NULL
9646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9651 result
= (int)(arg1
)->GetUPosition();
9653 wxPyEndAllowThreads(__tstate
);
9654 if (PyErr_Occurred()) SWIG_fail
;
9656 resultobj
= SWIG_FromInt((int)result
);
9663 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9664 PyObject
*resultobj
;
9665 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9667 PyObject
* obj0
= 0 ;
9669 (char *) "self", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9677 result
= (int)(arg1
)->GetVPosition();
9679 wxPyEndAllowThreads(__tstate
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9682 resultobj
= SWIG_FromInt((int)result
);
9689 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9693 PyObject
* obj0
= 0 ;
9695 (char *) "self", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 result
= (int)(arg1
)->GetMovementThreshold();
9705 wxPyEndAllowThreads(__tstate
);
9706 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= SWIG_FromInt((int)result
);
9715 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9717 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9719 PyObject
* obj0
= 0 ;
9720 PyObject
* obj1
= 0 ;
9722 (char *) "self",(char *) "threshold", NULL
9725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9728 arg2
= (int) SWIG_AsInt(obj1
);
9729 if (PyErr_Occurred()) SWIG_fail
;
9731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9732 (arg1
)->SetMovementThreshold(arg2
);
9734 wxPyEndAllowThreads(__tstate
);
9735 if (PyErr_Occurred()) SWIG_fail
;
9737 Py_INCREF(Py_None
); resultobj
= Py_None
;
9744 static PyObject
*_wrap_Joystick_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9745 PyObject
*resultobj
;
9746 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9748 PyObject
* obj0
= 0 ;
9750 (char *) "self", NULL
9753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9758 result
= (bool)(arg1
)->IsOk();
9760 wxPyEndAllowThreads(__tstate
);
9761 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9772 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9778 (char *) "self", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= (int)(arg1
)->GetNumberJoysticks();
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9791 resultobj
= SWIG_FromInt((int)result
);
9798 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9799 PyObject
*resultobj
;
9800 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9804 (char *) "self", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9812 result
= (int)(arg1
)->GetManufacturerId();
9814 wxPyEndAllowThreads(__tstate
);
9815 if (PyErr_Occurred()) SWIG_fail
;
9817 resultobj
= SWIG_FromInt((int)result
);
9824 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9825 PyObject
*resultobj
;
9826 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9828 PyObject
* obj0
= 0 ;
9830 (char *) "self", NULL
9833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (int)(arg1
)->GetProductId();
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9843 resultobj
= SWIG_FromInt((int)result
);
9850 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9851 PyObject
*resultobj
;
9852 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9854 PyObject
* obj0
= 0 ;
9856 (char *) "self", NULL
9859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9864 result
= (arg1
)->GetProductName();
9866 wxPyEndAllowThreads(__tstate
);
9867 if (PyErr_Occurred()) SWIG_fail
;
9871 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9873 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9882 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9883 PyObject
*resultobj
;
9884 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9886 PyObject
* obj0
= 0 ;
9888 (char *) "self", NULL
9891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (int)(arg1
)->GetXMin();
9898 wxPyEndAllowThreads(__tstate
);
9899 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= SWIG_FromInt((int)result
);
9908 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9909 PyObject
*resultobj
;
9910 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9914 (char *) "self", NULL
9917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9922 result
= (int)(arg1
)->GetYMin();
9924 wxPyEndAllowThreads(__tstate
);
9925 if (PyErr_Occurred()) SWIG_fail
;
9927 resultobj
= SWIG_FromInt((int)result
);
9934 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
;
9936 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9938 PyObject
* obj0
= 0 ;
9940 (char *) "self", NULL
9943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 result
= (int)(arg1
)->GetZMin();
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 resultobj
= SWIG_FromInt((int)result
);
9960 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9961 PyObject
*resultobj
;
9962 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9966 (char *) "self", NULL
9969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9974 result
= (int)(arg1
)->GetXMax();
9976 wxPyEndAllowThreads(__tstate
);
9977 if (PyErr_Occurred()) SWIG_fail
;
9979 resultobj
= SWIG_FromInt((int)result
);
9986 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9987 PyObject
*resultobj
;
9988 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9990 PyObject
* obj0
= 0 ;
9992 (char *) "self", NULL
9995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10000 result
= (int)(arg1
)->GetYMax();
10002 wxPyEndAllowThreads(__tstate
);
10003 if (PyErr_Occurred()) SWIG_fail
;
10005 resultobj
= SWIG_FromInt((int)result
);
10012 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10013 PyObject
*resultobj
;
10014 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10016 PyObject
* obj0
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10026 result
= (int)(arg1
)->GetZMax();
10028 wxPyEndAllowThreads(__tstate
);
10029 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= SWIG_FromInt((int)result
);
10038 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10039 PyObject
*resultobj
;
10040 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10042 PyObject
* obj0
= 0 ;
10043 char *kwnames
[] = {
10044 (char *) "self", NULL
10047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
10048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (int)(arg1
)->GetNumberButtons();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= SWIG_FromInt((int)result
);
10064 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10065 PyObject
*resultobj
;
10066 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10068 PyObject
* obj0
= 0 ;
10069 char *kwnames
[] = {
10070 (char *) "self", NULL
10073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10078 result
= (int)(arg1
)->GetNumberAxes();
10080 wxPyEndAllowThreads(__tstate
);
10081 if (PyErr_Occurred()) SWIG_fail
;
10083 resultobj
= SWIG_FromInt((int)result
);
10090 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10091 PyObject
*resultobj
;
10092 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10094 PyObject
* obj0
= 0 ;
10095 char *kwnames
[] = {
10096 (char *) "self", NULL
10099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10104 result
= (int)(arg1
)->GetMaxButtons();
10106 wxPyEndAllowThreads(__tstate
);
10107 if (PyErr_Occurred()) SWIG_fail
;
10109 resultobj
= SWIG_FromInt((int)result
);
10116 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10120 PyObject
* obj0
= 0 ;
10121 char *kwnames
[] = {
10122 (char *) "self", NULL
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (int)(arg1
)->GetMaxAxes();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_FromInt((int)result
);
10142 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10143 PyObject
*resultobj
;
10144 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10146 PyObject
* obj0
= 0 ;
10147 char *kwnames
[] = {
10148 (char *) "self", NULL
10151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10156 result
= (int)(arg1
)->GetPollingMin();
10158 wxPyEndAllowThreads(__tstate
);
10159 if (PyErr_Occurred()) SWIG_fail
;
10161 resultobj
= SWIG_FromInt((int)result
);
10168 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10172 PyObject
* obj0
= 0 ;
10173 char *kwnames
[] = {
10174 (char *) "self", NULL
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= (int)(arg1
)->GetPollingMax();
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10187 resultobj
= SWIG_FromInt((int)result
);
10194 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10195 PyObject
*resultobj
;
10196 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10198 PyObject
* obj0
= 0 ;
10199 char *kwnames
[] = {
10200 (char *) "self", NULL
10203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 result
= (int)(arg1
)->GetRudderMin();
10210 wxPyEndAllowThreads(__tstate
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10213 resultobj
= SWIG_FromInt((int)result
);
10220 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10224 PyObject
* obj0
= 0 ;
10225 char *kwnames
[] = {
10226 (char *) "self", NULL
10229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10234 result
= (int)(arg1
)->GetRudderMax();
10236 wxPyEndAllowThreads(__tstate
);
10237 if (PyErr_Occurred()) SWIG_fail
;
10239 resultobj
= SWIG_FromInt((int)result
);
10246 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10247 PyObject
*resultobj
;
10248 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10250 PyObject
* obj0
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10260 result
= (int)(arg1
)->GetUMin();
10262 wxPyEndAllowThreads(__tstate
);
10263 if (PyErr_Occurred()) SWIG_fail
;
10265 resultobj
= SWIG_FromInt((int)result
);
10272 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10273 PyObject
*resultobj
;
10274 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10276 PyObject
* obj0
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "self", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10286 result
= (int)(arg1
)->GetUMax();
10288 wxPyEndAllowThreads(__tstate
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 resultobj
= SWIG_FromInt((int)result
);
10298 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10302 PyObject
* obj0
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10312 result
= (int)(arg1
)->GetVMin();
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_FromInt((int)result
);
10324 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10325 PyObject
*resultobj
;
10326 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10328 PyObject
* obj0
= 0 ;
10329 char *kwnames
[] = {
10330 (char *) "self", NULL
10333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (int)(arg1
)->GetVMax();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 resultobj
= SWIG_FromInt((int)result
);
10350 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (bool)(arg1
)->HasRudder();
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10378 static PyObject
*_wrap_Joystick_HasZ(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
;
10380 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10382 PyObject
* obj0
= 0 ;
10383 char *kwnames
[] = {
10384 (char *) "self", NULL
10387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= (bool)(arg1
)->HasZ();
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10406 static PyObject
*_wrap_Joystick_HasU(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10410 PyObject
* obj0
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "self", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10420 result
= (bool)(arg1
)->HasU();
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10434 static PyObject
*_wrap_Joystick_HasV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10435 PyObject
*resultobj
;
10436 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10438 PyObject
* obj0
= 0 ;
10439 char *kwnames
[] = {
10440 (char *) "self", NULL
10443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (bool)(arg1
)->HasV();
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10462 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10466 PyObject
* obj0
= 0 ;
10467 char *kwnames
[] = {
10468 (char *) "self", NULL
10471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= (bool)(arg1
)->HasPOV();
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10490 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10494 PyObject
* obj0
= 0 ;
10495 char *kwnames
[] = {
10496 (char *) "self", NULL
10499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10504 result
= (bool)(arg1
)->HasPOV4Dir();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10518 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10519 PyObject
*resultobj
;
10520 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10522 PyObject
* obj0
= 0 ;
10523 char *kwnames
[] = {
10524 (char *) "self", NULL
10527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (bool)(arg1
)->HasPOVCTS();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10546 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10547 PyObject
*resultobj
;
10548 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10549 wxWindow
*arg2
= (wxWindow
*) 0 ;
10550 int arg3
= (int) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 PyObject
* obj2
= 0 ;
10555 char *kwnames
[] = {
10556 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10565 arg3
= (int) SWIG_AsInt(obj2
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10572 wxPyEndAllowThreads(__tstate
);
10573 if (PyErr_Occurred()) SWIG_fail
;
10576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10584 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10585 PyObject
*resultobj
;
10586 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10588 PyObject
* obj0
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "self", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 result
= (bool)(arg1
)->ReleaseCapture();
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10612 static PyObject
* Joystick_swigregister(PyObject
*self
, PyObject
*args
) {
10614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10615 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10617 return Py_BuildValue((char *)"");
10619 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10620 PyObject
*resultobj
;
10621 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10622 wxPoint
*arg2
= (wxPoint
*) 0 ;
10623 PyObject
* obj0
= 0 ;
10624 PyObject
* obj1
= 0 ;
10625 char *kwnames
[] = {
10626 (char *) "self",(char *) "m_pos", NULL
10629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10634 if (arg1
) (arg1
)->m_pos
= *arg2
;
10636 Py_INCREF(Py_None
); resultobj
= Py_None
;
10643 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
;
10645 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10647 PyObject
* obj0
= 0 ;
10648 char *kwnames
[] = {
10649 (char *) "self", NULL
10652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10664 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10668 PyObject
* obj0
= 0 ;
10669 PyObject
* obj1
= 0 ;
10670 char *kwnames
[] = {
10671 (char *) "self",(char *) "m_zPosition", NULL
10674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10677 arg2
= (int) SWIG_AsInt(obj1
);
10678 if (PyErr_Occurred()) SWIG_fail
;
10679 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10681 Py_INCREF(Py_None
); resultobj
= Py_None
;
10688 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10689 PyObject
*resultobj
;
10690 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10692 PyObject
* obj0
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 result
= (int) ((arg1
)->m_zPosition
);
10702 resultobj
= SWIG_FromInt((int)result
);
10709 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10710 PyObject
*resultobj
;
10711 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10713 PyObject
* obj0
= 0 ;
10714 PyObject
* obj1
= 0 ;
10715 char *kwnames
[] = {
10716 (char *) "self",(char *) "m_buttonChange", NULL
10719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10722 arg2
= (int) SWIG_AsInt(obj1
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10724 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10726 Py_INCREF(Py_None
); resultobj
= Py_None
;
10733 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10734 PyObject
*resultobj
;
10735 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10737 PyObject
* obj0
= 0 ;
10738 char *kwnames
[] = {
10739 (char *) "self", NULL
10742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10745 result
= (int) ((arg1
)->m_buttonChange
);
10747 resultobj
= SWIG_FromInt((int)result
);
10754 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10755 PyObject
*resultobj
;
10756 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self",(char *) "m_buttonState", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10767 arg2
= (int) SWIG_AsInt(obj1
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10769 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10771 Py_INCREF(Py_None
); resultobj
= Py_None
;
10778 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10782 PyObject
* obj0
= 0 ;
10783 char *kwnames
[] = {
10784 (char *) "self", NULL
10787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10790 result
= (int) ((arg1
)->m_buttonState
);
10792 resultobj
= SWIG_FromInt((int)result
);
10799 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10800 PyObject
*resultobj
;
10801 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10803 PyObject
* obj0
= 0 ;
10804 PyObject
* obj1
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "m_joyStick", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 arg2
= (int) SWIG_AsInt(obj1
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10814 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10835 result
= (int) ((arg1
)->m_joyStick
);
10837 resultobj
= SWIG_FromInt((int)result
);
10844 static PyObject
*_wrap_new_JoystickEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10845 PyObject
*resultobj
;
10846 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10847 int arg2
= (int) 0 ;
10848 int arg3
= (int) wxJOYSTICK1
;
10849 int arg4
= (int) 0 ;
10850 wxJoystickEvent
*result
;
10851 PyObject
* obj0
= 0 ;
10852 PyObject
* obj1
= 0 ;
10853 PyObject
* obj2
= 0 ;
10854 PyObject
* obj3
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10861 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10862 if (PyErr_Occurred()) SWIG_fail
;
10865 arg2
= (int) SWIG_AsInt(obj1
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10869 arg3
= (int) SWIG_AsInt(obj2
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10873 arg4
= (int) SWIG_AsInt(obj3
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10878 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10880 wxPyEndAllowThreads(__tstate
);
10881 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10890 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10891 PyObject
*resultobj
;
10892 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10894 PyObject
* obj0
= 0 ;
10895 char *kwnames
[] = {
10896 (char *) "self", NULL
10899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10904 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10906 wxPyEndAllowThreads(__tstate
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 wxPoint
* resultptr
;
10911 resultptr
= new wxPoint((wxPoint
&) result
);
10912 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10920 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10924 PyObject
* obj0
= 0 ;
10925 char *kwnames
[] = {
10926 (char *) "self", NULL
10929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10936 wxPyEndAllowThreads(__tstate
);
10937 if (PyErr_Occurred()) SWIG_fail
;
10939 resultobj
= SWIG_FromInt((int)result
);
10946 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10947 PyObject
*resultobj
;
10948 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10950 PyObject
* obj0
= 0 ;
10951 char *kwnames
[] = {
10952 (char *) "self", NULL
10955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10960 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10962 wxPyEndAllowThreads(__tstate
);
10963 if (PyErr_Occurred()) SWIG_fail
;
10965 resultobj
= SWIG_FromInt((int)result
);
10972 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10973 PyObject
*resultobj
;
10974 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10976 PyObject
* obj0
= 0 ;
10977 char *kwnames
[] = {
10978 (char *) "self", NULL
10981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10986 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10988 wxPyEndAllowThreads(__tstate
);
10989 if (PyErr_Occurred()) SWIG_fail
;
10991 resultobj
= SWIG_FromInt((int)result
);
10998 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11017 resultobj
= SWIG_FromInt((int)result
);
11024 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11025 PyObject
*resultobj
;
11026 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11028 PyObject
* obj0
= 0 ;
11029 PyObject
* obj1
= 0 ;
11030 char *kwnames
[] = {
11031 (char *) "self",(char *) "stick", NULL
11034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
11035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11037 arg2
= (int) SWIG_AsInt(obj1
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 (arg1
)->SetJoystick(arg2
);
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 Py_INCREF(Py_None
); resultobj
= Py_None
;
11053 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11054 PyObject
*resultobj
;
11055 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11057 PyObject
* obj0
= 0 ;
11058 PyObject
* obj1
= 0 ;
11059 char *kwnames
[] = {
11060 (char *) "self",(char *) "state", NULL
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
11064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11066 arg2
= (int) SWIG_AsInt(obj1
);
11067 if (PyErr_Occurred()) SWIG_fail
;
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 (arg1
)->SetButtonState(arg2
);
11072 wxPyEndAllowThreads(__tstate
);
11073 if (PyErr_Occurred()) SWIG_fail
;
11075 Py_INCREF(Py_None
); resultobj
= Py_None
;
11082 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11086 PyObject
* obj0
= 0 ;
11087 PyObject
* obj1
= 0 ;
11088 char *kwnames
[] = {
11089 (char *) "self",(char *) "change", NULL
11092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11095 arg2
= (int) SWIG_AsInt(obj1
);
11096 if (PyErr_Occurred()) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 (arg1
)->SetButtonChange(arg2
);
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 Py_INCREF(Py_None
); resultobj
= Py_None
;
11111 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11114 wxPoint
*arg2
= 0 ;
11116 PyObject
* obj0
= 0 ;
11117 PyObject
* obj1
= 0 ;
11118 char *kwnames
[] = {
11119 (char *) "self",(char *) "pos", NULL
11122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11127 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11131 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11133 wxPyEndAllowThreads(__tstate
);
11134 if (PyErr_Occurred()) SWIG_fail
;
11136 Py_INCREF(Py_None
); resultobj
= Py_None
;
11143 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
;
11145 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11147 PyObject
* obj0
= 0 ;
11148 PyObject
* obj1
= 0 ;
11149 char *kwnames
[] = {
11150 (char *) "self",(char *) "zPos", NULL
11153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11156 arg2
= (int) SWIG_AsInt(obj1
);
11157 if (PyErr_Occurred()) SWIG_fail
;
11159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11160 (arg1
)->SetZPosition(arg2
);
11162 wxPyEndAllowThreads(__tstate
);
11163 if (PyErr_Occurred()) SWIG_fail
;
11165 Py_INCREF(Py_None
); resultobj
= Py_None
;
11172 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
;
11174 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11176 PyObject
* obj0
= 0 ;
11177 char *kwnames
[] = {
11178 (char *) "self", NULL
11181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11186 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11188 wxPyEndAllowThreads(__tstate
);
11189 if (PyErr_Occurred()) SWIG_fail
;
11192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11200 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11204 PyObject
* obj0
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "self", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11214 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11216 wxPyEndAllowThreads(__tstate
);
11217 if (PyErr_Occurred()) SWIG_fail
;
11220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11228 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11229 PyObject
*resultobj
;
11230 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11232 PyObject
* obj0
= 0 ;
11233 char *kwnames
[] = {
11234 (char *) "self", NULL
11237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11242 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11244 wxPyEndAllowThreads(__tstate
);
11245 if (PyErr_Occurred()) SWIG_fail
;
11248 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11256 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11259 int arg2
= (int) wxJOY_BUTTON_ANY
;
11261 PyObject
* obj0
= 0 ;
11262 PyObject
* obj1
= 0 ;
11263 char *kwnames
[] = {
11264 (char *) "self",(char *) "but", NULL
11267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11271 arg2
= (int) SWIG_AsInt(obj1
);
11272 if (PyErr_Occurred()) SWIG_fail
;
11275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11276 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11278 wxPyEndAllowThreads(__tstate
);
11279 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11290 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11293 int arg2
= (int) wxJOY_BUTTON_ANY
;
11295 PyObject
* obj0
= 0 ;
11296 PyObject
* obj1
= 0 ;
11297 char *kwnames
[] = {
11298 (char *) "self",(char *) "but", NULL
11301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11305 arg2
= (int) SWIG_AsInt(obj1
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11310 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11312 wxPyEndAllowThreads(__tstate
);
11313 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11324 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11325 PyObject
*resultobj
;
11326 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11327 int arg2
= (int) wxJOY_BUTTON_ANY
;
11329 PyObject
* obj0
= 0 ;
11330 PyObject
* obj1
= 0 ;
11331 char *kwnames
[] = {
11332 (char *) "self",(char *) "but", NULL
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11339 arg2
= (int) SWIG_AsInt(obj1
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11344 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11346 wxPyEndAllowThreads(__tstate
);
11347 if (PyErr_Occurred()) SWIG_fail
;
11350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11358 static PyObject
* JoystickEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11361 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11363 return Py_BuildValue((char *)"");
11365 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*self
, PyObject
*args
) {
11366 PyObject
*resultobj
;
11369 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 result
= (wxSound
*)new wxSound();
11374 wxPyEndAllowThreads(__tstate
);
11375 if (PyErr_Occurred()) SWIG_fail
;
11377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11384 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*self
, PyObject
*args
) {
11385 PyObject
*resultobj
;
11386 wxString
*arg1
= 0 ;
11387 bool arg2
= (bool) false ;
11389 bool temp1
= False
;
11390 PyObject
* obj0
= 0 ;
11391 PyObject
* obj1
= 0 ;
11393 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11395 arg1
= wxString_in_helper(obj0
);
11396 if (arg1
== NULL
) SWIG_fail
;
11400 arg2
= (bool) SWIG_AsBool(obj1
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11405 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11407 wxPyEndAllowThreads(__tstate
);
11408 if (PyErr_Occurred()) SWIG_fail
;
11410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11425 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*self
, PyObject
*args
) {
11426 PyObject
*resultobj
;
11428 wxByte
*arg2
= (wxByte
*) 0 ;
11430 PyObject
* obj0
= 0 ;
11431 PyObject
* obj1
= 0 ;
11433 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11434 arg1
= (int) SWIG_AsInt(obj0
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11452 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11457 argc
= PyObject_Length(args
);
11458 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11459 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11462 return _wrap_new_Sound__SWIG_0(self
,args
);
11464 if ((argc
>= 1) && (argc
<= 2)) {
11467 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11471 return _wrap_new_Sound__SWIG_1(self
,args
);
11473 _v
= SWIG_CheckBool(argv
[1]);
11475 return _wrap_new_Sound__SWIG_1(self
,args
);
11481 _v
= SWIG_CheckInt(argv
[0]);
11485 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11493 return _wrap_new_Sound__SWIG_2(self
,args
);
11498 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11503 static PyObject
*_wrap_delete_Sound(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11504 PyObject
*resultobj
;
11505 wxSound
*arg1
= (wxSound
*) 0 ;
11506 PyObject
* obj0
= 0 ;
11507 char *kwnames
[] = {
11508 (char *) "self", NULL
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 Py_INCREF(Py_None
); resultobj
= Py_None
;
11528 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*self
, PyObject
*args
) {
11529 PyObject
*resultobj
;
11530 wxSound
*arg1
= (wxSound
*) 0 ;
11531 wxString
*arg2
= 0 ;
11532 bool arg3
= (bool) false ;
11534 bool temp2
= False
;
11535 PyObject
* obj0
= 0 ;
11536 PyObject
* obj1
= 0 ;
11537 PyObject
* obj2
= 0 ;
11539 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11543 arg2
= wxString_in_helper(obj1
);
11544 if (arg2
== NULL
) SWIG_fail
;
11548 arg3
= (bool) SWIG_AsBool(obj2
);
11549 if (PyErr_Occurred()) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11553 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11575 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*self
, PyObject
*args
) {
11576 PyObject
*resultobj
;
11577 wxSound
*arg1
= (wxSound
*) 0 ;
11579 wxByte
*arg3
= (wxByte
*) 0 ;
11581 PyObject
* obj0
= 0 ;
11582 PyObject
* obj1
= 0 ;
11583 PyObject
* obj2
= 0 ;
11585 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11588 arg2
= (int) SWIG_AsInt(obj1
);
11589 if (PyErr_Occurred()) SWIG_fail
;
11590 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (bool)(arg1
)->Create(arg2
,(wxByte
const *)arg3
);
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11608 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11613 argc
= PyObject_Length(args
);
11614 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11615 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11617 if ((argc
>= 2) && (argc
<= 3)) {
11621 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11630 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11634 return _wrap_Sound_Create__SWIG_0(self
,args
);
11636 _v
= SWIG_CheckBool(argv
[2]);
11638 return _wrap_Sound_Create__SWIG_0(self
,args
);
11647 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11655 _v
= SWIG_CheckInt(argv
[1]);
11659 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11667 return _wrap_Sound_Create__SWIG_1(self
,args
);
11673 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11678 static PyObject
*_wrap_Sound_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxSound
*arg1
= (wxSound
*) 0 ;
11682 PyObject
* obj0
= 0 ;
11683 char *kwnames
[] = {
11684 (char *) "self", NULL
11687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11692 result
= (bool)(arg1
)->IsOk();
11694 wxPyEndAllowThreads(__tstate
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11706 static PyObject
*_wrap_Sound_Play(PyObject
*self
, PyObject
*args
) {
11707 PyObject
*resultobj
;
11708 wxSound
*arg1
= (wxSound
*) 0 ;
11709 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11711 PyObject
* obj0
= 0 ;
11712 PyObject
* obj1
= 0 ;
11714 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11718 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11723 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11725 wxPyEndAllowThreads(__tstate
);
11726 if (PyErr_Occurred()) SWIG_fail
;
11729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11737 static PyObject
*_wrap_Sound_PlaySound(PyObject
*self
, PyObject
*args
) {
11738 PyObject
*resultobj
;
11739 wxString
*arg1
= 0 ;
11740 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11742 bool temp1
= False
;
11743 PyObject
* obj0
= 0 ;
11744 PyObject
* obj1
= 0 ;
11746 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11748 arg1
= wxString_in_helper(obj0
);
11749 if (arg1
== NULL
) SWIG_fail
;
11753 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11754 if (PyErr_Occurred()) SWIG_fail
;
11757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11758 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11760 wxPyEndAllowThreads(__tstate
);
11761 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11780 static PyObject
*_wrap_Sound_Stop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 char *kwnames
[] = {
11786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11791 wxPyEndAllowThreads(__tstate
);
11792 if (PyErr_Occurred()) SWIG_fail
;
11794 Py_INCREF(Py_None
); resultobj
= Py_None
;
11801 static PyObject
* Sound_swigregister(PyObject
*self
, PyObject
*args
) {
11803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11804 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11806 return Py_BuildValue((char *)"");
11808 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11809 PyObject
*resultobj
;
11810 wxString
*arg1
= 0 ;
11811 wxString
*arg2
= 0 ;
11812 wxString
*arg3
= 0 ;
11813 wxString
*arg4
= 0 ;
11814 wxFileTypeInfo
*result
;
11815 bool temp1
= False
;
11816 bool temp2
= False
;
11817 bool temp3
= False
;
11818 bool temp4
= False
;
11819 PyObject
* obj0
= 0 ;
11820 PyObject
* obj1
= 0 ;
11821 PyObject
* obj2
= 0 ;
11822 PyObject
* obj3
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11829 arg1
= wxString_in_helper(obj0
);
11830 if (arg1
== NULL
) SWIG_fail
;
11834 arg2
= wxString_in_helper(obj1
);
11835 if (arg2
== NULL
) SWIG_fail
;
11839 arg3
= wxString_in_helper(obj2
);
11840 if (arg3
== NULL
) SWIG_fail
;
11844 arg4
= wxString_in_helper(obj3
);
11845 if (arg4
== NULL
) SWIG_fail
;
11849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11850 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11852 wxPyEndAllowThreads(__tstate
);
11853 if (PyErr_Occurred()) SWIG_fail
;
11855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11894 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxArrayString
*arg1
= 0 ;
11897 wxFileTypeInfo
*result
;
11898 bool temp1
= False
;
11899 PyObject
* obj0
= 0 ;
11900 char *kwnames
[] = {
11901 (char *) "sArray", NULL
11904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11906 if (! PySequence_Check(obj0
)) {
11907 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11910 arg1
= new wxArrayString
;
11912 int i
, len
=PySequence_Length(obj0
);
11913 for (i
=0; i
<len
; i
++) {
11914 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11916 PyObject
* str
= PyObject_Unicode(item
);
11918 PyObject
* str
= PyObject_Str(item
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11921 arg1
->Add(Py2wxString(str
));
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11935 if (temp1
) delete arg1
;
11940 if (temp1
) delete arg1
;
11946 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11947 PyObject
*resultobj
;
11948 wxFileTypeInfo
*result
;
11949 char *kwnames
[] = {
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11968 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
;
11970 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11972 PyObject
* obj0
= 0 ;
11973 char *kwnames
[] = {
11974 (char *) "self", NULL
11977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11982 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11984 wxPyEndAllowThreads(__tstate
);
11985 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11996 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
;
11998 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11999 wxString
*arg2
= 0 ;
12000 int arg3
= (int) 0 ;
12001 bool temp2
= False
;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 PyObject
* obj2
= 0 ;
12005 char *kwnames
[] = {
12006 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
12009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12013 arg2
= wxString_in_helper(obj1
);
12014 if (arg2
== NULL
) SWIG_fail
;
12018 arg3
= (int) SWIG_AsInt(obj2
);
12019 if (PyErr_Occurred()) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 Py_INCREF(Py_None
); resultobj
= Py_None
;
12043 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12046 wxString
*arg2
= 0 ;
12047 bool temp2
= False
;
12048 PyObject
* obj0
= 0 ;
12049 PyObject
* obj1
= 0 ;
12050 char *kwnames
[] = {
12051 (char *) "self",(char *) "shortDesc", NULL
12054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
12055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12058 arg2
= wxString_in_helper(obj1
);
12059 if (arg2
== NULL
) SWIG_fail
;
12063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
12066 wxPyEndAllowThreads(__tstate
);
12067 if (PyErr_Occurred()) SWIG_fail
;
12069 Py_INCREF(Py_None
); resultobj
= Py_None
;
12084 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
12094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12099 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12100 result
= (wxString
*) &_result_ref
;
12103 wxPyEndAllowThreads(__tstate
);
12104 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12110 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12119 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12120 PyObject
*resultobj
;
12121 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12134 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12135 result
= (wxString
*) &_result_ref
;
12138 wxPyEndAllowThreads(__tstate
);
12139 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12145 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12154 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12158 PyObject
* obj0
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12170 result
= (wxString
*) &_result_ref
;
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12178 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12180 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12189 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12190 PyObject
*resultobj
;
12191 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12193 PyObject
* obj0
= 0 ;
12194 char *kwnames
[] = {
12195 (char *) "self", NULL
12198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12205 result
= (wxString
*) &_result_ref
;
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12215 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12224 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12225 PyObject
*resultobj
;
12226 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 char *kwnames
[] = {
12230 (char *) "self", NULL
12233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12240 result
= (wxString
*) &_result_ref
;
12243 wxPyEndAllowThreads(__tstate
);
12244 if (PyErr_Occurred()) SWIG_fail
;
12248 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12250 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12259 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12260 PyObject
*resultobj
;
12261 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12262 wxArrayString
*result
;
12263 PyObject
* obj0
= 0 ;
12264 char *kwnames
[] = {
12265 (char *) "self", NULL
12268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12275 result
= (wxArrayString
*) &_result_ref
;
12278 wxPyEndAllowThreads(__tstate
);
12279 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= wxArrayString2PyList_helper(*result
);
12290 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= SWIG_FromInt((int)result
);
12316 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12317 PyObject
*resultobj
;
12318 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12320 PyObject
* obj0
= 0 ;
12321 char *kwnames
[] = {
12322 (char *) "self", NULL
12325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12331 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12332 result
= (wxString
*) &_result_ref
;
12335 wxPyEndAllowThreads(__tstate
);
12336 if (PyErr_Occurred()) SWIG_fail
;
12340 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12342 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12351 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_FromInt((int)result
);
12377 static PyObject
* FileTypeInfo_swigregister(PyObject
*self
, PyObject
*args
) {
12379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12380 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12382 return Py_BuildValue((char *)"");
12384 static PyObject
*_wrap_new_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12385 PyObject
*resultobj
;
12386 wxFileTypeInfo
*arg1
= 0 ;
12387 wxFileType
*result
;
12388 PyObject
* obj0
= 0 ;
12389 char *kwnames
[] = {
12390 (char *) "ftInfo", NULL
12393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12397 if (arg1
== NULL
) {
12398 PyErr_SetString(PyExc_TypeError
,"null reference");
12402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12403 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12405 wxPyEndAllowThreads(__tstate
);
12406 if (PyErr_Occurred()) SWIG_fail
;
12408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12415 static PyObject
*_wrap_delete_FileType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12416 PyObject
*resultobj
;
12417 wxFileType
*arg1
= (wxFileType
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 char *kwnames
[] = {
12420 (char *) "self", NULL
12423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 wxPyEndAllowThreads(__tstate
);
12431 if (PyErr_Occurred()) SWIG_fail
;
12433 Py_INCREF(Py_None
); resultobj
= Py_None
;
12440 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12441 PyObject
*resultobj
;
12442 wxFileType
*arg1
= (wxFileType
*) 0 ;
12444 PyObject
* obj0
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12459 resultobj
= result
;
12466 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxFileType
*arg1
= (wxFileType
*) 0 ;
12470 PyObject
* obj0
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= result
;
12492 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
;
12494 wxFileType
*arg1
= (wxFileType
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12506 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12508 wxPyEndAllowThreads(__tstate
);
12509 if (PyErr_Occurred()) SWIG_fail
;
12511 resultobj
= result
;
12518 static PyObject
*_wrap_FileType_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12519 PyObject
*resultobj
;
12520 wxFileType
*arg1
= (wxFileType
*) 0 ;
12522 PyObject
* obj0
= 0 ;
12523 char *kwnames
[] = {
12524 (char *) "self", NULL
12527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12532 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12534 wxPyEndAllowThreads(__tstate
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12544 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12545 PyObject
*resultobj
;
12546 wxFileType
*arg1
= (wxFileType
*) 0 ;
12548 PyObject
* obj0
= 0 ;
12549 char *kwnames
[] = {
12550 (char *) "self", NULL
12553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12558 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= result
;
12570 static PyObject
*_wrap_FileType_GetDescription(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
;
12572 wxFileType
*arg1
= (wxFileType
*) 0 ;
12574 PyObject
* obj0
= 0 ;
12575 char *kwnames
[] = {
12576 (char *) "self", NULL
12579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12584 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12586 wxPyEndAllowThreads(__tstate
);
12587 if (PyErr_Occurred()) SWIG_fail
;
12589 resultobj
= result
;
12596 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxFileType
*arg1
= (wxFileType
*) 0 ;
12599 wxString
*arg2
= 0 ;
12600 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12601 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12603 bool temp2
= False
;
12604 bool temp3
= False
;
12605 PyObject
* obj0
= 0 ;
12606 PyObject
* obj1
= 0 ;
12607 PyObject
* obj2
= 0 ;
12608 char *kwnames
[] = {
12609 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12616 arg2
= wxString_in_helper(obj1
);
12617 if (arg2
== NULL
) SWIG_fail
;
12622 arg3
= wxString_in_helper(obj2
);
12623 if (arg3
== NULL
) SWIG_fail
;
12628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12629 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12631 wxPyEndAllowThreads(__tstate
);
12632 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= result
;
12657 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12658 PyObject
*resultobj
;
12659 wxFileType
*arg1
= (wxFileType
*) 0 ;
12660 wxString
*arg2
= 0 ;
12661 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12662 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12664 bool temp2
= False
;
12665 bool temp3
= False
;
12666 PyObject
* obj0
= 0 ;
12667 PyObject
* obj1
= 0 ;
12668 PyObject
* obj2
= 0 ;
12669 char *kwnames
[] = {
12670 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12677 arg2
= wxString_in_helper(obj1
);
12678 if (arg2
== NULL
) SWIG_fail
;
12683 arg3
= wxString_in_helper(obj2
);
12684 if (arg3
== NULL
) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= result
;
12718 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
;
12720 wxFileType
*arg1
= (wxFileType
*) 0 ;
12721 wxString
*arg2
= 0 ;
12722 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12723 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12725 bool temp2
= False
;
12726 bool temp3
= False
;
12727 PyObject
* obj0
= 0 ;
12728 PyObject
* obj1
= 0 ;
12729 PyObject
* obj2
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 arg2
= wxString_in_helper(obj1
);
12739 if (arg2
== NULL
) SWIG_fail
;
12744 arg3
= wxString_in_helper(obj2
);
12745 if (arg3
== NULL
) SWIG_fail
;
12750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12751 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12753 wxPyEndAllowThreads(__tstate
);
12754 if (PyErr_Occurred()) SWIG_fail
;
12756 resultobj
= result
;
12779 static PyObject
*_wrap_FileType_SetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12780 PyObject
*resultobj
;
12781 wxFileType
*arg1
= (wxFileType
*) 0 ;
12782 wxString
*arg2
= 0 ;
12783 wxString
*arg3
= 0 ;
12784 bool arg4
= (bool) True
;
12786 bool temp2
= False
;
12787 bool temp3
= False
;
12788 PyObject
* obj0
= 0 ;
12789 PyObject
* obj1
= 0 ;
12790 PyObject
* obj2
= 0 ;
12791 PyObject
* obj3
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12800 arg2
= wxString_in_helper(obj1
);
12801 if (arg2
== NULL
) SWIG_fail
;
12805 arg3
= wxString_in_helper(obj2
);
12806 if (arg3
== NULL
) SWIG_fail
;
12810 arg4
= (bool) SWIG_AsBool(obj3
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12815 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12817 wxPyEndAllowThreads(__tstate
);
12818 if (PyErr_Occurred()) SWIG_fail
;
12821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12845 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
;
12847 wxFileType
*arg1
= (wxFileType
*) 0 ;
12848 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12849 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12850 int arg3
= (int) 0 ;
12852 bool temp2
= False
;
12853 PyObject
* obj0
= 0 ;
12854 PyObject
* obj1
= 0 ;
12855 PyObject
* obj2
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self",(char *) "cmd",(char *) "index", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12865 arg2
= wxString_in_helper(obj1
);
12866 if (arg2
== NULL
) SWIG_fail
;
12871 arg3
= (int) SWIG_AsInt(obj2
);
12872 if (PyErr_Occurred()) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12898 static PyObject
*_wrap_FileType_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
;
12900 wxFileType
*arg1
= (wxFileType
*) 0 ;
12902 PyObject
* obj0
= 0 ;
12903 char *kwnames
[] = {
12904 (char *) "self", NULL
12907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12912 result
= (bool)(arg1
)->Unassociate();
12914 wxPyEndAllowThreads(__tstate
);
12915 if (PyErr_Occurred()) SWIG_fail
;
12918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12926 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
;
12928 wxString
*arg1
= 0 ;
12929 wxString
*arg2
= 0 ;
12930 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12931 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12933 bool temp1
= False
;
12934 bool temp2
= False
;
12935 bool temp3
= False
;
12936 PyObject
* obj0
= 0 ;
12937 PyObject
* obj1
= 0 ;
12938 PyObject
* obj2
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12945 arg1
= wxString_in_helper(obj0
);
12946 if (arg1
== NULL
) SWIG_fail
;
12950 arg2
= wxString_in_helper(obj1
);
12951 if (arg2
== NULL
) SWIG_fail
;
12956 arg3
= wxString_in_helper(obj2
);
12957 if (arg3
== NULL
) SWIG_fail
;
12962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12963 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12965 wxPyEndAllowThreads(__tstate
);
12966 if (PyErr_Occurred()) SWIG_fail
;
12970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13005 static PyObject
* FileType_swigregister(PyObject
*self
, PyObject
*args
) {
13007 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13008 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
13010 return Py_BuildValue((char *)"");
13012 static int _wrap_TheMimeTypesManager_set(PyObject
*_val
) {
13013 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
13018 static PyObject
*_wrap_TheMimeTypesManager_get() {
13021 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
13026 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13027 PyObject
*resultobj
;
13028 wxString
*arg1
= 0 ;
13029 wxString
*arg2
= 0 ;
13031 bool temp1
= False
;
13032 bool temp2
= False
;
13033 PyObject
* obj0
= 0 ;
13034 PyObject
* obj1
= 0 ;
13035 char *kwnames
[] = {
13036 (char *) "mimeType",(char *) "wildcard", NULL
13039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
13041 arg1
= wxString_in_helper(obj0
);
13042 if (arg1
== NULL
) SWIG_fail
;
13046 arg2
= wxString_in_helper(obj1
);
13047 if (arg2
== NULL
) SWIG_fail
;
13051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13052 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
13054 wxPyEndAllowThreads(__tstate
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13082 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13083 PyObject
*resultobj
;
13084 wxMimeTypesManager
*result
;
13085 char *kwnames
[] = {
13089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13092 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13104 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
;
13106 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13107 int arg2
= (int) wxMAILCAP_ALL
;
13108 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13109 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13110 bool temp3
= False
;
13111 PyObject
* obj0
= 0 ;
13112 PyObject
* obj1
= 0 ;
13113 PyObject
* obj2
= 0 ;
13114 char *kwnames
[] = {
13115 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13122 arg2
= (int) SWIG_AsInt(obj1
);
13123 if (PyErr_Occurred()) SWIG_fail
;
13127 arg3
= wxString_in_helper(obj2
);
13128 if (arg3
== NULL
) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13136 wxPyEndAllowThreads(__tstate
);
13137 if (PyErr_Occurred()) SWIG_fail
;
13139 Py_INCREF(Py_None
); resultobj
= Py_None
;
13154 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13155 PyObject
*resultobj
;
13156 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13157 PyObject
* obj0
= 0 ;
13158 char *kwnames
[] = {
13159 (char *) "self", NULL
13162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13167 (arg1
)->ClearData();
13169 wxPyEndAllowThreads(__tstate
);
13170 if (PyErr_Occurred()) SWIG_fail
;
13172 Py_INCREF(Py_None
); resultobj
= Py_None
;
13179 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13180 PyObject
*resultobj
;
13181 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13182 wxString
*arg2
= 0 ;
13183 wxFileType
*result
;
13184 bool temp2
= False
;
13185 PyObject
* obj0
= 0 ;
13186 PyObject
* obj1
= 0 ;
13187 char *kwnames
[] = {
13188 (char *) "self",(char *) "ext", NULL
13191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13195 arg2
= wxString_in_helper(obj1
);
13196 if (arg2
== NULL
) SWIG_fail
;
13200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13201 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13203 wxPyEndAllowThreads(__tstate
);
13204 if (PyErr_Occurred()) SWIG_fail
;
13206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13221 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13222 PyObject
*resultobj
;
13223 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13224 wxString
*arg2
= 0 ;
13225 wxFileType
*result
;
13226 bool temp2
= False
;
13227 PyObject
* obj0
= 0 ;
13228 PyObject
* obj1
= 0 ;
13229 char *kwnames
[] = {
13230 (char *) "self",(char *) "mimeType", NULL
13233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13237 arg2
= wxString_in_helper(obj1
);
13238 if (arg2
== NULL
) SWIG_fail
;
13242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13243 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13245 wxPyEndAllowThreads(__tstate
);
13246 if (PyErr_Occurred()) SWIG_fail
;
13248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13263 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13264 PyObject
*resultobj
;
13265 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13266 wxString
*arg2
= 0 ;
13267 bool arg3
= (bool) False
;
13269 bool temp2
= False
;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 PyObject
* obj2
= 0 ;
13273 char *kwnames
[] = {
13274 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13281 arg2
= wxString_in_helper(obj1
);
13282 if (arg2
== NULL
) SWIG_fail
;
13286 arg3
= (bool) SWIG_AsBool(obj2
);
13287 if (PyErr_Occurred()) SWIG_fail
;
13290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13291 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13313 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13314 PyObject
*resultobj
;
13315 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13316 wxString
*arg2
= 0 ;
13318 bool temp2
= False
;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 char *kwnames
[] = {
13322 (char *) "self",(char *) "filename", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13329 arg2
= wxString_in_helper(obj1
);
13330 if (arg2
== NULL
) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13357 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13358 PyObject
*resultobj
;
13359 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13361 PyObject
* obj0
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 resultobj
= result
;
13383 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13384 PyObject
*resultobj
;
13385 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13386 wxFileTypeInfo
*arg2
= 0 ;
13387 PyObject
* obj0
= 0 ;
13388 PyObject
* obj1
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self",(char *) "ft", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13399 if (arg2
== NULL
) {
13400 PyErr_SetString(PyExc_TypeError
,"null reference");
13404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13405 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13407 wxPyEndAllowThreads(__tstate
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 Py_INCREF(Py_None
); resultobj
= Py_None
;
13417 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
;
13419 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13420 wxFileTypeInfo
*arg2
= 0 ;
13421 wxFileType
*result
;
13422 PyObject
* obj0
= 0 ;
13423 PyObject
* obj1
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self",(char *) "ftInfo", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13432 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13434 if (arg2
== NULL
) {
13435 PyErr_SetString(PyExc_TypeError
,"null reference");
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13452 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13453 PyObject
*resultobj
;
13454 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13455 wxFileType
*arg2
= (wxFileType
*) 0 ;
13457 PyObject
* obj0
= 0 ;
13458 PyObject
* obj1
= 0 ;
13459 char *kwnames
[] = {
13460 (char *) "self",(char *) "ft", NULL
13463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13466 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 result
= (bool)(arg1
)->Unassociate(arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13484 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13487 PyObject
* obj0
= 0 ;
13488 char *kwnames
[] = {
13489 (char *) "self", NULL
13492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13499 wxPyEndAllowThreads(__tstate
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13502 Py_INCREF(Py_None
); resultobj
= Py_None
;
13509 static PyObject
* MimeTypesManager_swigregister(PyObject
*self
, PyObject
*args
) {
13511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13512 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13514 return Py_BuildValue((char *)"");
13516 static int _wrap_ART_TOOLBAR_set(PyObject
*_val
) {
13517 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13522 static PyObject
*_wrap_ART_TOOLBAR_get() {
13527 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13529 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13536 static int _wrap_ART_MENU_set(PyObject
*_val
) {
13537 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13542 static PyObject
*_wrap_ART_MENU_get() {
13547 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13549 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13556 static int _wrap_ART_FRAME_ICON_set(PyObject
*_val
) {
13557 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13562 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13567 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13569 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13576 static int _wrap_ART_CMN_DIALOG_set(PyObject
*_val
) {
13577 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13582 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13587 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13589 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13596 static int _wrap_ART_HELP_BROWSER_set(PyObject
*_val
) {
13597 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13602 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13607 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13609 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13616 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*_val
) {
13617 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13622 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13627 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13629 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13636 static int _wrap_ART_OTHER_set(PyObject
*_val
) {
13637 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13642 static PyObject
*_wrap_ART_OTHER_get() {
13647 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13649 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13656 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*_val
) {
13657 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13662 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13667 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13669 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13676 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*_val
) {
13677 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13682 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13687 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13689 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13696 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*_val
) {
13697 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13702 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13707 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13709 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13716 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*_val
) {
13717 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13722 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13727 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13729 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13736 static int _wrap_ART_HELP_BOOK_set(PyObject
*_val
) {
13737 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13742 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13747 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13749 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13756 static int _wrap_ART_HELP_FOLDER_set(PyObject
*_val
) {
13757 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13762 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13767 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13769 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13776 static int _wrap_ART_HELP_PAGE_set(PyObject
*_val
) {
13777 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13782 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13787 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13789 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13796 static int _wrap_ART_GO_BACK_set(PyObject
*_val
) {
13797 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13802 static PyObject
*_wrap_ART_GO_BACK_get() {
13807 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13809 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13816 static int _wrap_ART_GO_FORWARD_set(PyObject
*_val
) {
13817 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13822 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13827 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13829 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13836 static int _wrap_ART_GO_UP_set(PyObject
*_val
) {
13837 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13842 static PyObject
*_wrap_ART_GO_UP_get() {
13847 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13849 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13856 static int _wrap_ART_GO_DOWN_set(PyObject
*_val
) {
13857 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13862 static PyObject
*_wrap_ART_GO_DOWN_get() {
13867 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13869 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13876 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*_val
) {
13877 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13882 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13887 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13889 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13896 static int _wrap_ART_GO_HOME_set(PyObject
*_val
) {
13897 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13902 static PyObject
*_wrap_ART_GO_HOME_get() {
13907 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13909 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13916 static int _wrap_ART_FILE_OPEN_set(PyObject
*_val
) {
13917 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13922 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13927 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13929 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13936 static int _wrap_ART_PRINT_set(PyObject
*_val
) {
13937 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13942 static PyObject
*_wrap_ART_PRINT_get() {
13947 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13949 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13956 static int _wrap_ART_HELP_set(PyObject
*_val
) {
13957 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13962 static PyObject
*_wrap_ART_HELP_get() {
13967 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13969 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13976 static int _wrap_ART_TIP_set(PyObject
*_val
) {
13977 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13982 static PyObject
*_wrap_ART_TIP_get() {
13987 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13989 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13996 static int _wrap_ART_REPORT_VIEW_set(PyObject
*_val
) {
13997 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
14002 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
14007 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14009 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
14016 static int _wrap_ART_LIST_VIEW_set(PyObject
*_val
) {
14017 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
14022 static PyObject
*_wrap_ART_LIST_VIEW_get() {
14027 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14029 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
14036 static int _wrap_ART_NEW_DIR_set(PyObject
*_val
) {
14037 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
14042 static PyObject
*_wrap_ART_NEW_DIR_get() {
14047 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14049 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
14056 static int _wrap_ART_FOLDER_set(PyObject
*_val
) {
14057 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
14062 static PyObject
*_wrap_ART_FOLDER_get() {
14067 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14069 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
14076 static int _wrap_ART_GO_DIR_UP_set(PyObject
*_val
) {
14077 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
14082 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
14087 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14089 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
14096 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*_val
) {
14097 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
14102 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
14107 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14109 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14116 static int _wrap_ART_NORMAL_FILE_set(PyObject
*_val
) {
14117 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14122 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14127 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14129 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14136 static int _wrap_ART_TICK_MARK_set(PyObject
*_val
) {
14137 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14142 static PyObject
*_wrap_ART_TICK_MARK_get() {
14147 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14149 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14156 static int _wrap_ART_CROSS_MARK_set(PyObject
*_val
) {
14157 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14162 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14167 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14169 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14176 static int _wrap_ART_ERROR_set(PyObject
*_val
) {
14177 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14182 static PyObject
*_wrap_ART_ERROR_get() {
14187 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14189 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14196 static int _wrap_ART_QUESTION_set(PyObject
*_val
) {
14197 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14202 static PyObject
*_wrap_ART_QUESTION_get() {
14207 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14209 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14216 static int _wrap_ART_WARNING_set(PyObject
*_val
) {
14217 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14222 static PyObject
*_wrap_ART_WARNING_get() {
14227 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14229 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14236 static int _wrap_ART_INFORMATION_set(PyObject
*_val
) {
14237 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14242 static PyObject
*_wrap_ART_INFORMATION_get() {
14247 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14249 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14256 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*_val
) {
14257 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14262 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14267 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14269 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14276 static PyObject
*_wrap_new_ArtProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxPyArtProvider
*result
;
14279 char *kwnames
[] = {
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14286 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14288 wxPyEndAllowThreads(__tstate
);
14289 if (PyErr_Occurred()) SWIG_fail
;
14291 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14298 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
;
14300 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14301 PyObject
*arg2
= (PyObject
*) 0 ;
14302 PyObject
*arg3
= (PyObject
*) 0 ;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 PyObject
* obj2
= 0 ;
14306 char *kwnames
[] = {
14307 (char *) "self",(char *) "self",(char *) "_class", NULL
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14322 Py_INCREF(Py_None
); resultobj
= Py_None
;
14329 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14330 PyObject
*resultobj
;
14331 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "provider", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14342 wxPyArtProvider::PushProvider(arg1
);
14344 wxPyEndAllowThreads(__tstate
);
14345 if (PyErr_Occurred()) SWIG_fail
;
14347 Py_INCREF(Py_None
); resultobj
= Py_None
;
14354 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14357 char *kwnames
[] = {
14361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14364 result
= (bool)wxPyArtProvider::PopProvider();
14366 wxPyEndAllowThreads(__tstate
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14378 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14379 PyObject
*resultobj
;
14380 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14382 PyObject
* obj0
= 0 ;
14383 char *kwnames
[] = {
14384 (char *) "provider", NULL
14387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14406 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxString
*arg1
= 0 ;
14409 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14410 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14411 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14412 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14414 bool temp1
= False
;
14415 bool temp2
= False
;
14417 PyObject
* obj0
= 0 ;
14418 PyObject
* obj1
= 0 ;
14419 PyObject
* obj2
= 0 ;
14420 char *kwnames
[] = {
14421 (char *) "id",(char *) "client",(char *) "size", NULL
14424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14426 arg1
= wxString_in_helper(obj0
);
14427 if (arg1
== NULL
) SWIG_fail
;
14432 arg2
= wxString_in_helper(obj1
);
14433 if (arg2
== NULL
) SWIG_fail
;
14440 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14451 wxBitmap
* resultptr
;
14452 resultptr
= new wxBitmap((wxBitmap
&) result
);
14453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14477 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14478 PyObject
*resultobj
;
14479 wxString
*arg1
= 0 ;
14480 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14481 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14482 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14483 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14485 bool temp1
= False
;
14486 bool temp2
= False
;
14488 PyObject
* obj0
= 0 ;
14489 PyObject
* obj1
= 0 ;
14490 PyObject
* obj2
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "id",(char *) "client",(char *) "size", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14497 arg1
= wxString_in_helper(obj0
);
14498 if (arg1
== NULL
) SWIG_fail
;
14503 arg2
= wxString_in_helper(obj1
);
14504 if (arg2
== NULL
) SWIG_fail
;
14511 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14516 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 wxIcon
* resultptr
;
14523 resultptr
= new wxIcon((wxIcon
&) result
);
14524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14548 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14551 PyObject
* obj0
= 0 ;
14552 char *kwnames
[] = {
14553 (char *) "self", NULL
14556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 wxPyArtProvider_Destroy(arg1
);
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14566 Py_INCREF(Py_None
); resultobj
= Py_None
;
14573 static PyObject
* ArtProvider_swigregister(PyObject
*self
, PyObject
*args
) {
14575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14576 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14578 return Py_BuildValue((char *)"");
14580 static PyObject
*_wrap_delete_ConfigBase(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14583 PyObject
* obj0
= 0 ;
14584 char *kwnames
[] = {
14585 (char *) "self", NULL
14588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14595 wxPyEndAllowThreads(__tstate
);
14596 if (PyErr_Occurred()) SWIG_fail
;
14598 Py_INCREF(Py_None
); resultobj
= Py_None
;
14605 static PyObject
*_wrap_ConfigBase_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14608 wxConfigBase
*result
;
14609 PyObject
* obj0
= 0 ;
14610 char *kwnames
[] = {
14611 (char *) "config", NULL
14614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14631 static PyObject
*_wrap_ConfigBase_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 bool arg1
= (bool) True
;
14634 wxConfigBase
*result
;
14635 PyObject
* obj0
= 0 ;
14636 char *kwnames
[] = {
14637 (char *) "createOnDemand", NULL
14640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14642 arg1
= (bool) SWIG_AsBool(obj0
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14649 wxPyEndAllowThreads(__tstate
);
14650 if (PyErr_Occurred()) SWIG_fail
;
14652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14659 static PyObject
*_wrap_ConfigBase_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14660 PyObject
*resultobj
;
14661 wxConfigBase
*result
;
14662 char *kwnames
[] = {
14666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14669 result
= (wxConfigBase
*)wxConfigBase::Create();
14671 wxPyEndAllowThreads(__tstate
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14674 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14681 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14682 PyObject
*resultobj
;
14683 char *kwnames
[] = {
14687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 wxConfigBase::DontCreateOnDemand();
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14695 Py_INCREF(Py_None
); resultobj
= Py_None
;
14702 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14705 wxString
*arg2
= 0 ;
14706 bool temp2
= False
;
14707 PyObject
* obj0
= 0 ;
14708 PyObject
* obj1
= 0 ;
14709 char *kwnames
[] = {
14710 (char *) "self",(char *) "path", NULL
14713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14717 arg2
= wxString_in_helper(obj1
);
14718 if (arg2
== NULL
) SWIG_fail
;
14722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14723 (arg1
)->SetPath((wxString
const &)*arg2
);
14725 wxPyEndAllowThreads(__tstate
);
14726 if (PyErr_Occurred()) SWIG_fail
;
14728 Py_INCREF(Py_None
); resultobj
= Py_None
;
14743 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 char *kwnames
[] = {
14749 (char *) "self", NULL
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14758 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14759 result
= (wxString
*) &_result_ref
;
14762 wxPyEndAllowThreads(__tstate
);
14763 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14769 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14778 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= result
;
14804 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14809 PyObject
* obj0
= 0 ;
14810 PyObject
* obj1
= 0 ;
14811 char *kwnames
[] = {
14812 (char *) "self",(char *) "index", NULL
14815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14818 arg2
= (long) SWIG_AsLong(obj1
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14822 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14824 wxPyEndAllowThreads(__tstate
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14827 resultobj
= result
;
14834 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 char *kwnames
[] = {
14840 (char *) "self", NULL
14843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14848 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14850 wxPyEndAllowThreads(__tstate
);
14851 if (PyErr_Occurred()) SWIG_fail
;
14853 resultobj
= result
;
14860 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14865 PyObject
* obj0
= 0 ;
14866 PyObject
* obj1
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self",(char *) "index", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14874 arg2
= (long) SWIG_AsLong(obj1
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14878 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14880 wxPyEndAllowThreads(__tstate
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14883 resultobj
= result
;
14890 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14891 PyObject
*resultobj
;
14892 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14893 bool arg2
= (bool) False
;
14895 PyObject
* obj0
= 0 ;
14896 PyObject
* obj1
= 0 ;
14897 char *kwnames
[] = {
14898 (char *) "self",(char *) "recursive", NULL
14901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14905 arg2
= (bool) SWIG_AsBool(obj1
);
14906 if (PyErr_Occurred()) SWIG_fail
;
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14915 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14922 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14923 PyObject
*resultobj
;
14924 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14925 bool arg2
= (bool) False
;
14927 PyObject
* obj0
= 0 ;
14928 PyObject
* obj1
= 0 ;
14929 char *kwnames
[] = {
14930 (char *) "self",(char *) "recursive", NULL
14933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14937 arg2
= (bool) SWIG_AsBool(obj1
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14942 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14944 wxPyEndAllowThreads(__tstate
);
14945 if (PyErr_Occurred()) SWIG_fail
;
14947 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14954 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14957 wxString
*arg2
= 0 ;
14959 bool temp2
= False
;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "name", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14970 arg2
= wxString_in_helper(obj1
);
14971 if (arg2
== NULL
) SWIG_fail
;
14975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14976 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14978 wxPyEndAllowThreads(__tstate
);
14979 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14998 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15000 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15001 wxString
*arg2
= 0 ;
15003 bool temp2
= False
;
15004 PyObject
* obj0
= 0 ;
15005 PyObject
* obj1
= 0 ;
15006 char *kwnames
[] = {
15007 (char *) "self",(char *) "name", NULL
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
15011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15014 arg2
= wxString_in_helper(obj1
);
15015 if (arg2
== NULL
) SWIG_fail
;
15019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15020 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15042 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15043 PyObject
*resultobj
;
15044 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15045 wxString
*arg2
= 0 ;
15047 bool temp2
= False
;
15048 PyObject
* obj0
= 0 ;
15049 PyObject
* obj1
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self",(char *) "name", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15058 arg2
= wxString_in_helper(obj1
);
15059 if (arg2
== NULL
) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15086 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15087 PyObject
*resultobj
;
15088 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15089 wxString
*arg2
= 0 ;
15091 bool temp2
= False
;
15092 PyObject
* obj0
= 0 ;
15093 PyObject
* obj1
= 0 ;
15094 char *kwnames
[] = {
15095 (char *) "self",(char *) "name", NULL
15098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
15099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15102 arg2
= wxString_in_helper(obj1
);
15103 if (arg2
== NULL
) SWIG_fail
;
15107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15108 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
15110 wxPyEndAllowThreads(__tstate
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15113 resultobj
= SWIG_FromInt((int)result
);
15128 static PyObject
*_wrap_ConfigBase_Read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15131 wxString
*arg2
= 0 ;
15132 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15133 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15135 bool temp2
= False
;
15136 bool temp3
= False
;
15137 PyObject
* obj0
= 0 ;
15138 PyObject
* obj1
= 0 ;
15139 PyObject
* obj2
= 0 ;
15140 char *kwnames
[] = {
15141 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15148 arg2
= wxString_in_helper(obj1
);
15149 if (arg2
== NULL
) SWIG_fail
;
15154 arg3
= wxString_in_helper(obj2
);
15155 if (arg3
== NULL
) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15161 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15163 wxPyEndAllowThreads(__tstate
);
15164 if (PyErr_Occurred()) SWIG_fail
;
15168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15195 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15196 PyObject
*resultobj
;
15197 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15198 wxString
*arg2
= 0 ;
15199 long arg3
= (long) 0 ;
15201 bool temp2
= False
;
15202 PyObject
* obj0
= 0 ;
15203 PyObject
* obj1
= 0 ;
15204 PyObject
* obj2
= 0 ;
15205 char *kwnames
[] = {
15206 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15213 arg2
= wxString_in_helper(obj1
);
15214 if (arg2
== NULL
) SWIG_fail
;
15218 arg3
= (long) SWIG_AsLong(obj2
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15223 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15225 wxPyEndAllowThreads(__tstate
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15228 resultobj
= SWIG_FromLong((long)result
);
15243 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15246 wxString
*arg2
= 0 ;
15247 double arg3
= (double) 0.0 ;
15249 bool temp2
= False
;
15250 PyObject
* obj0
= 0 ;
15251 PyObject
* obj1
= 0 ;
15252 PyObject
* obj2
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 arg2
= wxString_in_helper(obj1
);
15262 if (arg2
== NULL
) SWIG_fail
;
15266 arg3
= (double) SWIG_AsDouble(obj2
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15271 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15273 wxPyEndAllowThreads(__tstate
);
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 resultobj
= SWIG_FromDouble((double)result
);
15291 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15292 PyObject
*resultobj
;
15293 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15294 wxString
*arg2
= 0 ;
15295 bool arg3
= (bool) False
;
15297 bool temp2
= False
;
15298 PyObject
* obj0
= 0 ;
15299 PyObject
* obj1
= 0 ;
15300 PyObject
* obj2
= 0 ;
15301 char *kwnames
[] = {
15302 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15309 arg2
= wxString_in_helper(obj1
);
15310 if (arg2
== NULL
) SWIG_fail
;
15314 arg3
= (bool) SWIG_AsBool(obj2
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15341 static PyObject
*_wrap_ConfigBase_Write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15342 PyObject
*resultobj
;
15343 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15344 wxString
*arg2
= 0 ;
15345 wxString
*arg3
= 0 ;
15347 bool temp2
= False
;
15348 bool temp3
= False
;
15349 PyObject
* obj0
= 0 ;
15350 PyObject
* obj1
= 0 ;
15351 PyObject
* obj2
= 0 ;
15352 char *kwnames
[] = {
15353 (char *) "self",(char *) "key",(char *) "value", NULL
15356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15360 arg2
= wxString_in_helper(obj1
);
15361 if (arg2
== NULL
) SWIG_fail
;
15365 arg3
= wxString_in_helper(obj2
);
15366 if (arg3
== NULL
) SWIG_fail
;
15370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15371 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15373 wxPyEndAllowThreads(__tstate
);
15374 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15401 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15402 PyObject
*resultobj
;
15403 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15404 wxString
*arg2
= 0 ;
15407 bool temp2
= False
;
15408 PyObject
* obj0
= 0 ;
15409 PyObject
* obj1
= 0 ;
15410 PyObject
* obj2
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self",(char *) "key",(char *) "value", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 arg2
= wxString_in_helper(obj1
);
15420 if (arg2
== NULL
) SWIG_fail
;
15423 arg3
= (long) SWIG_AsLong(obj2
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15427 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15449 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15452 wxString
*arg2
= 0 ;
15455 bool temp2
= False
;
15456 PyObject
* obj0
= 0 ;
15457 PyObject
* obj1
= 0 ;
15458 PyObject
* obj2
= 0 ;
15459 char *kwnames
[] = {
15460 (char *) "self",(char *) "key",(char *) "value", NULL
15463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15467 arg2
= wxString_in_helper(obj1
);
15468 if (arg2
== NULL
) SWIG_fail
;
15471 arg3
= (double) SWIG_AsDouble(obj2
);
15472 if (PyErr_Occurred()) SWIG_fail
;
15474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15475 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15477 wxPyEndAllowThreads(__tstate
);
15478 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15497 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15498 PyObject
*resultobj
;
15499 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15500 wxString
*arg2
= 0 ;
15503 bool temp2
= False
;
15504 PyObject
* obj0
= 0 ;
15505 PyObject
* obj1
= 0 ;
15506 PyObject
* obj2
= 0 ;
15507 char *kwnames
[] = {
15508 (char *) "self",(char *) "key",(char *) "value", NULL
15511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15515 arg2
= wxString_in_helper(obj1
);
15516 if (arg2
== NULL
) SWIG_fail
;
15519 arg3
= (bool) SWIG_AsBool(obj2
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15545 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15548 bool arg2
= (bool) False
;
15550 PyObject
* obj0
= 0 ;
15551 PyObject
* obj1
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self",(char *) "currentOnly", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15560 arg2
= (bool) SWIG_AsBool(obj1
);
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (bool)(arg1
)->Flush(arg2
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15579 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15582 wxString
*arg2
= 0 ;
15583 wxString
*arg3
= 0 ;
15585 bool temp2
= False
;
15586 bool temp3
= False
;
15587 PyObject
* obj0
= 0 ;
15588 PyObject
* obj1
= 0 ;
15589 PyObject
* obj2
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15598 arg2
= wxString_in_helper(obj1
);
15599 if (arg2
== NULL
) SWIG_fail
;
15603 arg3
= wxString_in_helper(obj2
);
15604 if (arg3
== NULL
) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15639 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15642 wxString
*arg2
= 0 ;
15643 wxString
*arg3
= 0 ;
15645 bool temp2
= False
;
15646 bool temp3
= False
;
15647 PyObject
* obj0
= 0 ;
15648 PyObject
* obj1
= 0 ;
15649 PyObject
* obj2
= 0 ;
15650 char *kwnames
[] = {
15651 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15658 arg2
= wxString_in_helper(obj1
);
15659 if (arg2
== NULL
) SWIG_fail
;
15663 arg3
= wxString_in_helper(obj2
);
15664 if (arg3
== NULL
) SWIG_fail
;
15668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15669 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15699 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15702 wxString
*arg2
= 0 ;
15703 bool arg3
= (bool) True
;
15705 bool temp2
= False
;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 PyObject
* obj2
= 0 ;
15709 char *kwnames
[] = {
15710 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15717 arg2
= wxString_in_helper(obj1
);
15718 if (arg2
== NULL
) SWIG_fail
;
15722 arg3
= (bool) SWIG_AsBool(obj2
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15727 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15729 wxPyEndAllowThreads(__tstate
);
15730 if (PyErr_Occurred()) SWIG_fail
;
15733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15749 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15752 wxString
*arg2
= 0 ;
15754 bool temp2
= False
;
15755 PyObject
* obj0
= 0 ;
15756 PyObject
* obj1
= 0 ;
15757 char *kwnames
[] = {
15758 (char *) "self",(char *) "key", NULL
15761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15765 arg2
= wxString_in_helper(obj1
);
15766 if (arg2
== NULL
) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15793 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15797 PyObject
* obj0
= 0 ;
15798 char *kwnames
[] = {
15799 (char *) "self", NULL
15802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15807 result
= (bool)(arg1
)->DeleteAll();
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15821 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15824 bool arg2
= (bool) True
;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self",(char *) "doIt", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15835 arg2
= (bool) SWIG_AsBool(obj1
);
15836 if (PyErr_Occurred()) SWIG_fail
;
15839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15840 (arg1
)->SetExpandEnvVars(arg2
);
15842 wxPyEndAllowThreads(__tstate
);
15843 if (PyErr_Occurred()) SWIG_fail
;
15845 Py_INCREF(Py_None
); resultobj
= Py_None
;
15852 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15853 PyObject
*resultobj
;
15854 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15856 PyObject
* obj0
= 0 ;
15857 char *kwnames
[] = {
15858 (char *) "self", NULL
15861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15866 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15868 wxPyEndAllowThreads(__tstate
);
15869 if (PyErr_Occurred()) SWIG_fail
;
15872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15880 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15881 PyObject
*resultobj
;
15882 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15883 bool arg2
= (bool) True
;
15884 PyObject
* obj0
= 0 ;
15885 PyObject
* obj1
= 0 ;
15886 char *kwnames
[] = {
15887 (char *) "self",(char *) "doIt", NULL
15890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15894 arg2
= (bool) SWIG_AsBool(obj1
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 (arg1
)->SetRecordDefaults(arg2
);
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 Py_INCREF(Py_None
); resultobj
= Py_None
;
15911 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15915 PyObject
* obj0
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15939 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15942 wxString
*arg2
= 0 ;
15944 bool temp2
= False
;
15945 PyObject
* obj0
= 0 ;
15946 PyObject
* obj1
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self",(char *) "str", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15955 arg2
= wxString_in_helper(obj1
);
15956 if (arg2
== NULL
) SWIG_fail
;
15960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15961 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
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());
15987 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15991 PyObject
* obj0
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16001 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
16003 wxPyEndAllowThreads(__tstate
);
16004 if (PyErr_Occurred()) SWIG_fail
;
16008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16019 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16020 PyObject
*resultobj
;
16021 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16023 PyObject
* obj0
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16033 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
16035 wxPyEndAllowThreads(__tstate
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16051 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16053 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16054 wxString
*arg2
= 0 ;
16055 bool temp2
= False
;
16056 PyObject
* obj0
= 0 ;
16057 PyObject
* obj1
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self",(char *) "appName", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
16063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 arg2
= wxString_in_helper(obj1
);
16067 if (arg2
== NULL
) SWIG_fail
;
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 (arg1
)->SetAppName((wxString
const &)*arg2
);
16074 wxPyEndAllowThreads(__tstate
);
16075 if (PyErr_Occurred()) SWIG_fail
;
16077 Py_INCREF(Py_None
); resultobj
= Py_None
;
16092 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16093 PyObject
*resultobj
;
16094 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16095 wxString
*arg2
= 0 ;
16096 bool temp2
= False
;
16097 PyObject
* obj0
= 0 ;
16098 PyObject
* obj1
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self",(char *) "vendorName", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16107 arg2
= wxString_in_helper(obj1
);
16108 if (arg2
== NULL
) SWIG_fail
;
16112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16113 (arg1
)->SetVendorName((wxString
const &)*arg2
);
16115 wxPyEndAllowThreads(__tstate
);
16116 if (PyErr_Occurred()) SWIG_fail
;
16118 Py_INCREF(Py_None
); resultobj
= Py_None
;
16133 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16137 PyObject
* obj0
= 0 ;
16138 PyObject
* obj1
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "self",(char *) "style", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
16144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16146 arg2
= (long) SWIG_AsLong(obj1
);
16147 if (PyErr_Occurred()) SWIG_fail
;
16149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16150 (arg1
)->SetStyle(arg2
);
16152 wxPyEndAllowThreads(__tstate
);
16153 if (PyErr_Occurred()) SWIG_fail
;
16155 Py_INCREF(Py_None
); resultobj
= Py_None
;
16162 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16163 PyObject
*resultobj
;
16164 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16166 PyObject
* obj0
= 0 ;
16167 char *kwnames
[] = {
16168 (char *) "self", NULL
16171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16176 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16178 wxPyEndAllowThreads(__tstate
);
16179 if (PyErr_Occurred()) SWIG_fail
;
16181 resultobj
= SWIG_FromLong((long)result
);
16188 static PyObject
* ConfigBase_swigregister(PyObject
*self
, PyObject
*args
) {
16190 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16191 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16193 return Py_BuildValue((char *)"");
16195 static PyObject
*_wrap_new_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16196 PyObject
*resultobj
;
16197 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16198 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16199 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16200 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16201 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16202 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16203 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16204 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16205 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16207 bool temp1
= False
;
16208 bool temp2
= False
;
16209 bool temp3
= False
;
16210 bool temp4
= False
;
16211 PyObject
* obj0
= 0 ;
16212 PyObject
* obj1
= 0 ;
16213 PyObject
* obj2
= 0 ;
16214 PyObject
* obj3
= 0 ;
16215 PyObject
* obj4
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16223 arg1
= wxString_in_helper(obj0
);
16224 if (arg1
== NULL
) SWIG_fail
;
16230 arg2
= wxString_in_helper(obj1
);
16231 if (arg2
== NULL
) SWIG_fail
;
16237 arg3
= wxString_in_helper(obj2
);
16238 if (arg3
== NULL
) SWIG_fail
;
16244 arg4
= wxString_in_helper(obj3
);
16245 if (arg4
== NULL
) SWIG_fail
;
16250 arg5
= (long) SWIG_AsLong(obj4
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16255 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16257 wxPyEndAllowThreads(__tstate
);
16258 if (PyErr_Occurred()) SWIG_fail
;
16260 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16299 static PyObject
*_wrap_delete_Config(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16300 PyObject
*resultobj
;
16301 wxConfig
*arg1
= (wxConfig
*) 0 ;
16302 PyObject
* obj0
= 0 ;
16303 char *kwnames
[] = {
16304 (char *) "self", NULL
16307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16314 wxPyEndAllowThreads(__tstate
);
16315 if (PyErr_Occurred()) SWIG_fail
;
16317 Py_INCREF(Py_None
); resultobj
= Py_None
;
16324 static PyObject
* Config_swigregister(PyObject
*self
, PyObject
*args
) {
16326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16327 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16329 return Py_BuildValue((char *)"");
16331 static PyObject
*_wrap_new_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16334 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16335 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16336 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16337 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16338 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16339 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16340 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16341 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16342 wxFileConfig
*result
;
16343 bool temp1
= False
;
16344 bool temp2
= False
;
16345 bool temp3
= False
;
16346 bool temp4
= False
;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj1
= 0 ;
16349 PyObject
* obj2
= 0 ;
16350 PyObject
* obj3
= 0 ;
16351 PyObject
* obj4
= 0 ;
16352 char *kwnames
[] = {
16353 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16359 arg1
= wxString_in_helper(obj0
);
16360 if (arg1
== NULL
) SWIG_fail
;
16366 arg2
= wxString_in_helper(obj1
);
16367 if (arg2
== NULL
) SWIG_fail
;
16373 arg3
= wxString_in_helper(obj2
);
16374 if (arg3
== NULL
) SWIG_fail
;
16380 arg4
= wxString_in_helper(obj3
);
16381 if (arg4
== NULL
) SWIG_fail
;
16386 arg5
= (long) SWIG_AsLong(obj4
);
16387 if (PyErr_Occurred()) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16396 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16435 static PyObject
*_wrap_delete_FileConfig(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 char *kwnames
[] = {
16440 (char *) "self", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 Py_INCREF(Py_None
); resultobj
= Py_None
;
16460 static PyObject
* FileConfig_swigregister(PyObject
*self
, PyObject
*args
) {
16462 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16463 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16465 return Py_BuildValue((char *)"");
16467 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
;
16469 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16470 wxString
*arg2
= 0 ;
16471 wxConfigPathChanger
*result
;
16472 bool temp2
= False
;
16473 PyObject
* obj0
= 0 ;
16474 PyObject
* obj1
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "config",(char *) "entry", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16483 arg2
= wxString_in_helper(obj1
);
16484 if (arg2
== NULL
) SWIG_fail
;
16488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16489 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16491 wxPyEndAllowThreads(__tstate
);
16492 if (PyErr_Occurred()) SWIG_fail
;
16494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16509 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16510 PyObject
*resultobj
;
16511 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16512 PyObject
* obj0
= 0 ;
16513 char *kwnames
[] = {
16514 (char *) "self", NULL
16517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16524 wxPyEndAllowThreads(__tstate
);
16525 if (PyErr_Occurred()) SWIG_fail
;
16527 Py_INCREF(Py_None
); resultobj
= Py_None
;
16534 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16535 PyObject
*resultobj
;
16536 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16538 PyObject
* obj0
= 0 ;
16539 char *kwnames
[] = {
16540 (char *) "self", NULL
16543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16550 result
= (wxString
*) &_result_ref
;
16553 wxPyEndAllowThreads(__tstate
);
16554 if (PyErr_Occurred()) SWIG_fail
;
16558 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16560 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16569 static PyObject
* ConfigPathChanger_swigregister(PyObject
*self
, PyObject
*args
) {
16571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16572 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16574 return Py_BuildValue((char *)"");
16576 static PyObject
*_wrap_ExpandEnvVars(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
;
16578 wxString
*arg1
= 0 ;
16580 bool temp1
= False
;
16581 PyObject
* obj0
= 0 ;
16582 char *kwnames
[] = {
16583 (char *) "sz", NULL
16586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16588 arg1
= wxString_in_helper(obj0
);
16589 if (arg1
== NULL
) SWIG_fail
;
16593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16594 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16596 wxPyEndAllowThreads(__tstate
);
16597 if (PyErr_Occurred()) SWIG_fail
;
16601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16620 static int _wrap_DateFormatStr_set(PyObject
*_val
) {
16621 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16626 static PyObject
*_wrap_DateFormatStr_get() {
16631 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16633 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16640 static int _wrap_TimeSpanFormatStr_set(PyObject
*_val
) {
16641 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16646 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16651 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16653 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16660 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16663 PyObject
* obj0
= 0 ;
16664 char *kwnames
[] = {
16665 (char *) "country", NULL
16668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16669 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16670 if (PyErr_Occurred()) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 Py_INCREF(Py_None
); resultobj
= Py_None
;
16685 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16688 char *kwnames
[] = {
16692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16695 result
= (int)wxDateTime::GetCountry();
16697 wxPyEndAllowThreads(__tstate
);
16698 if (PyErr_Occurred()) SWIG_fail
;
16700 resultobj
= SWIG_FromInt((int)result
);
16707 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16708 PyObject
*resultobj
;
16709 int arg1
= (int) wxDateTime::Country_Default
;
16711 PyObject
* obj0
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "country", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16718 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16719 if (PyErr_Occurred()) SWIG_fail
;
16722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16723 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16725 wxPyEndAllowThreads(__tstate
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16737 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
;
16739 int arg1
= (int) wxDateTime::Gregorian
;
16741 PyObject
* obj0
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "cal", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16748 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= SWIG_FromInt((int)result
);
16765 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
;
16769 PyObject
* obj0
= 0 ;
16770 char *kwnames
[] = {
16771 (char *) "year", NULL
16774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16775 arg1
= (int) SWIG_AsInt(obj0
);
16776 if (PyErr_Occurred()) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 resultobj
= SWIG_FromInt((int)result
);
16791 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
;
16793 int arg1
= (int) wxDateTime::Gregorian
;
16795 PyObject
* obj0
= 0 ;
16796 char *kwnames
[] = {
16797 (char *) "cal", NULL
16800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16802 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16812 resultobj
= SWIG_FromInt((int)result
);
16819 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16820 PyObject
*resultobj
;
16821 int arg1
= (int) wxDateTime::Inv_Year
;
16822 int arg2
= (int) wxDateTime::Gregorian
;
16824 PyObject
* obj0
= 0 ;
16825 PyObject
* obj1
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "year",(char *) "cal", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16832 arg1
= (int) SWIG_AsInt(obj0
);
16833 if (PyErr_Occurred()) SWIG_fail
;
16836 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16837 if (PyErr_Occurred()) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16847 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16855 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 int arg1
= (int) wxDateTime::Inv_Year
;
16859 PyObject
* obj0
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "year", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16866 arg1
= (int) SWIG_AsInt(obj0
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16871 result
= (int)wxDateTime::GetCentury(arg1
);
16873 wxPyEndAllowThreads(__tstate
);
16874 if (PyErr_Occurred()) SWIG_fail
;
16876 resultobj
= SWIG_FromInt((int)result
);
16883 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16884 PyObject
*resultobj
;
16886 int arg2
= (int) wxDateTime::Gregorian
;
16888 PyObject
* obj0
= 0 ;
16889 PyObject
* obj1
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "year",(char *) "cal", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16895 arg1
= (int) SWIG_AsInt(obj0
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16903 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_FromInt((int)result
);
16915 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16916 PyObject
*resultobj
;
16918 int arg2
= (int) wxDateTime::Inv_Year
;
16919 int arg3
= (int) wxDateTime::Gregorian
;
16921 PyObject
* obj0
= 0 ;
16922 PyObject
* obj1
= 0 ;
16923 PyObject
* obj2
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "month",(char *) "year",(char *) "cal", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16929 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16930 if (PyErr_Occurred()) SWIG_fail
;
16932 arg2
= (int) SWIG_AsInt(obj1
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16936 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16941 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16943 wxPyEndAllowThreads(__tstate
);
16944 if (PyErr_Occurred()) SWIG_fail
;
16946 resultobj
= SWIG_FromInt((int)result
);
16953 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16956 int arg2
= (int) wxDateTime::Name_Full
;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "month",(char *) "flags", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16965 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16969 if (PyErr_Occurred()) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16991 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16992 PyObject
*resultobj
;
16994 int arg2
= (int) wxDateTime::Name_Full
;
16996 PyObject
* obj0
= 0 ;
16997 PyObject
* obj1
= 0 ;
16998 char *kwnames
[] = {
16999 (char *) "weekday",(char *) "flags", NULL
17002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
17003 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
17007 if (PyErr_Occurred()) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17029 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17030 PyObject
*resultobj
;
17031 wxString
*arg1
= (wxString
*) 0 ;
17032 wxString
*arg2
= (wxString
*) 0 ;
17033 bool temp1
= False
;
17034 bool temp2
= False
;
17035 PyObject
* obj0
= 0 ;
17036 PyObject
* obj1
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "OUTPUT",(char *) "OUTPUT", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
17043 arg1
= wxString_in_helper(obj0
);
17044 if (arg1
== NULL
) SWIG_fail
;
17048 arg2
= wxString_in_helper(obj1
);
17049 if (arg2
== NULL
) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 wxDateTime::GetAmPmStrings(arg1
,arg2
);
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 Py_INCREF(Py_None
); resultobj
= Py_None
;
17082 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 int arg1
= (int) wxDateTime::Inv_Year
;
17085 int arg2
= (int) wxDateTime::Country_Default
;
17087 PyObject
* obj0
= 0 ;
17088 PyObject
* obj1
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "year",(char *) "country", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
17095 arg1
= (int) SWIG_AsInt(obj0
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17099 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17100 if (PyErr_Occurred()) SWIG_fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17118 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17119 PyObject
*resultobj
;
17120 int arg1
= (int) wxDateTime::Inv_Year
;
17121 int arg2
= (int) wxDateTime::Country_Default
;
17123 PyObject
* obj0
= 0 ;
17124 PyObject
* obj1
= 0 ;
17125 char *kwnames
[] = {
17126 (char *) "year",(char *) "country", NULL
17129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17131 arg1
= (int) SWIG_AsInt(obj0
);
17132 if (PyErr_Occurred()) SWIG_fail
;
17135 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17136 if (PyErr_Occurred()) SWIG_fail
;
17139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17140 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
17142 wxPyEndAllowThreads(__tstate
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17146 wxDateTime
* resultptr
;
17147 resultptr
= new wxDateTime((wxDateTime
&) result
);
17148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17156 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 int arg1
= (int) wxDateTime::Inv_Year
;
17159 int arg2
= (int) wxDateTime::Country_Default
;
17161 PyObject
* obj0
= 0 ;
17162 PyObject
* obj1
= 0 ;
17163 char *kwnames
[] = {
17164 (char *) "year",(char *) "country", NULL
17167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17169 arg1
= (int) SWIG_AsInt(obj0
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17173 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17174 if (PyErr_Occurred()) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17184 wxDateTime
* resultptr
;
17185 resultptr
= new wxDateTime((wxDateTime
&) result
);
17186 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17194 static PyObject
*_wrap_DateTime_Now(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17197 char *kwnames
[] = {
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= wxDateTime::Now();
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 wxDateTime
* resultptr
;
17211 resultptr
= new wxDateTime((wxDateTime
&) result
);
17212 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17220 static PyObject
*_wrap_DateTime_UNow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17221 PyObject
*resultobj
;
17223 char *kwnames
[] = {
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= wxDateTime::UNow();
17232 wxPyEndAllowThreads(__tstate
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17236 wxDateTime
* resultptr
;
17237 resultptr
= new wxDateTime((wxDateTime
&) result
);
17238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17246 static PyObject
*_wrap_DateTime_Today(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17247 PyObject
*resultobj
;
17249 char *kwnames
[] = {
17253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= wxDateTime::Today();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 wxDateTime
* resultptr
;
17263 resultptr
= new wxDateTime((wxDateTime
&) result
);
17264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17272 static PyObject
*_wrap_new_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
;
17274 wxDateTime
*result
;
17275 char *kwnames
[] = {
17279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17282 result
= (wxDateTime
*)new wxDateTime();
17284 wxPyEndAllowThreads(__tstate
);
17285 if (PyErr_Occurred()) SWIG_fail
;
17287 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17294 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17295 PyObject
*resultobj
;
17297 wxDateTime
*result
;
17298 PyObject
* obj0
= 0 ;
17299 char *kwnames
[] = {
17300 (char *) "timet", NULL
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17304 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17308 result
= (wxDateTime
*)new wxDateTime(arg1
);
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17320 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17323 wxDateTime
*result
;
17324 PyObject
* obj0
= 0 ;
17325 char *kwnames
[] = {
17326 (char *) "jdn", NULL
17329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17330 arg1
= (double) SWIG_AsDouble(obj0
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 result
= (wxDateTime
*)new wxDateTime(arg1
);
17336 wxPyEndAllowThreads(__tstate
);
17337 if (PyErr_Occurred()) SWIG_fail
;
17339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17346 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17347 PyObject
*resultobj
;
17349 int arg2
= (int) 0 ;
17350 int arg3
= (int) 0 ;
17351 int arg4
= (int) 0 ;
17352 wxDateTime
*result
;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 PyObject
* obj2
= 0 ;
17356 PyObject
* obj3
= 0 ;
17357 char *kwnames
[] = {
17358 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17362 arg1
= (int) SWIG_AsInt(obj0
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17365 arg2
= (int) SWIG_AsInt(obj1
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17369 arg3
= (int) SWIG_AsInt(obj2
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17373 arg4
= (int) SWIG_AsInt(obj3
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17378 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17380 wxPyEndAllowThreads(__tstate
);
17381 if (PyErr_Occurred()) SWIG_fail
;
17383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17390 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
;
17393 int arg2
= (int) wxDateTime::Inv_Month
;
17394 int arg3
= (int) wxDateTime::Inv_Year
;
17395 int arg4
= (int) 0 ;
17396 int arg5
= (int) 0 ;
17397 int arg6
= (int) 0 ;
17398 int arg7
= (int) 0 ;
17399 wxDateTime
*result
;
17400 PyObject
* obj0
= 0 ;
17401 PyObject
* obj1
= 0 ;
17402 PyObject
* obj2
= 0 ;
17403 PyObject
* obj3
= 0 ;
17404 PyObject
* obj4
= 0 ;
17405 PyObject
* obj5
= 0 ;
17406 PyObject
* obj6
= 0 ;
17407 char *kwnames
[] = {
17408 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17412 arg1
= (int) SWIG_AsInt(obj0
);
17413 if (PyErr_Occurred()) SWIG_fail
;
17415 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17419 arg3
= (int) SWIG_AsInt(obj2
);
17420 if (PyErr_Occurred()) SWIG_fail
;
17423 arg4
= (int) SWIG_AsInt(obj3
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17427 arg5
= (int) SWIG_AsInt(obj4
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17431 arg6
= (int) SWIG_AsInt(obj5
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17435 arg7
= (int) SWIG_AsInt(obj6
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17440 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17442 wxPyEndAllowThreads(__tstate
);
17443 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17452 static PyObject
*_wrap_delete_DateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17453 PyObject
*resultobj
;
17454 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17455 PyObject
* obj0
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 Py_INCREF(Py_None
); resultobj
= Py_None
;
17477 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17480 wxDateTime
*result
;
17481 PyObject
* obj0
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17493 result
= (wxDateTime
*) &_result_ref
;
17496 wxPyEndAllowThreads(__tstate
);
17497 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17506 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
;
17508 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17510 wxDateTime
*result
;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "timet", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17520 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17526 result
= (wxDateTime
*) &_result_ref
;
17529 wxPyEndAllowThreads(__tstate
);
17530 if (PyErr_Occurred()) SWIG_fail
;
17532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17539 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17543 wxDateTime
*result
;
17544 PyObject
* obj0
= 0 ;
17545 PyObject
* obj1
= 0 ;
17546 char *kwnames
[] = {
17547 (char *) "self",(char *) "jdn", NULL
17550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17553 arg2
= (double) SWIG_AsDouble(obj1
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17559 result
= (wxDateTime
*) &_result_ref
;
17562 wxPyEndAllowThreads(__tstate
);
17563 if (PyErr_Occurred()) SWIG_fail
;
17565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17572 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17573 PyObject
*resultobj
;
17574 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17576 int arg3
= (int) 0 ;
17577 int arg4
= (int) 0 ;
17578 int arg5
= (int) 0 ;
17579 wxDateTime
*result
;
17580 PyObject
* obj0
= 0 ;
17581 PyObject
* obj1
= 0 ;
17582 PyObject
* obj2
= 0 ;
17583 PyObject
* obj3
= 0 ;
17584 PyObject
* obj4
= 0 ;
17585 char *kwnames
[] = {
17586 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17592 arg2
= (int) SWIG_AsInt(obj1
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 arg3
= (int) SWIG_AsInt(obj2
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17599 arg4
= (int) SWIG_AsInt(obj3
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17603 arg5
= (int) SWIG_AsInt(obj4
);
17604 if (PyErr_Occurred()) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17610 result
= (wxDateTime
*) &_result_ref
;
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17623 static PyObject
*_wrap_DateTime_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17627 int arg3
= (int) wxDateTime::Inv_Month
;
17628 int arg4
= (int) wxDateTime::Inv_Year
;
17629 int arg5
= (int) 0 ;
17630 int arg6
= (int) 0 ;
17631 int arg7
= (int) 0 ;
17632 int arg8
= (int) 0 ;
17633 wxDateTime
*result
;
17634 PyObject
* obj0
= 0 ;
17635 PyObject
* obj1
= 0 ;
17636 PyObject
* obj2
= 0 ;
17637 PyObject
* obj3
= 0 ;
17638 PyObject
* obj4
= 0 ;
17639 PyObject
* obj5
= 0 ;
17640 PyObject
* obj6
= 0 ;
17641 PyObject
* obj7
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17649 arg2
= (int) SWIG_AsInt(obj1
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17656 arg4
= (int) SWIG_AsInt(obj3
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17660 arg5
= (int) SWIG_AsInt(obj4
);
17661 if (PyErr_Occurred()) SWIG_fail
;
17664 arg6
= (int) SWIG_AsInt(obj5
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17668 arg7
= (int) SWIG_AsInt(obj6
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17672 arg8
= (int) SWIG_AsInt(obj7
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17678 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17679 result
= (wxDateTime
*) &_result_ref
;
17682 wxPyEndAllowThreads(__tstate
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17692 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
;
17694 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17695 wxDateTime
*result
;
17696 PyObject
* obj0
= 0 ;
17697 char *kwnames
[] = {
17698 (char *) "self", NULL
17701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17708 result
= (wxDateTime
*) &_result_ref
;
17711 wxPyEndAllowThreads(__tstate
);
17712 if (PyErr_Occurred()) SWIG_fail
;
17714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17721 static PyObject
*_wrap_DateTime_SetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17723 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17725 wxDateTime
*result
;
17726 PyObject
* obj0
= 0 ;
17727 PyObject
* obj1
= 0 ;
17728 char *kwnames
[] = {
17729 (char *) "self",(char *) "year", NULL
17732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17735 arg2
= (int) SWIG_AsInt(obj1
);
17736 if (PyErr_Occurred()) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17740 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17741 result
= (wxDateTime
*) &_result_ref
;
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17754 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17755 PyObject
*resultobj
;
17756 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17758 wxDateTime
*result
;
17759 PyObject
* obj0
= 0 ;
17760 PyObject
* obj1
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self",(char *) "month", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17768 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17769 if (PyErr_Occurred()) SWIG_fail
;
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17773 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17774 result
= (wxDateTime
*) &_result_ref
;
17777 wxPyEndAllowThreads(__tstate
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17787 static PyObject
*_wrap_DateTime_SetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17788 PyObject
*resultobj
;
17789 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17791 wxDateTime
*result
;
17792 PyObject
* obj0
= 0 ;
17793 PyObject
* obj1
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self",(char *) "day", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17801 arg2
= (int) SWIG_AsInt(obj1
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17807 result
= (wxDateTime
*) &_result_ref
;
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17820 static PyObject
*_wrap_DateTime_SetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17821 PyObject
*resultobj
;
17822 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17824 wxDateTime
*result
;
17825 PyObject
* obj0
= 0 ;
17826 PyObject
* obj1
= 0 ;
17827 char *kwnames
[] = {
17828 (char *) "self",(char *) "hour", NULL
17831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17834 arg2
= (int) SWIG_AsInt(obj1
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17839 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17840 result
= (wxDateTime
*) &_result_ref
;
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17853 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17854 PyObject
*resultobj
;
17855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17857 wxDateTime
*result
;
17858 PyObject
* obj0
= 0 ;
17859 PyObject
* obj1
= 0 ;
17860 char *kwnames
[] = {
17861 (char *) "self",(char *) "minute", NULL
17864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17867 arg2
= (int) SWIG_AsInt(obj1
);
17868 if (PyErr_Occurred()) SWIG_fail
;
17870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17872 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17873 result
= (wxDateTime
*) &_result_ref
;
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17886 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17890 wxDateTime
*result
;
17891 PyObject
* obj0
= 0 ;
17892 PyObject
* obj1
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self",(char *) "second", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17900 arg2
= (int) SWIG_AsInt(obj1
);
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17906 result
= (wxDateTime
*) &_result_ref
;
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17919 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17923 wxDateTime
*result
;
17924 PyObject
* obj0
= 0 ;
17925 PyObject
* obj1
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "self",(char *) "millisecond", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17933 arg2
= (int) SWIG_AsInt(obj1
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17938 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17939 result
= (wxDateTime
*) &_result_ref
;
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17952 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17956 int arg3
= (int) wxDateTime::Monday_First
;
17957 wxDateTime
*result
;
17958 PyObject
* obj0
= 0 ;
17959 PyObject
* obj1
= 0 ;
17960 PyObject
* obj2
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17968 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17978 result
= (wxDateTime
*) &_result_ref
;
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17991 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17995 int arg3
= (int) wxDateTime::Monday_First
;
17997 PyObject
* obj0
= 0 ;
17998 PyObject
* obj1
= 0 ;
17999 PyObject
* obj2
= 0 ;
18000 char *kwnames
[] = {
18001 (char *) "self",(char *) "weekday",(char *) "flags", NULL
18004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18007 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18010 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
18011 if (PyErr_Occurred()) SWIG_fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18021 wxDateTime
* resultptr
;
18022 resultptr
= new wxDateTime((wxDateTime
&) result
);
18023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18031 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18035 wxDateTime
*result
;
18036 PyObject
* obj0
= 0 ;
18037 PyObject
* obj1
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self",(char *) "weekday", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18045 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18046 if (PyErr_Occurred()) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
18051 result
= (wxDateTime
*) &_result_ref
;
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18064 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18065 PyObject
*resultobj
;
18066 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 PyObject
* obj1
= 0 ;
18071 char *kwnames
[] = {
18072 (char *) "self",(char *) "weekday", NULL
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18078 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18082 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
18084 wxPyEndAllowThreads(__tstate
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18088 wxDateTime
* resultptr
;
18089 resultptr
= new wxDateTime((wxDateTime
&) result
);
18090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18098 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18099 PyObject
*resultobj
;
18100 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18102 wxDateTime
*result
;
18103 PyObject
* obj0
= 0 ;
18104 PyObject
* obj1
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self",(char *) "weekday", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18112 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18118 result
= (wxDateTime
*) &_result_ref
;
18121 wxPyEndAllowThreads(__tstate
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18131 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18132 PyObject
*resultobj
;
18133 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18136 PyObject
* obj0
= 0 ;
18137 PyObject
* obj1
= 0 ;
18138 char *kwnames
[] = {
18139 (char *) "self",(char *) "weekday", NULL
18142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18149 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
18151 wxPyEndAllowThreads(__tstate
);
18152 if (PyErr_Occurred()) SWIG_fail
;
18155 wxDateTime
* resultptr
;
18156 resultptr
= new wxDateTime((wxDateTime
&) result
);
18157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18165 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18167 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18169 int arg3
= (int) 1 ;
18170 int arg4
= (int) wxDateTime::Inv_Month
;
18171 int arg5
= (int) wxDateTime::Inv_Year
;
18173 PyObject
* obj0
= 0 ;
18174 PyObject
* obj1
= 0 ;
18175 PyObject
* obj2
= 0 ;
18176 PyObject
* obj3
= 0 ;
18177 PyObject
* obj4
= 0 ;
18178 char *kwnames
[] = {
18179 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18185 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18186 if (PyErr_Occurred()) SWIG_fail
;
18188 arg3
= (int) SWIG_AsInt(obj2
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18192 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18196 arg5
= (int) SWIG_AsInt(obj4
);
18197 if (PyErr_Occurred()) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18215 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
;
18217 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18219 int arg3
= (int) wxDateTime::Inv_Month
;
18220 int arg4
= (int) wxDateTime::Inv_Year
;
18222 PyObject
* obj0
= 0 ;
18223 PyObject
* obj1
= 0 ;
18224 PyObject
* obj2
= 0 ;
18225 PyObject
* obj3
= 0 ;
18226 char *kwnames
[] = {
18227 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18233 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18237 if (PyErr_Occurred()) SWIG_fail
;
18240 arg4
= (int) SWIG_AsInt(obj3
);
18241 if (PyErr_Occurred()) SWIG_fail
;
18244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18245 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18247 wxPyEndAllowThreads(__tstate
);
18248 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18259 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18260 PyObject
*resultobj
;
18261 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18263 int arg3
= (int) wxDateTime::Inv_Month
;
18264 int arg4
= (int) wxDateTime::Inv_Year
;
18266 PyObject
* obj0
= 0 ;
18267 PyObject
* obj1
= 0 ;
18268 PyObject
* obj2
= 0 ;
18269 PyObject
* obj3
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18277 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18284 arg4
= (int) SWIG_AsInt(obj3
);
18285 if (PyErr_Occurred()) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18295 wxDateTime
* resultptr
;
18296 resultptr
= new wxDateTime((wxDateTime
&) result
);
18297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18305 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18309 int arg3
= (int) wxDateTime::Mon
;
18310 int arg4
= (int) wxDateTime::Monday_First
;
18312 PyObject
* obj0
= 0 ;
18313 PyObject
* obj1
= 0 ;
18314 PyObject
* obj2
= 0 ;
18315 PyObject
* obj3
= 0 ;
18316 char *kwnames
[] = {
18317 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18323 arg2
= (int) SWIG_AsInt(obj1
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18330 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18335 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18349 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18350 PyObject
*resultobj
;
18351 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18353 int arg3
= (int) wxDateTime::Mon
;
18354 int arg4
= (int) wxDateTime::Monday_First
;
18356 PyObject
* obj0
= 0 ;
18357 PyObject
* obj1
= 0 ;
18358 PyObject
* obj2
= 0 ;
18359 PyObject
* obj3
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18367 arg2
= (int) SWIG_AsInt(obj1
);
18368 if (PyErr_Occurred()) SWIG_fail
;
18370 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18371 if (PyErr_Occurred()) SWIG_fail
;
18374 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18385 wxDateTime
* resultptr
;
18386 resultptr
= new wxDateTime((wxDateTime
&) result
);
18387 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18395 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18396 PyObject
*resultobj
;
18397 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18398 int arg2
= (int) wxDateTime::Inv_Month
;
18399 int arg3
= (int) wxDateTime::Inv_Year
;
18400 wxDateTime
*result
;
18401 PyObject
* obj0
= 0 ;
18402 PyObject
* obj1
= 0 ;
18403 PyObject
* obj2
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "self",(char *) "month",(char *) "year", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18412 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18416 arg3
= (int) SWIG_AsInt(obj2
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18422 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18423 result
= (wxDateTime
*) &_result_ref
;
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18436 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18439 int arg2
= (int) wxDateTime::Inv_Month
;
18440 int arg3
= (int) wxDateTime::Inv_Year
;
18442 PyObject
* obj0
= 0 ;
18443 PyObject
* obj1
= 0 ;
18444 PyObject
* obj2
= 0 ;
18445 char *kwnames
[] = {
18446 (char *) "self",(char *) "month",(char *) "year", NULL
18449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18453 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18457 arg3
= (int) SWIG_AsInt(obj2
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18468 wxDateTime
* resultptr
;
18469 resultptr
= new wxDateTime((wxDateTime
&) result
);
18470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18478 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18480 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18482 wxDateTime
*result
;
18483 PyObject
* obj0
= 0 ;
18484 PyObject
* obj1
= 0 ;
18485 char *kwnames
[] = {
18486 (char *) "self",(char *) "yday", NULL
18489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18492 arg2
= (int) SWIG_AsInt(obj1
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18498 result
= (wxDateTime
*) &_result_ref
;
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18511 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18516 PyObject
* obj0
= 0 ;
18517 PyObject
* obj1
= 0 ;
18518 char *kwnames
[] = {
18519 (char *) "self",(char *) "yday", NULL
18522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18525 arg2
= (int) SWIG_AsInt(obj1
);
18526 if (PyErr_Occurred()) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (arg1
)->GetYearDay(arg2
);
18531 wxPyEndAllowThreads(__tstate
);
18532 if (PyErr_Occurred()) SWIG_fail
;
18535 wxDateTime
* resultptr
;
18536 resultptr
= new wxDateTime((wxDateTime
&) result
);
18537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18545 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18549 PyObject
* obj0
= 0 ;
18550 char *kwnames
[] = {
18551 (char *) "self", NULL
18554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 result
= (double)(arg1
)->GetJulianDayNumber();
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= SWIG_FromDouble((double)result
);
18571 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18575 PyObject
* obj0
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 result
= (double)(arg1
)->GetJDN();
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 resultobj
= SWIG_FromDouble((double)result
);
18597 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18601 PyObject
* obj0
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18616 resultobj
= SWIG_FromDouble((double)result
);
18623 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18624 PyObject
*resultobj
;
18625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18627 PyObject
* obj0
= 0 ;
18628 char *kwnames
[] = {
18629 (char *) "self", NULL
18632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (double)(arg1
)->GetMJD();
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_FromDouble((double)result
);
18649 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 char *kwnames
[] = {
18655 (char *) "self", NULL
18658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18663 result
= (double)(arg1
)->GetRataDie();
18665 wxPyEndAllowThreads(__tstate
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= SWIG_FromDouble((double)result
);
18675 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18676 PyObject
*resultobj
;
18677 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18678 wxDateTime::TimeZone
*arg2
= 0 ;
18679 bool arg3
= (bool) False
;
18681 bool temp2
= False
;
18682 PyObject
* obj0
= 0 ;
18683 PyObject
* obj1
= 0 ;
18684 PyObject
* obj2
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18693 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18697 arg3
= (bool) SWIG_AsBool(obj2
);
18698 if (PyErr_Occurred()) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18708 wxDateTime
* resultptr
;
18709 resultptr
= new wxDateTime((wxDateTime
&) result
);
18710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18713 if (temp2
) delete arg2
;
18718 if (temp2
) delete arg2
;
18724 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18727 wxDateTime::TimeZone
*arg2
= 0 ;
18728 bool arg3
= (bool) False
;
18729 wxDateTime
*result
;
18730 bool temp2
= False
;
18731 PyObject
* obj0
= 0 ;
18732 PyObject
* obj1
= 0 ;
18733 PyObject
* obj2
= 0 ;
18734 char *kwnames
[] = {
18735 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18742 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18746 arg3
= (bool) SWIG_AsBool(obj2
);
18747 if (PyErr_Occurred()) SWIG_fail
;
18750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18753 result
= (wxDateTime
*) &_result_ref
;
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18759 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18761 if (temp2
) delete arg2
;
18766 if (temp2
) delete arg2
;
18772 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18773 PyObject
*resultobj
;
18774 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18775 bool arg2
= (bool) False
;
18777 PyObject
* obj0
= 0 ;
18778 PyObject
* obj1
= 0 ;
18779 char *kwnames
[] = {
18780 (char *) "self",(char *) "noDST", NULL
18783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18787 arg2
= (bool) SWIG_AsBool(obj1
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18792 result
= (arg1
)->ToGMT(arg2
);
18794 wxPyEndAllowThreads(__tstate
);
18795 if (PyErr_Occurred()) SWIG_fail
;
18798 wxDateTime
* resultptr
;
18799 resultptr
= new wxDateTime((wxDateTime
&) result
);
18800 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18808 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18809 PyObject
*resultobj
;
18810 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18811 bool arg2
= (bool) False
;
18812 wxDateTime
*result
;
18813 PyObject
* obj0
= 0 ;
18814 PyObject
* obj1
= 0 ;
18815 char *kwnames
[] = {
18816 (char *) "self",(char *) "noDST", NULL
18819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18823 arg2
= (bool) SWIG_AsBool(obj1
);
18824 if (PyErr_Occurred()) SWIG_fail
;
18827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18830 result
= (wxDateTime
*) &_result_ref
;
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18843 static PyObject
*_wrap_DateTime_IsDST(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18846 int arg2
= (int) wxDateTime::Country_Default
;
18848 PyObject
* obj0
= 0 ;
18849 PyObject
* obj1
= 0 ;
18850 char *kwnames
[] = {
18851 (char *) "self",(char *) "country", NULL
18854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18858 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18863 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18865 wxPyEndAllowThreads(__tstate
);
18866 if (PyErr_Occurred()) SWIG_fail
;
18868 resultobj
= SWIG_FromInt((int)result
);
18875 static PyObject
*_wrap_DateTime_IsValid(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18876 PyObject
*resultobj
;
18877 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18879 PyObject
* obj0
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18903 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18904 PyObject
*resultobj
;
18905 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18907 PyObject
* obj0
= 0 ;
18908 char *kwnames
[] = {
18909 (char *) "self", NULL
18912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18917 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18919 wxPyEndAllowThreads(__tstate
);
18920 if (PyErr_Occurred()) SWIG_fail
;
18922 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18929 static PyObject
*_wrap_DateTime_GetYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18930 PyObject
*resultobj
;
18931 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18932 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18933 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18935 bool temp2
= False
;
18936 PyObject
* obj0
= 0 ;
18937 PyObject
* obj1
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self",(char *) "tz", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18947 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= SWIG_FromInt((int)result
);
18960 if (temp2
) delete arg2
;
18965 if (temp2
) delete arg2
;
18971 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
;
18973 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18974 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18975 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18977 bool temp2
= False
;
18978 PyObject
* obj0
= 0 ;
18979 PyObject
* obj1
= 0 ;
18980 char *kwnames
[] = {
18981 (char *) "self",(char *) "tz", NULL
18984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18989 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18995 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18997 wxPyEndAllowThreads(__tstate
);
18998 if (PyErr_Occurred()) SWIG_fail
;
19000 resultobj
= SWIG_FromInt((int)result
);
19002 if (temp2
) delete arg2
;
19007 if (temp2
) delete arg2
;
19013 static PyObject
*_wrap_DateTime_GetDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19014 PyObject
*resultobj
;
19015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19016 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19017 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19019 bool temp2
= False
;
19020 PyObject
* obj0
= 0 ;
19021 PyObject
* obj1
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self",(char *) "tz", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19031 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19037 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
19039 wxPyEndAllowThreads(__tstate
);
19040 if (PyErr_Occurred()) SWIG_fail
;
19042 resultobj
= SWIG_FromInt((int)result
);
19044 if (temp2
) delete arg2
;
19049 if (temp2
) delete arg2
;
19055 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19056 PyObject
*resultobj
;
19057 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19058 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19059 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19061 bool temp2
= False
;
19062 PyObject
* obj0
= 0 ;
19063 PyObject
* obj1
= 0 ;
19064 char *kwnames
[] = {
19065 (char *) "self",(char *) "tz", NULL
19068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19073 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= SWIG_FromInt((int)result
);
19086 if (temp2
) delete arg2
;
19091 if (temp2
) delete arg2
;
19097 static PyObject
*_wrap_DateTime_GetHour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19099 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19100 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19101 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19103 bool temp2
= False
;
19104 PyObject
* obj0
= 0 ;
19105 PyObject
* obj1
= 0 ;
19106 char *kwnames
[] = {
19107 (char *) "self",(char *) "tz", NULL
19110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
19111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19115 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= SWIG_FromInt((int)result
);
19128 if (temp2
) delete arg2
;
19133 if (temp2
) delete arg2
;
19139 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19140 PyObject
*resultobj
;
19141 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19142 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19143 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19145 bool temp2
= False
;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 char *kwnames
[] = {
19149 (char *) "self",(char *) "tz", NULL
19152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
19153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19157 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= SWIG_FromInt((int)result
);
19170 if (temp2
) delete arg2
;
19175 if (temp2
) delete arg2
;
19181 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19184 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19185 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19187 bool temp2
= False
;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 char *kwnames
[] = {
19191 (char *) "self",(char *) "tz", NULL
19194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19199 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= SWIG_FromInt((int)result
);
19212 if (temp2
) delete arg2
;
19217 if (temp2
) delete arg2
;
19223 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19224 PyObject
*resultobj
;
19225 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19226 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19227 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19229 bool temp2
= False
;
19230 PyObject
* obj0
= 0 ;
19231 PyObject
* obj1
= 0 ;
19232 char *kwnames
[] = {
19233 (char *) "self",(char *) "tz", NULL
19236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19241 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19252 resultobj
= SWIG_FromInt((int)result
);
19254 if (temp2
) delete arg2
;
19259 if (temp2
) delete arg2
;
19265 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19267 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19268 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19269 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19271 bool temp2
= False
;
19272 PyObject
* obj0
= 0 ;
19273 PyObject
* obj1
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self",(char *) "tz", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19283 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19289 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19291 wxPyEndAllowThreads(__tstate
);
19292 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= SWIG_FromInt((int)result
);
19296 if (temp2
) delete arg2
;
19301 if (temp2
) delete arg2
;
19307 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19308 PyObject
*resultobj
;
19309 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19310 int arg2
= (int) wxDateTime::Monday_First
;
19311 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19312 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19314 bool temp3
= False
;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 PyObject
* obj2
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self",(char *) "flags",(char *) "tz", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19331 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 resultobj
= SWIG_FromInt((int)result
);
19344 if (temp3
) delete arg3
;
19349 if (temp3
) delete arg3
;
19355 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19356 PyObject
*resultobj
;
19357 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19358 int arg2
= (int) wxDateTime::Monday_First
;
19359 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19360 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19362 bool temp3
= False
;
19363 PyObject
* obj0
= 0 ;
19364 PyObject
* obj1
= 0 ;
19365 PyObject
* obj2
= 0 ;
19366 char *kwnames
[] = {
19367 (char *) "self",(char *) "flags",(char *) "tz", NULL
19370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19374 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19375 if (PyErr_Occurred()) SWIG_fail
;
19379 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19385 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19387 wxPyEndAllowThreads(__tstate
);
19388 if (PyErr_Occurred()) SWIG_fail
;
19390 resultobj
= SWIG_FromInt((int)result
);
19392 if (temp3
) delete arg3
;
19397 if (temp3
) delete arg3
;
19403 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19404 PyObject
*resultobj
;
19405 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19406 int arg2
= (int) wxDateTime::Country_Default
;
19408 PyObject
* obj0
= 0 ;
19409 PyObject
* obj1
= 0 ;
19410 char *kwnames
[] = {
19411 (char *) "self",(char *) "country", NULL
19414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19418 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19419 if (PyErr_Occurred()) SWIG_fail
;
19422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19423 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19425 wxPyEndAllowThreads(__tstate
);
19426 if (PyErr_Occurred()) SWIG_fail
;
19429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19437 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19438 PyObject
*resultobj
;
19439 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19440 wxDateTime
*arg2
= 0 ;
19442 PyObject
* obj0
= 0 ;
19443 PyObject
* obj1
= 0 ;
19444 char *kwnames
[] = {
19445 (char *) "self",(char *) "datetime", NULL
19448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19454 if (arg2
== NULL
) {
19455 PyErr_SetString(PyExc_TypeError
,"null reference");
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19474 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
;
19476 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19477 wxDateTime
*arg2
= 0 ;
19479 PyObject
* obj0
= 0 ;
19480 PyObject
* obj1
= 0 ;
19481 char *kwnames
[] = {
19482 (char *) "self",(char *) "datetime", NULL
19485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19491 if (arg2
== NULL
) {
19492 PyErr_SetString(PyExc_TypeError
,"null reference");
19496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19497 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19511 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19512 PyObject
*resultobj
;
19513 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19514 wxDateTime
*arg2
= 0 ;
19516 PyObject
* obj0
= 0 ;
19517 PyObject
* obj1
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self",(char *) "datetime", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19528 if (arg2
== NULL
) {
19529 PyErr_SetString(PyExc_TypeError
,"null reference");
19533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19534 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19536 wxPyEndAllowThreads(__tstate
);
19537 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19548 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19549 PyObject
*resultobj
;
19550 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19551 wxDateTime
*arg2
= 0 ;
19552 wxDateTime
*arg3
= 0 ;
19554 PyObject
* obj0
= 0 ;
19555 PyObject
* obj1
= 0 ;
19556 PyObject
* obj2
= 0 ;
19557 char *kwnames
[] = {
19558 (char *) "self",(char *) "t1",(char *) "t2", NULL
19561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19567 if (arg2
== NULL
) {
19568 PyErr_SetString(PyExc_TypeError
,"null reference");
19571 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19572 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19574 if (arg3
== NULL
) {
19575 PyErr_SetString(PyExc_TypeError
,"null reference");
19579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19580 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19582 wxPyEndAllowThreads(__tstate
);
19583 if (PyErr_Occurred()) SWIG_fail
;
19586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19594 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19597 wxDateTime
*arg2
= 0 ;
19598 wxDateTime
*arg3
= 0 ;
19600 PyObject
* obj0
= 0 ;
19601 PyObject
* obj1
= 0 ;
19602 PyObject
* obj2
= 0 ;
19603 char *kwnames
[] = {
19604 (char *) "self",(char *) "t1",(char *) "t2", NULL
19607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19611 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19613 if (arg2
== NULL
) {
19614 PyErr_SetString(PyExc_TypeError
,"null reference");
19617 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19618 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19620 if (arg3
== NULL
) {
19621 PyErr_SetString(PyExc_TypeError
,"null reference");
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19640 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19643 wxDateTime
*arg2
= 0 ;
19645 PyObject
* obj0
= 0 ;
19646 PyObject
* obj1
= 0 ;
19647 char *kwnames
[] = {
19648 (char *) "self",(char *) "dt", NULL
19651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19655 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19657 if (arg2
== NULL
) {
19658 PyErr_SetString(PyExc_TypeError
,"null reference");
19662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19665 wxPyEndAllowThreads(__tstate
);
19666 if (PyErr_Occurred()) SWIG_fail
;
19669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19677 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19678 PyObject
*resultobj
;
19679 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19680 wxDateTime
*arg2
= 0 ;
19682 PyObject
* obj0
= 0 ;
19683 PyObject
* obj1
= 0 ;
19684 char *kwnames
[] = {
19685 (char *) "self",(char *) "dt", NULL
19688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19694 if (arg2
== NULL
) {
19695 PyErr_SetString(PyExc_TypeError
,"null reference");
19699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19700 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19702 wxPyEndAllowThreads(__tstate
);
19703 if (PyErr_Occurred()) SWIG_fail
;
19706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19714 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
;
19716 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19717 wxDateTime
*arg2
= 0 ;
19718 wxTimeSpan
*arg3
= 0 ;
19720 PyObject
* obj0
= 0 ;
19721 PyObject
* obj1
= 0 ;
19722 PyObject
* obj2
= 0 ;
19723 char *kwnames
[] = {
19724 (char *) "self",(char *) "dt",(char *) "ts", NULL
19727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19731 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19733 if (arg2
== NULL
) {
19734 PyErr_SetString(PyExc_TypeError
,"null reference");
19737 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19740 if (arg3
== NULL
) {
19741 PyErr_SetString(PyExc_TypeError
,"null reference");
19745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19746 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19748 wxPyEndAllowThreads(__tstate
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19760 static PyObject
*_wrap_DateTime_AddTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19761 PyObject
*resultobj
;
19762 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19763 wxTimeSpan
*arg2
= 0 ;
19764 wxDateTime
*result
;
19765 PyObject
* obj0
= 0 ;
19766 PyObject
* obj1
= 0 ;
19767 char *kwnames
[] = {
19768 (char *) "self",(char *) "diff", NULL
19771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19777 if (arg2
== NULL
) {
19778 PyErr_SetString(PyExc_TypeError
,"null reference");
19782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19784 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19785 result
= (wxDateTime
*) &_result_ref
;
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19798 static PyObject
*_wrap_DateTime_AddDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
;
19800 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19801 wxDateSpan
*arg2
= 0 ;
19802 wxDateTime
*result
;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self",(char *) "diff", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19813 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19815 if (arg2
== NULL
) {
19816 PyErr_SetString(PyExc_TypeError
,"null reference");
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19823 result
= (wxDateTime
*) &_result_ref
;
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19836 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19839 wxTimeSpan
*arg2
= 0 ;
19840 wxDateTime
*result
;
19841 PyObject
* obj0
= 0 ;
19842 PyObject
* obj1
= 0 ;
19843 char *kwnames
[] = {
19844 (char *) "self",(char *) "diff", NULL
19847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19850 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19851 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19853 if (arg2
== NULL
) {
19854 PyErr_SetString(PyExc_TypeError
,"null reference");
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19861 result
= (wxDateTime
*) &_result_ref
;
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19874 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19877 wxDateSpan
*arg2
= 0 ;
19878 wxDateTime
*result
;
19879 PyObject
* obj0
= 0 ;
19880 PyObject
* obj1
= 0 ;
19881 char *kwnames
[] = {
19882 (char *) "self",(char *) "diff", NULL
19885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19889 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19891 if (arg2
== NULL
) {
19892 PyErr_SetString(PyExc_TypeError
,"null reference");
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19898 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19899 result
= (wxDateTime
*) &_result_ref
;
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19912 static PyObject
*_wrap_DateTime_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19913 PyObject
*resultobj
;
19914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19915 wxDateTime
*arg2
= 0 ;
19917 PyObject
* obj0
= 0 ;
19918 PyObject
* obj1
= 0 ;
19919 char *kwnames
[] = {
19920 (char *) "self",(char *) "dt", NULL
19923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19929 if (arg2
== NULL
) {
19930 PyErr_SetString(PyExc_TypeError
,"null reference");
19934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19935 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19937 wxPyEndAllowThreads(__tstate
);
19938 if (PyErr_Occurred()) SWIG_fail
;
19941 wxTimeSpan
* resultptr
;
19942 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19951 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*self
, PyObject
*args
) {
19952 PyObject
*resultobj
;
19953 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19954 wxTimeSpan
*arg2
= 0 ;
19955 wxDateTime
*result
;
19956 PyObject
* obj0
= 0 ;
19957 PyObject
* obj1
= 0 ;
19959 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19965 if (arg2
== NULL
) {
19966 PyErr_SetString(PyExc_TypeError
,"null reference");
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19972 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19973 result
= (wxDateTime
*) &_result_ref
;
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19979 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19986 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*self
, PyObject
*args
) {
19987 PyObject
*resultobj
;
19988 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19989 wxDateSpan
*arg2
= 0 ;
19990 wxDateTime
*result
;
19991 PyObject
* obj0
= 0 ;
19992 PyObject
* obj1
= 0 ;
19994 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20000 if (arg2
== NULL
) {
20001 PyErr_SetString(PyExc_TypeError
,"null reference");
20005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
20008 result
= (wxDateTime
*) &_result_ref
;
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20021 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
20026 argc
= PyObject_Length(args
);
20027 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20028 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20034 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20044 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20052 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
20060 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20070 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20078 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
20083 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
20088 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20089 PyObject
*resultobj
;
20090 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20091 wxTimeSpan
*arg2
= 0 ;
20092 wxDateTime
*result
;
20093 PyObject
* obj0
= 0 ;
20094 PyObject
* obj1
= 0 ;
20096 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20100 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20102 if (arg2
== NULL
) {
20103 PyErr_SetString(PyExc_TypeError
,"null reference");
20107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20109 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
20110 result
= (wxDateTime
*) &_result_ref
;
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20123 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20124 PyObject
*resultobj
;
20125 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20126 wxDateSpan
*arg2
= 0 ;
20127 wxDateTime
*result
;
20128 PyObject
* obj0
= 0 ;
20129 PyObject
* obj1
= 0 ;
20131 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
20132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20137 if (arg2
== NULL
) {
20138 PyErr_SetString(PyExc_TypeError
,"null reference");
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20144 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
20145 result
= (wxDateTime
*) &_result_ref
;
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
20158 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
20163 argc
= PyObject_Length(args
);
20164 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20165 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20171 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20181 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20189 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20197 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20207 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20215 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20220 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20225 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*self
, PyObject
*args
) {
20226 PyObject
*resultobj
;
20227 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20228 wxTimeSpan
*arg2
= 0 ;
20230 PyObject
* obj0
= 0 ;
20231 PyObject
* obj1
= 0 ;
20233 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20236 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20237 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20239 if (arg2
== NULL
) {
20240 PyErr_SetString(PyExc_TypeError
,"null reference");
20244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20245 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20247 wxPyEndAllowThreads(__tstate
);
20248 if (PyErr_Occurred()) SWIG_fail
;
20251 wxDateTime
* resultptr
;
20252 resultptr
= new wxDateTime((wxDateTime
&) result
);
20253 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20261 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*self
, PyObject
*args
) {
20262 PyObject
*resultobj
;
20263 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20264 wxDateSpan
*arg2
= 0 ;
20266 PyObject
* obj0
= 0 ;
20267 PyObject
* obj1
= 0 ;
20269 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20273 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20275 if (arg2
== NULL
) {
20276 PyErr_SetString(PyExc_TypeError
,"null reference");
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20281 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20287 wxDateTime
* resultptr
;
20288 resultptr
= new wxDateTime((wxDateTime
&) result
);
20289 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20297 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20302 argc
= PyObject_Length(args
);
20303 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20304 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20310 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20320 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20328 return _wrap_DateTime___add____SWIG_0(self
,args
);
20336 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20346 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20354 return _wrap_DateTime___add____SWIG_1(self
,args
);
20359 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20364 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*self
, PyObject
*args
) {
20365 PyObject
*resultobj
;
20366 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20367 wxDateTime
*arg2
= 0 ;
20369 PyObject
* obj0
= 0 ;
20370 PyObject
* obj1
= 0 ;
20372 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20375 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20376 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20378 if (arg2
== NULL
) {
20379 PyErr_SetString(PyExc_TypeError
,"null reference");
20383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20384 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20386 wxPyEndAllowThreads(__tstate
);
20387 if (PyErr_Occurred()) SWIG_fail
;
20390 wxTimeSpan
* resultptr
;
20391 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20400 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*self
, PyObject
*args
) {
20401 PyObject
*resultobj
;
20402 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20403 wxTimeSpan
*arg2
= 0 ;
20405 PyObject
* obj0
= 0 ;
20406 PyObject
* obj1
= 0 ;
20408 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20411 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20414 if (arg2
== NULL
) {
20415 PyErr_SetString(PyExc_TypeError
,"null reference");
20419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20420 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20422 wxPyEndAllowThreads(__tstate
);
20423 if (PyErr_Occurred()) SWIG_fail
;
20426 wxDateTime
* resultptr
;
20427 resultptr
= new wxDateTime((wxDateTime
&) result
);
20428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20436 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*self
, PyObject
*args
) {
20437 PyObject
*resultobj
;
20438 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20439 wxDateSpan
*arg2
= 0 ;
20441 PyObject
* obj0
= 0 ;
20442 PyObject
* obj1
= 0 ;
20444 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20447 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20450 if (arg2
== NULL
) {
20451 PyErr_SetString(PyExc_TypeError
,"null reference");
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20462 wxDateTime
* resultptr
;
20463 resultptr
= new wxDateTime((wxDateTime
&) result
);
20464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20472 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20477 argc
= PyObject_Length(args
);
20478 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20479 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20485 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20495 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20503 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20511 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20521 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20529 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20537 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20547 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20555 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20560 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20565 static PyObject
*_wrap_DateTime___lt__(PyObject
*self
, PyObject
*args
) {
20566 PyObject
*resultobj
;
20567 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20568 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20570 PyObject
* obj0
= 0 ;
20571 PyObject
* obj1
= 0 ;
20573 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20594 static PyObject
*_wrap_DateTime___le__(PyObject
*self
, PyObject
*args
) {
20595 PyObject
*resultobj
;
20596 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20597 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 PyObject
* obj1
= 0 ;
20602 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20623 static PyObject
*_wrap_DateTime___gt__(PyObject
*self
, PyObject
*args
) {
20624 PyObject
*resultobj
;
20625 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20626 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20628 PyObject
* obj0
= 0 ;
20629 PyObject
* obj1
= 0 ;
20631 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20638 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20640 wxPyEndAllowThreads(__tstate
);
20641 if (PyErr_Occurred()) SWIG_fail
;
20644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20652 static PyObject
*_wrap_DateTime___ge__(PyObject
*self
, PyObject
*args
) {
20653 PyObject
*resultobj
;
20654 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20655 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20657 PyObject
* obj0
= 0 ;
20658 PyObject
* obj1
= 0 ;
20660 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20667 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20669 wxPyEndAllowThreads(__tstate
);
20670 if (PyErr_Occurred()) SWIG_fail
;
20673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20681 static PyObject
*_wrap_DateTime___eq__(PyObject
*self
, PyObject
*args
) {
20682 PyObject
*resultobj
;
20683 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20684 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20686 PyObject
* obj0
= 0 ;
20687 PyObject
* obj1
= 0 ;
20689 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20696 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20698 wxPyEndAllowThreads(__tstate
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20710 static PyObject
*_wrap_DateTime___ne__(PyObject
*self
, PyObject
*args
) {
20711 PyObject
*resultobj
;
20712 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20713 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20715 PyObject
* obj0
= 0 ;
20716 PyObject
* obj1
= 0 ;
20718 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20725 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20727 wxPyEndAllowThreads(__tstate
);
20728 if (PyErr_Occurred()) SWIG_fail
;
20731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20739 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20741 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20742 wxString
*arg2
= 0 ;
20744 bool temp2
= False
;
20745 PyObject
* obj0
= 0 ;
20746 PyObject
* obj1
= 0 ;
20747 char *kwnames
[] = {
20748 (char *) "self",(char *) "date", NULL
20751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20755 arg2
= wxString_in_helper(obj1
);
20756 if (arg2
== NULL
) SWIG_fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= SWIG_FromInt((int)result
);
20781 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
;
20783 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20784 wxString
*arg2
= 0 ;
20785 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20786 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20787 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20788 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20790 bool temp2
= False
;
20791 bool temp3
= False
;
20792 PyObject
* obj0
= 0 ;
20793 PyObject
* obj1
= 0 ;
20794 PyObject
* obj2
= 0 ;
20795 PyObject
* obj3
= 0 ;
20796 char *kwnames
[] = {
20797 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20804 arg2
= wxString_in_helper(obj1
);
20805 if (arg2
== NULL
) SWIG_fail
;
20810 arg3
= wxString_in_helper(obj2
);
20811 if (arg3
== NULL
) SWIG_fail
;
20816 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20817 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20819 if (arg4
== NULL
) {
20820 PyErr_SetString(PyExc_TypeError
,"null reference");
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= SWIG_FromInt((int)result
);
20854 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20855 PyObject
*resultobj
;
20856 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20857 wxString
*arg2
= 0 ;
20859 bool temp2
= False
;
20860 PyObject
* obj0
= 0 ;
20861 PyObject
* obj1
= 0 ;
20862 char *kwnames
[] = {
20863 (char *) "self",(char *) "datetime", NULL
20866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20870 arg2
= wxString_in_helper(obj1
);
20871 if (arg2
== NULL
) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= SWIG_FromInt((int)result
);
20896 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20899 wxString
*arg2
= 0 ;
20901 bool temp2
= False
;
20902 PyObject
* obj0
= 0 ;
20903 PyObject
* obj1
= 0 ;
20904 char *kwnames
[] = {
20905 (char *) "self",(char *) "date", NULL
20908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20912 arg2
= wxString_in_helper(obj1
);
20913 if (arg2
== NULL
) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20920 wxPyEndAllowThreads(__tstate
);
20921 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= SWIG_FromInt((int)result
);
20938 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20941 wxString
*arg2
= 0 ;
20943 bool temp2
= False
;
20944 PyObject
* obj0
= 0 ;
20945 PyObject
* obj1
= 0 ;
20946 char *kwnames
[] = {
20947 (char *) "self",(char *) "time", NULL
20950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20954 arg2
= wxString_in_helper(obj1
);
20955 if (arg2
== NULL
) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= SWIG_FromInt((int)result
);
20980 static PyObject
*_wrap_DateTime_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20981 PyObject
*resultobj
;
20982 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20983 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20984 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20985 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20986 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20988 bool temp2
= False
;
20989 bool temp3
= False
;
20990 PyObject
* obj0
= 0 ;
20991 PyObject
* obj1
= 0 ;
20992 PyObject
* obj2
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self",(char *) "format",(char *) "tz", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21002 arg2
= wxString_in_helper(obj1
);
21003 if (arg2
== NULL
) SWIG_fail
;
21009 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21032 if (temp3
) delete arg3
;
21041 if (temp3
) delete arg3
;
21047 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21048 PyObject
*resultobj
;
21049 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21051 PyObject
* obj0
= 0 ;
21052 char *kwnames
[] = {
21053 (char *) "self", NULL
21056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
21057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 result
= ((wxDateTime
const *)arg1
)->FormatDate();
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21068 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21070 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21079 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21080 PyObject
*resultobj
;
21081 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21083 PyObject
* obj0
= 0 ;
21084 char *kwnames
[] = {
21085 (char *) "self", NULL
21088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
21089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= ((wxDateTime
const *)arg1
)->FormatTime();
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21111 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21143 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21144 PyObject
*resultobj
;
21145 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
21147 PyObject
* obj0
= 0 ;
21148 char *kwnames
[] = {
21149 (char *) "self", NULL
21152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
21153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
21154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21157 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
21159 wxPyEndAllowThreads(__tstate
);
21160 if (PyErr_Occurred()) SWIG_fail
;
21164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21175 static PyObject
* DateTime_swigregister(PyObject
*self
, PyObject
*args
) {
21177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21178 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
21180 return Py_BuildValue((char *)"");
21182 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
;
21186 PyObject
* obj0
= 0 ;
21187 char *kwnames
[] = {
21188 (char *) "sec", NULL
21191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21192 arg1
= (long) SWIG_AsLong(obj0
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21196 result
= wxTimeSpan::Seconds(arg1
);
21198 wxPyEndAllowThreads(__tstate
);
21199 if (PyErr_Occurred()) SWIG_fail
;
21202 wxTimeSpan
* resultptr
;
21203 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21204 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21212 static PyObject
*_wrap_TimeSpan_Second(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21213 PyObject
*resultobj
;
21215 char *kwnames
[] = {
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= wxTimeSpan::Second();
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21228 wxTimeSpan
* resultptr
;
21229 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21238 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21239 PyObject
*resultobj
;
21242 PyObject
* obj0
= 0 ;
21243 char *kwnames
[] = {
21244 (char *) "min", NULL
21247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21248 arg1
= (long) SWIG_AsLong(obj0
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21252 result
= wxTimeSpan::Minutes(arg1
);
21254 wxPyEndAllowThreads(__tstate
);
21255 if (PyErr_Occurred()) SWIG_fail
;
21258 wxTimeSpan
* resultptr
;
21259 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21260 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21268 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21269 PyObject
*resultobj
;
21271 char *kwnames
[] = {
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 result
= wxTimeSpan::Minute();
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21284 wxTimeSpan
* resultptr
;
21285 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21294 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21295 PyObject
*resultobj
;
21298 PyObject
* obj0
= 0 ;
21299 char *kwnames
[] = {
21300 (char *) "hours", NULL
21303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21304 arg1
= (long) SWIG_AsLong(obj0
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21308 result
= wxTimeSpan::Hours(arg1
);
21310 wxPyEndAllowThreads(__tstate
);
21311 if (PyErr_Occurred()) SWIG_fail
;
21314 wxTimeSpan
* resultptr
;
21315 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21324 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
;
21327 char *kwnames
[] = {
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= wxTimeSpan::Hour();
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21340 wxTimeSpan
* resultptr
;
21341 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21342 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21350 static PyObject
*_wrap_TimeSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21351 PyObject
*resultobj
;
21354 PyObject
* obj0
= 0 ;
21355 char *kwnames
[] = {
21356 (char *) "days", NULL
21359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21360 arg1
= (long) SWIG_AsLong(obj0
);
21361 if (PyErr_Occurred()) SWIG_fail
;
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 result
= wxTimeSpan::Days(arg1
);
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21370 wxTimeSpan
* resultptr
;
21371 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21380 static PyObject
*_wrap_TimeSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21381 PyObject
*resultobj
;
21383 char *kwnames
[] = {
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21390 result
= wxTimeSpan::Day();
21392 wxPyEndAllowThreads(__tstate
);
21393 if (PyErr_Occurred()) SWIG_fail
;
21396 wxTimeSpan
* resultptr
;
21397 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21406 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21407 PyObject
*resultobj
;
21410 PyObject
* obj0
= 0 ;
21411 char *kwnames
[] = {
21412 (char *) "days", NULL
21415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21416 arg1
= (long) SWIG_AsLong(obj0
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21420 result
= wxTimeSpan::Weeks(arg1
);
21422 wxPyEndAllowThreads(__tstate
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21426 wxTimeSpan
* resultptr
;
21427 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21428 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21436 static PyObject
*_wrap_TimeSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21439 char *kwnames
[] = {
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21446 result
= wxTimeSpan::Week();
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21452 wxTimeSpan
* resultptr
;
21453 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21462 static PyObject
*_wrap_new_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21464 long arg1
= (long) 0 ;
21465 long arg2
= (long) 0 ;
21466 long arg3
= (long) 0 ;
21467 long arg4
= (long) 0 ;
21468 wxTimeSpan
*result
;
21469 PyObject
* obj0
= 0 ;
21470 PyObject
* obj1
= 0 ;
21471 PyObject
* obj2
= 0 ;
21472 PyObject
* obj3
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21479 arg1
= (long) SWIG_AsLong(obj0
);
21480 if (PyErr_Occurred()) SWIG_fail
;
21483 arg2
= (long) SWIG_AsLong(obj1
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21487 arg3
= (long) SWIG_AsLong(obj2
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21491 arg4
= (long) SWIG_AsLong(obj3
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21496 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21498 wxPyEndAllowThreads(__tstate
);
21499 if (PyErr_Occurred()) SWIG_fail
;
21501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21508 static PyObject
*_wrap_delete_TimeSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21509 PyObject
*resultobj
;
21510 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21526 Py_INCREF(Py_None
); resultobj
= Py_None
;
21533 static PyObject
*_wrap_TimeSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21536 wxTimeSpan
*arg2
= 0 ;
21537 wxTimeSpan
*result
;
21538 PyObject
* obj0
= 0 ;
21539 PyObject
* obj1
= 0 ;
21540 char *kwnames
[] = {
21541 (char *) "self",(char *) "diff", NULL
21544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21550 if (arg2
== NULL
) {
21551 PyErr_SetString(PyExc_TypeError
,"null reference");
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21558 result
= (wxTimeSpan
*) &_result_ref
;
21561 wxPyEndAllowThreads(__tstate
);
21562 if (PyErr_Occurred()) SWIG_fail
;
21564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21571 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21574 wxTimeSpan
*arg2
= 0 ;
21575 wxTimeSpan
*result
;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 char *kwnames
[] = {
21579 (char *) "self",(char *) "diff", NULL
21582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21585 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21586 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21588 if (arg2
== NULL
) {
21589 PyErr_SetString(PyExc_TypeError
,"null reference");
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21595 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21596 result
= (wxTimeSpan
*) &_result_ref
;
21599 wxPyEndAllowThreads(__tstate
);
21600 if (PyErr_Occurred()) SWIG_fail
;
21602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21609 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21610 PyObject
*resultobj
;
21611 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21613 wxTimeSpan
*result
;
21614 PyObject
* obj0
= 0 ;
21615 PyObject
* obj1
= 0 ;
21616 char *kwnames
[] = {
21617 (char *) "self",(char *) "n", NULL
21620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21623 arg2
= (int) SWIG_AsInt(obj1
);
21624 if (PyErr_Occurred()) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21628 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21629 result
= (wxTimeSpan
*) &_result_ref
;
21632 wxPyEndAllowThreads(__tstate
);
21633 if (PyErr_Occurred()) SWIG_fail
;
21635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21642 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21643 PyObject
*resultobj
;
21644 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21645 wxTimeSpan
*result
;
21646 PyObject
* obj0
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21658 result
= (wxTimeSpan
*) &_result_ref
;
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21671 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21672 PyObject
*resultobj
;
21673 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21675 PyObject
* obj0
= 0 ;
21676 char *kwnames
[] = {
21677 (char *) "self", NULL
21680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21685 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21687 wxPyEndAllowThreads(__tstate
);
21688 if (PyErr_Occurred()) SWIG_fail
;
21691 wxTimeSpan
* resultptr
;
21692 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21693 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21701 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21702 PyObject
*resultobj
;
21703 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21704 wxTimeSpan
*arg2
= 0 ;
21705 wxTimeSpan
*result
;
21706 PyObject
* obj0
= 0 ;
21707 PyObject
* obj1
= 0 ;
21708 char *kwnames
[] = {
21709 (char *) "self",(char *) "diff", NULL
21712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21716 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21718 if (arg2
== NULL
) {
21719 PyErr_SetString(PyExc_TypeError
,"null reference");
21723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21725 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21726 result
= (wxTimeSpan
*) &_result_ref
;
21729 wxPyEndAllowThreads(__tstate
);
21730 if (PyErr_Occurred()) SWIG_fail
;
21732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21739 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21740 PyObject
*resultobj
;
21741 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21742 wxTimeSpan
*arg2
= 0 ;
21743 wxTimeSpan
*result
;
21744 PyObject
* obj0
= 0 ;
21745 PyObject
* obj1
= 0 ;
21746 char *kwnames
[] = {
21747 (char *) "self",(char *) "diff", NULL
21750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21756 if (arg2
== NULL
) {
21757 PyErr_SetString(PyExc_TypeError
,"null reference");
21761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21764 result
= (wxTimeSpan
*) &_result_ref
;
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21777 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21781 wxTimeSpan
*result
;
21782 PyObject
* obj0
= 0 ;
21783 PyObject
* obj1
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "self",(char *) "n", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21791 arg2
= (int) SWIG_AsInt(obj1
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21797 result
= (wxTimeSpan
*) &_result_ref
;
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21810 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21811 PyObject
*resultobj
;
21812 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21813 wxTimeSpan
*result
;
21814 PyObject
* obj0
= 0 ;
21815 char *kwnames
[] = {
21816 (char *) "self", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21825 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21826 result
= (wxTimeSpan
*) &_result_ref
;
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21839 static PyObject
*_wrap_TimeSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21842 wxTimeSpan
*arg2
= 0 ;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 char *kwnames
[] = {
21847 (char *) "self",(char *) "other", NULL
21850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21853 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21854 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21856 if (arg2
== NULL
) {
21857 PyErr_SetString(PyExc_TypeError
,"null reference");
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21868 wxTimeSpan
* resultptr
;
21869 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21878 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
;
21880 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21881 wxTimeSpan
*arg2
= 0 ;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self",(char *) "other", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21895 if (arg2
== NULL
) {
21896 PyErr_SetString(PyExc_TypeError
,"null reference");
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21907 wxTimeSpan
* resultptr
;
21908 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21917 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21918 PyObject
*resultobj
;
21919 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21922 PyObject
* obj0
= 0 ;
21923 PyObject
* obj1
= 0 ;
21924 char *kwnames
[] = {
21925 (char *) "self",(char *) "n", NULL
21928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21931 arg2
= (int) SWIG_AsInt(obj1
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21935 result
= wxTimeSpan___mul__(arg1
,arg2
);
21937 wxPyEndAllowThreads(__tstate
);
21938 if (PyErr_Occurred()) SWIG_fail
;
21941 wxTimeSpan
* resultptr
;
21942 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21951 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21952 PyObject
*resultobj
;
21953 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21956 PyObject
* obj0
= 0 ;
21957 PyObject
* obj1
= 0 ;
21958 char *kwnames
[] = {
21959 (char *) "self",(char *) "n", NULL
21962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21965 arg2
= (int) SWIG_AsInt(obj1
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21969 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21971 wxPyEndAllowThreads(__tstate
);
21972 if (PyErr_Occurred()) SWIG_fail
;
21975 wxTimeSpan
* resultptr
;
21976 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21985 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21986 PyObject
*resultobj
;
21987 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21988 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21990 PyObject
* obj0
= 0 ;
21991 PyObject
* obj1
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self",(char *) "other", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21999 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22017 static PyObject
*_wrap_TimeSpan___le__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22018 PyObject
*resultobj
;
22019 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22020 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22022 PyObject
* obj0
= 0 ;
22023 PyObject
* obj1
= 0 ;
22024 char *kwnames
[] = {
22025 (char *) "self",(char *) "other", NULL
22028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
22029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22035 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
22037 wxPyEndAllowThreads(__tstate
);
22038 if (PyErr_Occurred()) SWIG_fail
;
22041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22049 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22050 PyObject
*resultobj
;
22051 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22052 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self",(char *) "other", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
22061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22081 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22084 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22086 PyObject
* obj0
= 0 ;
22087 PyObject
* obj1
= 0 ;
22088 char *kwnames
[] = {
22089 (char *) "self",(char *) "other", NULL
22092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
22093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22113 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
;
22115 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22116 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 char *kwnames
[] = {
22121 (char *) "self",(char *) "other", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
22125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22145 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22148 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
22150 PyObject
* obj0
= 0 ;
22151 PyObject
* obj1
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self",(char *) "other", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
22157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22159 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22177 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 char *kwnames
[] = {
22183 (char *) "self", NULL
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
22187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22205 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22206 PyObject
*resultobj
;
22207 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22209 PyObject
* obj0
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22233 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22234 PyObject
*resultobj
;
22235 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 char *kwnames
[] = {
22239 (char *) "self", NULL
22242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22247 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22249 wxPyEndAllowThreads(__tstate
);
22250 if (PyErr_Occurred()) SWIG_fail
;
22253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22261 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22262 PyObject
*resultobj
;
22263 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22264 wxTimeSpan
*arg2
= 0 ;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 char *kwnames
[] = {
22269 (char *) "self",(char *) "ts", NULL
22272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22275 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22276 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22278 if (arg2
== NULL
) {
22279 PyErr_SetString(PyExc_TypeError
,"null reference");
22283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22284 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22286 wxPyEndAllowThreads(__tstate
);
22287 if (PyErr_Occurred()) SWIG_fail
;
22290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22298 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22301 wxTimeSpan
*arg2
= 0 ;
22303 PyObject
* obj0
= 0 ;
22304 PyObject
* obj1
= 0 ;
22305 char *kwnames
[] = {
22306 (char *) "self",(char *) "ts", NULL
22309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22315 if (arg2
== NULL
) {
22316 PyErr_SetString(PyExc_TypeError
,"null reference");
22320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22321 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22323 wxPyEndAllowThreads(__tstate
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22335 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22338 wxTimeSpan
*arg2
= 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self",(char *) "t", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22352 if (arg2
== NULL
) {
22353 PyErr_SetString(PyExc_TypeError
,"null reference");
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22372 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22373 PyObject
*resultobj
;
22374 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22376 PyObject
* obj0
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22386 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22388 wxPyEndAllowThreads(__tstate
);
22389 if (PyErr_Occurred()) SWIG_fail
;
22391 resultobj
= SWIG_FromInt((int)result
);
22398 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22399 PyObject
*resultobj
;
22400 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22412 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 resultobj
= SWIG_FromInt((int)result
);
22424 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22428 PyObject
* obj0
= 0 ;
22429 char *kwnames
[] = {
22430 (char *) "self", NULL
22433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22438 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22440 wxPyEndAllowThreads(__tstate
);
22441 if (PyErr_Occurred()) SWIG_fail
;
22443 resultobj
= SWIG_FromInt((int)result
);
22450 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
;
22452 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22454 PyObject
* obj0
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22464 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22466 wxPyEndAllowThreads(__tstate
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22469 resultobj
= SWIG_FromInt((int)result
);
22476 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22477 PyObject
*resultobj
;
22478 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22480 PyObject
* obj0
= 0 ;
22481 char *kwnames
[] = {
22482 (char *) "self", NULL
22485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22496 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22497 hi
= PyLong_FromLong( (&result
)->GetHi() );
22498 lo
= PyLong_FromLong( (&result
)->GetLo() );
22499 shifter
= PyLong_FromLong(32);
22500 shifted
= PyNumber_Lshift(hi
, shifter
);
22501 resultobj
= PyNumber_Or(shifted
, lo
);
22504 Py_DECREF(shifter
);
22505 Py_DECREF(shifted
);
22513 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
;
22515 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22517 PyObject
* obj0
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22527 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22529 wxPyEndAllowThreads(__tstate
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22533 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22534 hi
= PyLong_FromLong( (&result
)->GetHi() );
22535 lo
= PyLong_FromLong( (&result
)->GetLo() );
22536 shifter
= PyLong_FromLong(32);
22537 shifted
= PyNumber_Lshift(hi
, shifter
);
22538 resultobj
= PyNumber_Or(shifted
, lo
);
22541 Py_DECREF(shifter
);
22542 Py_DECREF(shifted
);
22550 static PyObject
*_wrap_TimeSpan_Format(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22553 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22554 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22556 bool temp2
= False
;
22557 PyObject
* obj0
= 0 ;
22558 PyObject
* obj1
= 0 ;
22559 char *kwnames
[] = {
22560 (char *) "self",(char *) "format", NULL
22563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22568 arg2
= wxString_in_helper(obj1
);
22569 if (arg2
== NULL
) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22582 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22584 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22601 static PyObject
* TimeSpan_swigregister(PyObject
*self
, PyObject
*args
) {
22603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22604 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22606 return Py_BuildValue((char *)"");
22608 static PyObject
*_wrap_new_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22609 PyObject
*resultobj
;
22610 int arg1
= (int) 0 ;
22611 int arg2
= (int) 0 ;
22612 int arg3
= (int) 0 ;
22613 int arg4
= (int) 0 ;
22614 wxDateSpan
*result
;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 PyObject
* obj2
= 0 ;
22618 PyObject
* obj3
= 0 ;
22619 char *kwnames
[] = {
22620 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22625 arg1
= (int) SWIG_AsInt(obj0
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22629 arg2
= (int) SWIG_AsInt(obj1
);
22630 if (PyErr_Occurred()) SWIG_fail
;
22633 arg3
= (int) SWIG_AsInt(obj2
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22637 arg4
= (int) SWIG_AsInt(obj3
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22654 static PyObject
*_wrap_delete_DateSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22657 PyObject
* obj0
= 0 ;
22658 char *kwnames
[] = {
22659 (char *) "self", NULL
22662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 wxPyEndAllowThreads(__tstate
);
22670 if (PyErr_Occurred()) SWIG_fail
;
22672 Py_INCREF(Py_None
); resultobj
= Py_None
;
22679 static PyObject
*_wrap_DateSpan_Days(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22680 PyObject
*resultobj
;
22683 PyObject
* obj0
= 0 ;
22684 char *kwnames
[] = {
22685 (char *) "days", NULL
22688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22689 arg1
= (int) SWIG_AsInt(obj0
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 result
= wxDateSpan::Days(arg1
);
22695 wxPyEndAllowThreads(__tstate
);
22696 if (PyErr_Occurred()) SWIG_fail
;
22699 wxDateSpan
* resultptr
;
22700 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22709 static PyObject
*_wrap_DateSpan_Day(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22712 char *kwnames
[] = {
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22719 result
= wxDateSpan::Day();
22721 wxPyEndAllowThreads(__tstate
);
22722 if (PyErr_Occurred()) SWIG_fail
;
22725 wxDateSpan
* resultptr
;
22726 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22727 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22735 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
;
22739 PyObject
* obj0
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "weeks", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22745 arg1
= (int) SWIG_AsInt(obj0
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 result
= wxDateSpan::Weeks(arg1
);
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22755 wxDateSpan
* resultptr
;
22756 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22765 static PyObject
*_wrap_DateSpan_Week(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
;
22768 char *kwnames
[] = {
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22775 result
= wxDateSpan::Week();
22777 wxPyEndAllowThreads(__tstate
);
22778 if (PyErr_Occurred()) SWIG_fail
;
22781 wxDateSpan
* resultptr
;
22782 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22783 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22791 static PyObject
*_wrap_DateSpan_Months(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22792 PyObject
*resultobj
;
22795 PyObject
* obj0
= 0 ;
22796 char *kwnames
[] = {
22797 (char *) "mon", NULL
22800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22801 arg1
= (int) SWIG_AsInt(obj0
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22805 result
= wxDateSpan::Months(arg1
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22811 wxDateSpan
* resultptr
;
22812 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22813 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22821 static PyObject
*_wrap_DateSpan_Month(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
;
22824 char *kwnames
[] = {
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22831 result
= wxDateSpan::Month();
22833 wxPyEndAllowThreads(__tstate
);
22834 if (PyErr_Occurred()) SWIG_fail
;
22837 wxDateSpan
* resultptr
;
22838 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22839 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22847 static PyObject
*_wrap_DateSpan_Years(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
;
22851 PyObject
* obj0
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "years", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22857 arg1
= (int) SWIG_AsInt(obj0
);
22858 if (PyErr_Occurred()) SWIG_fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 result
= wxDateSpan::Years(arg1
);
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22867 wxDateSpan
* resultptr
;
22868 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22869 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22877 static PyObject
*_wrap_DateSpan_Year(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22878 PyObject
*resultobj
;
22880 char *kwnames
[] = {
22884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= wxDateSpan::Year();
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22893 wxDateSpan
* resultptr
;
22894 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22903 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22904 PyObject
*resultobj
;
22905 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22907 wxDateSpan
*result
;
22908 PyObject
* obj0
= 0 ;
22909 PyObject
* obj1
= 0 ;
22910 char *kwnames
[] = {
22911 (char *) "self",(char *) "n", NULL
22914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22917 arg2
= (int) SWIG_AsInt(obj1
);
22918 if (PyErr_Occurred()) SWIG_fail
;
22920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22923 result
= (wxDateSpan
*) &_result_ref
;
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22936 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22937 PyObject
*resultobj
;
22938 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22940 wxDateSpan
*result
;
22941 PyObject
* obj0
= 0 ;
22942 PyObject
* obj1
= 0 ;
22943 char *kwnames
[] = {
22944 (char *) "self",(char *) "n", NULL
22947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22950 arg2
= (int) SWIG_AsInt(obj1
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22956 result
= (wxDateSpan
*) &_result_ref
;
22959 wxPyEndAllowThreads(__tstate
);
22960 if (PyErr_Occurred()) SWIG_fail
;
22962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22969 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22970 PyObject
*resultobj
;
22971 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22973 wxDateSpan
*result
;
22974 PyObject
* obj0
= 0 ;
22975 PyObject
* obj1
= 0 ;
22976 char *kwnames
[] = {
22977 (char *) "self",(char *) "n", NULL
22980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22983 arg2
= (int) SWIG_AsInt(obj1
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22989 result
= (wxDateSpan
*) &_result_ref
;
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23002 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23006 wxDateSpan
*result
;
23007 PyObject
* obj0
= 0 ;
23008 PyObject
* obj1
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self",(char *) "n", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23016 arg2
= (int) SWIG_AsInt(obj1
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
23022 result
= (wxDateSpan
*) &_result_ref
;
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23035 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
23045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23049 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
23051 wxPyEndAllowThreads(__tstate
);
23052 if (PyErr_Occurred()) SWIG_fail
;
23054 resultobj
= SWIG_FromInt((int)result
);
23061 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23062 PyObject
*resultobj
;
23063 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23065 PyObject
* obj0
= 0 ;
23066 char *kwnames
[] = {
23067 (char *) "self", NULL
23070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
23071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23075 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 resultobj
= SWIG_FromInt((int)result
);
23087 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
;
23089 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23091 PyObject
* obj0
= 0 ;
23092 char *kwnames
[] = {
23093 (char *) "self", NULL
23096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
23097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= SWIG_FromInt((int)result
);
23113 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23117 PyObject
* obj0
= 0 ;
23118 char *kwnames
[] = {
23119 (char *) "self", NULL
23122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
23123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 resultobj
= SWIG_FromInt((int)result
);
23139 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23140 PyObject
*resultobj
;
23141 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23143 PyObject
* obj0
= 0 ;
23144 char *kwnames
[] = {
23145 (char *) "self", NULL
23148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
23149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23153 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_FromInt((int)result
);
23165 static PyObject
*_wrap_DateSpan_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23168 wxDateSpan
*arg2
= 0 ;
23169 wxDateSpan
*result
;
23170 PyObject
* obj0
= 0 ;
23171 PyObject
* obj1
= 0 ;
23172 char *kwnames
[] = {
23173 (char *) "self",(char *) "other", NULL
23176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
23177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23179 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23180 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23182 if (arg2
== NULL
) {
23183 PyErr_SetString(PyExc_TypeError
,"null reference");
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
23190 result
= (wxDateSpan
*) &_result_ref
;
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23203 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23204 PyObject
*resultobj
;
23205 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23206 wxDateSpan
*arg2
= 0 ;
23207 wxDateSpan
*result
;
23208 PyObject
* obj0
= 0 ;
23209 PyObject
* obj1
= 0 ;
23210 char *kwnames
[] = {
23211 (char *) "self",(char *) "other", NULL
23214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23220 if (arg2
== NULL
) {
23221 PyErr_SetString(PyExc_TypeError
,"null reference");
23225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23228 result
= (wxDateSpan
*) &_result_ref
;
23231 wxPyEndAllowThreads(__tstate
);
23232 if (PyErr_Occurred()) SWIG_fail
;
23234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23241 static PyObject
*_wrap_DateSpan_Neg(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23242 PyObject
*resultobj
;
23243 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23244 wxDateSpan
*result
;
23245 PyObject
* obj0
= 0 ;
23246 char *kwnames
[] = {
23247 (char *) "self", NULL
23250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23257 result
= (wxDateSpan
*) &_result_ref
;
23260 wxPyEndAllowThreads(__tstate
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23270 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23271 PyObject
*resultobj
;
23272 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23274 wxDateSpan
*result
;
23275 PyObject
* obj0
= 0 ;
23276 PyObject
* obj1
= 0 ;
23277 char *kwnames
[] = {
23278 (char *) "self",(char *) "factor", NULL
23281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23284 arg2
= (int) SWIG_AsInt(obj1
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23290 result
= (wxDateSpan
*) &_result_ref
;
23293 wxPyEndAllowThreads(__tstate
);
23294 if (PyErr_Occurred()) SWIG_fail
;
23296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23303 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23304 PyObject
*resultobj
;
23305 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23306 wxDateSpan
*arg2
= 0 ;
23307 wxDateSpan
*result
;
23308 PyObject
* obj0
= 0 ;
23309 PyObject
* obj1
= 0 ;
23310 char *kwnames
[] = {
23311 (char *) "self",(char *) "other", NULL
23314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23318 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23320 if (arg2
== NULL
) {
23321 PyErr_SetString(PyExc_TypeError
,"null reference");
23325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23327 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23328 result
= (wxDateSpan
*) &_result_ref
;
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23341 static PyObject
*_wrap_DateSpan___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
;
23343 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23344 wxDateSpan
*arg2
= 0 ;
23345 wxDateSpan
*result
;
23346 PyObject
* obj0
= 0 ;
23347 PyObject
* obj1
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self",(char *) "other", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23358 if (arg2
== NULL
) {
23359 PyErr_SetString(PyExc_TypeError
,"null reference");
23363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23365 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23366 result
= (wxDateSpan
*) &_result_ref
;
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23379 static PyObject
*_wrap_DateSpan___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23382 wxDateSpan
*result
;
23383 PyObject
* obj0
= 0 ;
23384 char *kwnames
[] = {
23385 (char *) "self", NULL
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23395 result
= (wxDateSpan
*) &_result_ref
;
23398 wxPyEndAllowThreads(__tstate
);
23399 if (PyErr_Occurred()) SWIG_fail
;
23401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23408 static PyObject
*_wrap_DateSpan___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23409 PyObject
*resultobj
;
23410 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23412 wxDateSpan
*result
;
23413 PyObject
* obj0
= 0 ;
23414 PyObject
* obj1
= 0 ;
23415 char *kwnames
[] = {
23416 (char *) "self",(char *) "factor", NULL
23419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23422 arg2
= (int) SWIG_AsInt(obj1
);
23423 if (PyErr_Occurred()) SWIG_fail
;
23425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23428 result
= (wxDateSpan
*) &_result_ref
;
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23441 static PyObject
*_wrap_DateSpan___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23444 wxDateSpan
*arg2
= 0 ;
23446 PyObject
* obj0
= 0 ;
23447 PyObject
* obj1
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self",(char *) "other", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23458 if (arg2
== NULL
) {
23459 PyErr_SetString(PyExc_TypeError
,"null reference");
23463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23464 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23466 wxPyEndAllowThreads(__tstate
);
23467 if (PyErr_Occurred()) SWIG_fail
;
23470 wxDateSpan
* resultptr
;
23471 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23480 static PyObject
*_wrap_DateSpan___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23481 PyObject
*resultobj
;
23482 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23483 wxDateSpan
*arg2
= 0 ;
23485 PyObject
* obj0
= 0 ;
23486 PyObject
* obj1
= 0 ;
23487 char *kwnames
[] = {
23488 (char *) "self",(char *) "other", NULL
23491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23495 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23497 if (arg2
== NULL
) {
23498 PyErr_SetString(PyExc_TypeError
,"null reference");
23502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23503 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23505 wxPyEndAllowThreads(__tstate
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23509 wxDateSpan
* resultptr
;
23510 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23519 static PyObject
*_wrap_DateSpan___mul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23524 PyObject
* obj0
= 0 ;
23525 PyObject
* obj1
= 0 ;
23526 char *kwnames
[] = {
23527 (char *) "self",(char *) "n", NULL
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23533 arg2
= (int) SWIG_AsInt(obj1
);
23534 if (PyErr_Occurred()) SWIG_fail
;
23536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23537 result
= wxDateSpan___mul__(arg1
,arg2
);
23539 wxPyEndAllowThreads(__tstate
);
23540 if (PyErr_Occurred()) SWIG_fail
;
23543 wxDateSpan
* resultptr
;
23544 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23545 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23553 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23555 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self",(char *) "n", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23567 arg2
= (int) SWIG_AsInt(obj1
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23571 result
= wxDateSpan___rmul__(arg1
,arg2
);
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23577 wxDateSpan
* resultptr
;
23578 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23579 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23587 static PyObject
*_wrap_DateSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23588 PyObject
*resultobj
;
23589 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23590 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23592 PyObject
* obj0
= 0 ;
23593 PyObject
* obj1
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "other", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23619 static PyObject
*_wrap_DateSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23620 PyObject
*resultobj
;
23621 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23622 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23624 PyObject
* obj0
= 0 ;
23625 PyObject
* obj1
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self",(char *) "other", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23651 static PyObject
* DateSpan_swigregister(PyObject
*self
, PyObject
*args
) {
23653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23654 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23656 return Py_BuildValue((char *)"");
23658 static PyObject
*_wrap_GetLocalTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23659 PyObject
*resultobj
;
23661 char *kwnames
[] = {
23665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 result
= (long)wxGetLocalTime();
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 resultobj
= SWIG_FromLong((long)result
);
23680 static PyObject
*_wrap_GetUTCTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23683 char *kwnames
[] = {
23687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 result
= (long)wxGetUTCTime();
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= SWIG_FromLong((long)result
);
23702 static PyObject
*_wrap_GetCurrentTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23705 char *kwnames
[] = {
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 result
= (long)wxGetCurrentTime();
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 resultobj
= SWIG_FromLong((long)result
);
23724 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23727 char *kwnames
[] = {
23731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= wxGetLocalTimeMillis();
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23740 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23741 hi
= PyLong_FromLong( (&result
)->GetHi() );
23742 lo
= PyLong_FromLong( (&result
)->GetLo() );
23743 shifter
= PyLong_FromLong(32);
23744 shifted
= PyNumber_Lshift(hi
, shifter
);
23745 resultobj
= PyNumber_Or(shifted
, lo
);
23748 Py_DECREF(shifter
);
23749 Py_DECREF(shifted
);
23757 static int _wrap_DefaultDateTime_set(PyObject
*_val
) {
23758 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23763 static PyObject
*_wrap_DefaultDateTime_get() {
23766 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23771 static PyObject
*_wrap_new_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23772 PyObject
*resultobj
;
23774 wxDataFormat
*result
;
23775 PyObject
* obj0
= 0 ;
23776 char *kwnames
[] = {
23777 (char *) "type", NULL
23780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23781 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23782 if (PyErr_Occurred()) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23797 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
;
23799 wxString
*arg1
= 0 ;
23800 wxDataFormat
*result
;
23801 bool temp1
= False
;
23802 PyObject
* obj0
= 0 ;
23803 char *kwnames
[] = {
23804 (char *) "format", NULL
23807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23809 arg1
= wxString_in_helper(obj0
);
23810 if (arg1
== NULL
) SWIG_fail
;
23814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23815 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23817 wxPyEndAllowThreads(__tstate
);
23818 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23835 static PyObject
*_wrap_delete_DataFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23838 PyObject
* obj0
= 0 ;
23839 char *kwnames
[] = {
23840 (char *) "self", NULL
23843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23850 wxPyEndAllowThreads(__tstate
);
23851 if (PyErr_Occurred()) SWIG_fail
;
23853 Py_INCREF(Py_None
); resultobj
= Py_None
;
23860 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*self
, PyObject
*args
) {
23861 PyObject
*resultobj
;
23862 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23865 PyObject
* obj0
= 0 ;
23866 PyObject
* obj1
= 0 ;
23868 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23871 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23875 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23877 wxPyEndAllowThreads(__tstate
);
23878 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23889 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*self
, PyObject
*args
) {
23890 PyObject
*resultobj
;
23891 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23894 PyObject
* obj0
= 0 ;
23895 PyObject
* obj1
= 0 ;
23897 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23900 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23906 wxPyEndAllowThreads(__tstate
);
23907 if (PyErr_Occurred()) SWIG_fail
;
23910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23918 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*self
, PyObject
*args
) {
23919 PyObject
*resultobj
;
23920 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23921 wxDataFormat
*arg2
= 0 ;
23923 PyObject
* obj0
= 0 ;
23924 PyObject
* obj1
= 0 ;
23926 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23932 if (arg2
== NULL
) {
23933 PyErr_SetString(PyExc_TypeError
,"null reference");
23937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23938 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23940 wxPyEndAllowThreads(__tstate
);
23941 if (PyErr_Occurred()) SWIG_fail
;
23944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23952 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23957 argc
= PyObject_Length(args
);
23958 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23959 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23965 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23975 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23983 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23991 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23999 _v
= SWIG_CheckInt(argv
[1]);
24001 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
24006 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
24011 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*self
, PyObject
*args
) {
24012 PyObject
*resultobj
;
24013 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24014 wxDataFormat
*arg2
= 0 ;
24016 PyObject
* obj0
= 0 ;
24017 PyObject
* obj1
= 0 ;
24019 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
24020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24025 if (arg2
== NULL
) {
24026 PyErr_SetString(PyExc_TypeError
,"null reference");
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
24033 wxPyEndAllowThreads(__tstate
);
24034 if (PyErr_Occurred()) SWIG_fail
;
24037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24045 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
24050 argc
= PyObject_Length(args
);
24051 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
24052 argv
[ii
] = PyTuple_GetItem(args
,ii
);
24058 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24068 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24076 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
24084 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
24092 _v
= SWIG_CheckInt(argv
[1]);
24094 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
24099 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
24104 static PyObject
*_wrap_DataFormat_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24105 PyObject
*resultobj
;
24106 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24108 PyObject
* obj0
= 0 ;
24109 PyObject
* obj1
= 0 ;
24110 char *kwnames
[] = {
24111 (char *) "self",(char *) "format", NULL
24114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
24115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24117 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 (arg1
)->SetType((wxDataFormatId
)arg2
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24126 Py_INCREF(Py_None
); resultobj
= Py_None
;
24133 static PyObject
*_wrap_DataFormat_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
;
24135 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24137 PyObject
* obj0
= 0 ;
24138 char *kwnames
[] = {
24139 (char *) "self", NULL
24142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
24143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= SWIG_FromInt((int)result
);
24159 static PyObject
*_wrap_DataFormat_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24173 result
= ((wxDataFormat
const *)arg1
)->GetId();
24175 wxPyEndAllowThreads(__tstate
);
24176 if (PyErr_Occurred()) SWIG_fail
;
24180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24191 static PyObject
*_wrap_DataFormat_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24192 PyObject
*resultobj
;
24193 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
24194 wxString
*arg2
= 0 ;
24195 bool temp2
= False
;
24196 PyObject
* obj0
= 0 ;
24197 PyObject
* obj1
= 0 ;
24198 char *kwnames
[] = {
24199 (char *) "self",(char *) "format", NULL
24202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
24203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24206 arg2
= wxString_in_helper(obj1
);
24207 if (arg2
== NULL
) SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 (arg1
)->SetId((wxString
const &)*arg2
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 Py_INCREF(Py_None
); resultobj
= Py_None
;
24232 static PyObject
* DataFormat_swigregister(PyObject
*self
, PyObject
*args
) {
24234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24235 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24237 return Py_BuildValue((char *)"");
24239 static int _wrap_FormatInvalid_set(PyObject
*_val
) {
24240 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24245 static PyObject
*_wrap_FormatInvalid_get() {
24248 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24253 static PyObject
*_wrap_delete_DataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24254 PyObject
*resultobj
;
24255 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 char *kwnames
[] = {
24258 (char *) "self", NULL
24261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24268 wxPyEndAllowThreads(__tstate
);
24269 if (PyErr_Occurred()) SWIG_fail
;
24271 Py_INCREF(Py_None
); resultobj
= Py_None
;
24278 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
;
24280 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24281 int arg2
= (int) wxDataObject::Get
;
24282 SwigValueWrapper
< wxDataFormat
> result
;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 char *kwnames
[] = {
24286 (char *) "self",(char *) "dir", NULL
24289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24293 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24304 wxDataFormat
* resultptr
;
24305 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24306 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24314 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24317 int arg2
= (int) wxDataObject::Get
;
24319 PyObject
* obj0
= 0 ;
24320 PyObject
* obj1
= 0 ;
24321 char *kwnames
[] = {
24322 (char *) "self",(char *) "dir", NULL
24325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24329 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24339 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24346 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24347 PyObject
*resultobj
;
24348 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24349 wxDataFormat
*arg2
= 0 ;
24350 int arg3
= (int) wxDataObject::Get
;
24352 PyObject
* obj0
= 0 ;
24353 PyObject
* obj1
= 0 ;
24354 PyObject
* obj2
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self",(char *) "format",(char *) "dir", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24362 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24363 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24365 if (arg2
== NULL
) {
24366 PyErr_SetString(PyExc_TypeError
,"null reference");
24370 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24375 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24377 wxPyEndAllowThreads(__tstate
);
24378 if (PyErr_Occurred()) SWIG_fail
;
24381 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24389 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
;
24391 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24392 wxDataFormat
*arg2
= 0 ;
24394 PyObject
* obj0
= 0 ;
24395 PyObject
* obj1
= 0 ;
24396 char *kwnames
[] = {
24397 (char *) "self",(char *) "format", NULL
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24406 if (arg2
== NULL
) {
24407 PyErr_SetString(PyExc_TypeError
,"null reference");
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24424 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24426 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24427 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24428 int arg3
= (int) wxDataObject::Get
;
24429 PyObject
* obj0
= 0 ;
24430 PyObject
* obj1
= 0 ;
24431 PyObject
* obj2
= 0 ;
24432 char *kwnames
[] = {
24433 (char *) "self",(char *) "formats",(char *) "dir", NULL
24436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24442 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24452 Py_INCREF(Py_None
); resultobj
= Py_None
;
24459 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24460 PyObject
*resultobj
;
24461 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24462 wxDataFormat
*arg2
= 0 ;
24463 void *arg3
= (void *) 0 ;
24465 PyObject
* obj0
= 0 ;
24466 PyObject
* obj1
= 0 ;
24467 PyObject
* obj2
= 0 ;
24468 char *kwnames
[] = {
24469 (char *) "self",(char *) "format",(char *) "buf", NULL
24472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24476 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24478 if (arg2
== NULL
) {
24479 PyErr_SetString(PyExc_TypeError
,"null reference");
24482 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24499 static PyObject
*_wrap_DataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24502 wxDataFormat
*arg2
= 0 ;
24504 void *arg4
= (void *) 0 ;
24506 PyObject
* obj0
= 0 ;
24507 PyObject
* obj1
= 0 ;
24508 PyObject
* obj2
= 0 ;
24509 PyObject
* obj3
= 0 ;
24510 char *kwnames
[] = {
24511 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24520 if (arg2
== NULL
) {
24521 PyErr_SetString(PyExc_TypeError
,"null reference");
24524 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24526 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24529 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24531 wxPyEndAllowThreads(__tstate
);
24532 if (PyErr_Occurred()) SWIG_fail
;
24535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24543 static PyObject
* DataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24545 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24546 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24548 return Py_BuildValue((char *)"");
24550 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24553 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24554 wxDataObjectSimple
*result
;
24555 PyObject
* obj0
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "format", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24565 if (arg1
== NULL
) {
24566 PyErr_SetString(PyExc_TypeError
,"null reference");
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24584 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
;
24586 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24587 wxDataFormat
*result
;
24588 PyObject
* obj0
= 0 ;
24589 char *kwnames
[] = {
24590 (char *) "self", NULL
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24600 result
= (wxDataFormat
*) &_result_ref
;
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24613 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
;
24615 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24616 wxDataFormat
*arg2
= 0 ;
24617 PyObject
* obj0
= 0 ;
24618 PyObject
* obj1
= 0 ;
24619 char *kwnames
[] = {
24620 (char *) "self",(char *) "format", NULL
24623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24629 if (arg2
== NULL
) {
24630 PyErr_SetString(PyExc_TypeError
,"null reference");
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24647 static PyObject
* DataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24649 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24650 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24652 return Py_BuildValue((char *)"");
24654 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
;
24656 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24657 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24658 wxPyDataObjectSimple
*result
;
24659 PyObject
* obj0
= 0 ;
24660 char *kwnames
[] = {
24661 (char *) "format", NULL
24664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24669 if (arg1
== NULL
) {
24670 PyErr_SetString(PyExc_TypeError
,"null reference");
24675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24676 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24678 wxPyEndAllowThreads(__tstate
);
24679 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24688 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24689 PyObject
*resultobj
;
24690 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24691 PyObject
*arg2
= (PyObject
*) 0 ;
24692 PyObject
*arg3
= (PyObject
*) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 PyObject
* obj1
= 0 ;
24695 PyObject
* obj2
= 0 ;
24696 char *kwnames
[] = {
24697 (char *) "self",(char *) "self",(char *) "_class", NULL
24700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24709 wxPyEndAllowThreads(__tstate
);
24710 if (PyErr_Occurred()) SWIG_fail
;
24712 Py_INCREF(Py_None
); resultobj
= Py_None
;
24719 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*self
, PyObject
*args
) {
24721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24722 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24724 return Py_BuildValue((char *)"");
24726 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24727 PyObject
*resultobj
;
24728 wxDataObjectComposite
*result
;
24729 char *kwnames
[] = {
24733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24736 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24738 wxPyEndAllowThreads(__tstate
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24748 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24749 PyObject
*resultobj
;
24750 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24751 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24752 int arg3
= (int) False
;
24753 PyObject
* obj0
= 0 ;
24754 PyObject
* obj1
= 0 ;
24755 PyObject
* obj2
= 0 ;
24756 char *kwnames
[] = {
24757 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24764 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24766 arg3
= (int) SWIG_AsInt(obj2
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 (arg1
)->Add(arg2
,arg3
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 Py_INCREF(Py_None
); resultobj
= Py_None
;
24783 static PyObject
* DataObjectComposite_swigregister(PyObject
*self
, PyObject
*args
) {
24785 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24786 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24788 return Py_BuildValue((char *)"");
24790 static PyObject
*_wrap_new_TextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24793 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24794 wxTextDataObject
*result
;
24795 bool temp1
= False
;
24796 PyObject
* obj0
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "text", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24804 arg1
= wxString_in_helper(obj0
);
24805 if (arg1
== NULL
) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24831 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24832 PyObject
*resultobj
;
24833 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24835 PyObject
* obj0
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 result
= (size_t)(arg1
)->GetTextLength();
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24857 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24861 PyObject
* obj0
= 0 ;
24862 char *kwnames
[] = {
24863 (char *) "self", NULL
24866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 result
= (arg1
)->GetText();
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24889 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24892 wxString
*arg2
= 0 ;
24893 bool temp2
= False
;
24894 PyObject
* obj0
= 0 ;
24895 PyObject
* obj1
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self",(char *) "text", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24904 arg2
= wxString_in_helper(obj1
);
24905 if (arg2
== NULL
) SWIG_fail
;
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24910 (arg1
)->SetText((wxString
const &)*arg2
);
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24915 Py_INCREF(Py_None
); resultobj
= Py_None
;
24930 static PyObject
* TextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
24932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24933 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24935 return Py_BuildValue((char *)"");
24937 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24940 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24941 wxPyTextDataObject
*result
;
24942 bool temp1
= False
;
24943 PyObject
* obj0
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "text", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24951 arg1
= wxString_in_helper(obj0
);
24952 if (arg1
== NULL
) SWIG_fail
;
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24960 wxPyEndAllowThreads(__tstate
);
24961 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24978 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
;
24980 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24981 PyObject
*arg2
= (PyObject
*) 0 ;
24982 PyObject
*arg3
= (PyObject
*) 0 ;
24983 PyObject
* obj0
= 0 ;
24984 PyObject
* obj1
= 0 ;
24985 PyObject
* obj2
= 0 ;
24986 char *kwnames
[] = {
24987 (char *) "self",(char *) "self",(char *) "_class", NULL
24990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 Py_INCREF(Py_None
); resultobj
= Py_None
;
25009 static PyObject
* PyTextDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25012 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
25014 return Py_BuildValue((char *)"");
25016 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25017 PyObject
*resultobj
;
25018 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25019 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25020 wxBitmapDataObject
*result
;
25021 PyObject
* obj0
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "bitmap", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
25028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25029 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25031 if (arg1
== NULL
) {
25032 PyErr_SetString(PyExc_TypeError
,"null reference");
25037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25038 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
25050 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
;
25052 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25054 PyObject
* obj0
= 0 ;
25055 char *kwnames
[] = {
25056 (char *) "self", NULL
25059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
25060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25070 wxBitmap
* resultptr
;
25071 resultptr
= new wxBitmap((wxBitmap
&) result
);
25072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
25080 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
25083 wxBitmap
*arg2
= 0 ;
25084 PyObject
* obj0
= 0 ;
25085 PyObject
* obj1
= 0 ;
25086 char *kwnames
[] = {
25087 (char *) "self",(char *) "bitmap", NULL
25090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
25091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
25092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25096 if (arg2
== NULL
) {
25097 PyErr_SetString(PyExc_TypeError
,"null reference");
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 Py_INCREF(Py_None
); resultobj
= Py_None
;
25114 static PyObject
* BitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25117 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
25119 return Py_BuildValue((char *)"");
25121 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
;
25123 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
25124 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
25125 wxPyBitmapDataObject
*result
;
25126 PyObject
* obj0
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "bitmap", NULL
25131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
25133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
25134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25136 if (arg1
== NULL
) {
25137 PyErr_SetString(PyExc_TypeError
,"null reference");
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
25155 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25156 PyObject
*resultobj
;
25157 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
25158 PyObject
*arg2
= (PyObject
*) 0 ;
25159 PyObject
*arg3
= (PyObject
*) 0 ;
25160 PyObject
* obj0
= 0 ;
25161 PyObject
* obj1
= 0 ;
25162 PyObject
* obj2
= 0 ;
25163 char *kwnames
[] = {
25164 (char *) "self",(char *) "self",(char *) "_class", NULL
25167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
25169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25174 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25176 wxPyEndAllowThreads(__tstate
);
25177 if (PyErr_Occurred()) SWIG_fail
;
25179 Py_INCREF(Py_None
); resultobj
= Py_None
;
25186 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25189 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
25191 return Py_BuildValue((char *)"");
25193 static PyObject
*_wrap_new_FileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25194 PyObject
*resultobj
;
25195 wxFileDataObject
*result
;
25196 char *kwnames
[] = {
25200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
25202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 result
= (wxFileDataObject
*)new wxFileDataObject();
25205 wxPyEndAllowThreads(__tstate
);
25206 if (PyErr_Occurred()) SWIG_fail
;
25208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
25215 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25216 PyObject
*resultobj
;
25217 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25218 wxArrayString
*result
;
25219 PyObject
* obj0
= 0 ;
25220 char *kwnames
[] = {
25221 (char *) "self", NULL
25224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
25225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
25231 result
= (wxArrayString
*) &_result_ref
;
25234 wxPyEndAllowThreads(__tstate
);
25235 if (PyErr_Occurred()) SWIG_fail
;
25238 resultobj
= wxArrayString2PyList_helper(*result
);
25246 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
;
25248 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25249 wxString
*arg2
= 0 ;
25250 bool temp2
= False
;
25251 PyObject
* obj0
= 0 ;
25252 PyObject
* obj1
= 0 ;
25253 char *kwnames
[] = {
25254 (char *) "self",(char *) "filename", NULL
25257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25261 arg2
= wxString_in_helper(obj1
);
25262 if (arg2
== NULL
) SWIG_fail
;
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 (arg1
)->AddFile((wxString
const &)*arg2
);
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25272 Py_INCREF(Py_None
); resultobj
= Py_None
;
25287 static PyObject
* FileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25290 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25292 return Py_BuildValue((char *)"");
25294 static PyObject
*_wrap_new_CustomDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
;
25296 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25297 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25298 wxCustomDataObject
*result
;
25299 PyObject
* obj0
= 0 ;
25300 char *kwnames
[] = {
25301 (char *) "format", NULL
25304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25307 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25309 if (arg1
== NULL
) {
25310 PyErr_SetString(PyExc_TypeError
,"null reference");
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25318 wxPyEndAllowThreads(__tstate
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25328 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25329 PyObject
*resultobj
;
25330 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25331 PyObject
*arg2
= (PyObject
*) 0 ;
25332 PyObject
* obj0
= 0 ;
25333 PyObject
* obj1
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "self",(char *) "data", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25344 wxCustomDataObject_TakeData(arg1
,arg2
);
25346 wxPyEndAllowThreads(__tstate
);
25347 if (PyErr_Occurred()) SWIG_fail
;
25349 Py_INCREF(Py_None
); resultobj
= Py_None
;
25356 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25357 PyObject
*resultobj
;
25358 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25359 PyObject
*arg2
= (PyObject
*) 0 ;
25361 PyObject
* obj0
= 0 ;
25362 PyObject
* obj1
= 0 ;
25363 char *kwnames
[] = {
25364 (char *) "self",(char *) "data", NULL
25367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25373 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25375 wxPyEndAllowThreads(__tstate
);
25376 if (PyErr_Occurred()) SWIG_fail
;
25379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25387 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25388 PyObject
*resultobj
;
25389 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25391 PyObject
* obj0
= 0 ;
25392 char *kwnames
[] = {
25393 (char *) "self", NULL
25396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 result
= (size_t)(arg1
)->GetSize();
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25406 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25413 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25414 PyObject
*resultobj
;
25415 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25417 PyObject
* obj0
= 0 ;
25418 char *kwnames
[] = {
25419 (char *) "self", NULL
25422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25427 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= result
;
25439 static PyObject
* CustomDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25442 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25444 return Py_BuildValue((char *)"");
25446 static PyObject
*_wrap_new_URLDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25447 PyObject
*resultobj
;
25448 wxURLDataObject
*result
;
25449 char *kwnames
[] = {
25453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 result
= (wxURLDataObject
*)new wxURLDataObject();
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25468 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25469 PyObject
*resultobj
;
25470 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25472 PyObject
* obj0
= 0 ;
25473 char *kwnames
[] = {
25474 (char *) "self", NULL
25477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 result
= (arg1
)->GetURL();
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25489 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25491 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25500 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
;
25502 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25503 wxString
*arg2
= 0 ;
25504 bool temp2
= False
;
25505 PyObject
* obj0
= 0 ;
25506 PyObject
* obj1
= 0 ;
25507 char *kwnames
[] = {
25508 (char *) "self",(char *) "url", NULL
25511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25515 arg2
= wxString_in_helper(obj1
);
25516 if (arg2
== NULL
) SWIG_fail
;
25520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25521 (arg1
)->SetURL((wxString
const &)*arg2
);
25523 wxPyEndAllowThreads(__tstate
);
25524 if (PyErr_Occurred()) SWIG_fail
;
25526 Py_INCREF(Py_None
); resultobj
= Py_None
;
25541 static PyObject
* URLDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25544 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25546 return Py_BuildValue((char *)"");
25548 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25549 PyObject
*resultobj
;
25550 wxMetafileDataObject
*result
;
25551 char *kwnames
[] = {
25555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25558 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25570 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25571 PyObject
*resultobj
;
25572 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25573 wxMetafile
*arg2
= 0 ;
25574 PyObject
* obj0
= 0 ;
25575 PyObject
* obj1
= 0 ;
25576 char *kwnames
[] = {
25577 (char *) "self",(char *) "metafile", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25583 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25584 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25586 if (arg2
== NULL
) {
25587 PyErr_SetString(PyExc_TypeError
,"null reference");
25591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25592 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25594 wxPyEndAllowThreads(__tstate
);
25595 if (PyErr_Occurred()) SWIG_fail
;
25597 Py_INCREF(Py_None
); resultobj
= Py_None
;
25604 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25608 PyObject
* obj0
= 0 ;
25609 char *kwnames
[] = {
25610 (char *) "self", NULL
25613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25620 wxPyEndAllowThreads(__tstate
);
25621 if (PyErr_Occurred()) SWIG_fail
;
25624 wxMetafile
* resultptr
;
25625 resultptr
= new wxMetafile((wxMetafile
&) result
);
25626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25634 static PyObject
* MetafileDataObject_swigregister(PyObject
*self
, PyObject
*args
) {
25636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25637 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25639 return Py_BuildValue((char *)"");
25641 static PyObject
*_wrap_IsDragResultOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25642 PyObject
*resultobj
;
25645 PyObject
* obj0
= 0 ;
25646 char *kwnames
[] = {
25647 (char *) "res", NULL
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25651 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25652 if (PyErr_Occurred()) SWIG_fail
;
25654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25655 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25657 wxPyEndAllowThreads(__tstate
);
25658 if (PyErr_Occurred()) SWIG_fail
;
25661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25669 static PyObject
*_wrap_new_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25670 PyObject
*resultobj
;
25671 wxWindow
*arg1
= (wxWindow
*) 0 ;
25672 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25673 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25674 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25675 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25676 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25677 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25678 wxPyDropSource
*result
;
25679 PyObject
* obj0
= 0 ;
25680 PyObject
* obj1
= 0 ;
25681 PyObject
* obj2
= 0 ;
25682 PyObject
* obj3
= 0 ;
25683 char *kwnames
[] = {
25684 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25692 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25694 if (arg2
== NULL
) {
25695 PyErr_SetString(PyExc_TypeError
,"null reference");
25700 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25701 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25703 if (arg3
== NULL
) {
25704 PyErr_SetString(PyExc_TypeError
,"null reference");
25709 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25710 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25712 if (arg4
== NULL
) {
25713 PyErr_SetString(PyExc_TypeError
,"null reference");
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25731 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25732 PyObject
*resultobj
;
25733 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25734 PyObject
*arg2
= (PyObject
*) 0 ;
25735 PyObject
*arg3
= (PyObject
*) 0 ;
25737 PyObject
* obj0
= 0 ;
25738 PyObject
* obj1
= 0 ;
25739 PyObject
* obj2
= 0 ;
25740 PyObject
* obj3
= 0 ;
25741 char *kwnames
[] = {
25742 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25750 arg4
= (int) SWIG_AsInt(obj3
);
25751 if (PyErr_Occurred()) SWIG_fail
;
25753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25754 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 Py_INCREF(Py_None
); resultobj
= Py_None
;
25766 static PyObject
*_wrap_delete_DropSource(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25767 PyObject
*resultobj
;
25768 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25769 PyObject
* obj0
= 0 ;
25770 char *kwnames
[] = {
25771 (char *) "self", NULL
25774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25784 Py_INCREF(Py_None
); resultobj
= Py_None
;
25791 static PyObject
*_wrap_DropSource_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25792 PyObject
*resultobj
;
25793 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25794 wxDataObject
*arg2
= 0 ;
25795 PyObject
* obj0
= 0 ;
25796 PyObject
* obj1
= 0 ;
25797 char *kwnames
[] = {
25798 (char *) "self",(char *) "data", NULL
25801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25807 if (arg2
== NULL
) {
25808 PyErr_SetString(PyExc_TypeError
,"null reference");
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 (arg1
)->SetData(*arg2
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 Py_INCREF(Py_None
); resultobj
= Py_None
;
25825 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
;
25827 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25828 wxDataObject
*result
;
25829 PyObject
* obj0
= 0 ;
25830 char *kwnames
[] = {
25831 (char *) "self", NULL
25834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25839 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25841 wxPyEndAllowThreads(__tstate
);
25842 if (PyErr_Occurred()) SWIG_fail
;
25844 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25851 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25852 PyObject
*resultobj
;
25853 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25855 wxCursor
*arg3
= 0 ;
25856 PyObject
* obj0
= 0 ;
25857 PyObject
* obj1
= 0 ;
25858 PyObject
* obj2
= 0 ;
25859 char *kwnames
[] = {
25860 (char *) "self",(char *) "res",(char *) "cursor", NULL
25863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25866 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25868 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25869 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25871 if (arg3
== NULL
) {
25872 PyErr_SetString(PyExc_TypeError
,"null reference");
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25882 Py_INCREF(Py_None
); resultobj
= Py_None
;
25889 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25890 PyObject
*resultobj
;
25891 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25892 int arg2
= (int) wxDrag_CopyOnly
;
25894 PyObject
* obj0
= 0 ;
25895 PyObject
* obj1
= 0 ;
25896 char *kwnames
[] = {
25897 (char *) "self",(char *) "flags", NULL
25900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25904 arg2
= (int) SWIG_AsInt(obj1
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 result
= (int)(arg1
)->DoDragDrop(arg2
);
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= SWIG_FromInt((int)result
);
25921 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25922 PyObject
*resultobj
;
25923 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25926 PyObject
* obj0
= 0 ;
25927 PyObject
* obj1
= 0 ;
25928 char *kwnames
[] = {
25929 (char *) "self",(char *) "effect", NULL
25932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25935 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25936 if (PyErr_Occurred()) SWIG_fail
;
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25953 static PyObject
* DropSource_swigregister(PyObject
*self
, PyObject
*args
) {
25955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25956 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25958 return Py_BuildValue((char *)"");
25960 static PyObject
*_wrap_new_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
;
25962 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25963 wxPyDropTarget
*result
;
25964 PyObject
* obj0
= 0 ;
25965 char *kwnames
[] = {
25966 (char *) "dataObject", NULL
25969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25972 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25976 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25978 wxPyEndAllowThreads(__tstate
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25981 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25988 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
;
25990 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25991 PyObject
*arg2
= (PyObject
*) 0 ;
25992 PyObject
*arg3
= (PyObject
*) 0 ;
25993 PyObject
* obj0
= 0 ;
25994 PyObject
* obj1
= 0 ;
25995 PyObject
* obj2
= 0 ;
25996 char *kwnames
[] = {
25997 (char *) "self",(char *) "self",(char *) "_class", NULL
26000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26007 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26009 wxPyEndAllowThreads(__tstate
);
26010 if (PyErr_Occurred()) SWIG_fail
;
26012 Py_INCREF(Py_None
); resultobj
= Py_None
;
26019 static PyObject
*_wrap_delete_DropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26022 PyObject
* obj0
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
26028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26037 Py_INCREF(Py_None
); resultobj
= Py_None
;
26044 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
;
26046 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26047 wxDataObject
*result
;
26048 PyObject
* obj0
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 result
= (wxDataObject
*)(arg1
)->GetDataObject();
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
26070 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26073 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 char *kwnames
[] = {
26077 (char *) "self",(char *) "dataObject", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
26081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26084 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26087 (arg1
)->SetDataObject(arg2
);
26089 wxPyEndAllowThreads(__tstate
);
26090 if (PyErr_Occurred()) SWIG_fail
;
26092 Py_INCREF(Py_None
); resultobj
= Py_None
;
26099 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26100 PyObject
*resultobj
;
26101 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26106 PyObject
* obj0
= 0 ;
26107 PyObject
* obj1
= 0 ;
26108 PyObject
* obj2
= 0 ;
26109 PyObject
* obj3
= 0 ;
26110 char *kwnames
[] = {
26111 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26117 arg2
= (int) SWIG_AsInt(obj1
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26119 arg3
= (int) SWIG_AsInt(obj2
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26121 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26122 if (PyErr_Occurred()) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26130 resultobj
= SWIG_FromInt((int)result
);
26137 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26144 PyObject
* obj0
= 0 ;
26145 PyObject
* obj1
= 0 ;
26146 PyObject
* obj2
= 0 ;
26147 PyObject
* obj3
= 0 ;
26148 char *kwnames
[] = {
26149 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26155 arg2
= (int) SWIG_AsInt(obj1
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26157 arg3
= (int) SWIG_AsInt(obj2
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26159 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26160 if (PyErr_Occurred()) SWIG_fail
;
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26168 resultobj
= SWIG_FromInt((int)result
);
26175 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26176 PyObject
*resultobj
;
26177 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26178 PyObject
* obj0
= 0 ;
26179 char *kwnames
[] = {
26180 (char *) "self", NULL
26183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 (arg1
)->base_OnLeave();
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 Py_INCREF(Py_None
); resultobj
= Py_None
;
26200 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26201 PyObject
*resultobj
;
26202 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26206 PyObject
* obj0
= 0 ;
26207 PyObject
* obj1
= 0 ;
26208 PyObject
* obj2
= 0 ;
26209 char *kwnames
[] = {
26210 (char *) "self",(char *) "x",(char *) "y", NULL
26213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26216 arg2
= (int) SWIG_AsInt(obj1
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26218 arg3
= (int) SWIG_AsInt(obj2
);
26219 if (PyErr_Occurred()) SWIG_fail
;
26221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26222 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26224 wxPyEndAllowThreads(__tstate
);
26225 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26236 static PyObject
*_wrap_DropTarget_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
;
26238 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26240 PyObject
* obj0
= 0 ;
26241 char *kwnames
[] = {
26242 (char *) "self", NULL
26245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26250 result
= (bool)(arg1
)->GetData();
26252 wxPyEndAllowThreads(__tstate
);
26253 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26264 static PyObject
* DropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26267 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26269 return Py_BuildValue((char *)"");
26271 static PyObject
*_wrap_new_TextDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxPyTextDropTarget
*result
;
26274 char *kwnames
[] = {
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26281 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26293 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26294 PyObject
*resultobj
;
26295 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26296 PyObject
*arg2
= (PyObject
*) 0 ;
26297 PyObject
*arg3
= (PyObject
*) 0 ;
26298 PyObject
* obj0
= 0 ;
26299 PyObject
* obj1
= 0 ;
26300 PyObject
* obj2
= 0 ;
26301 char *kwnames
[] = {
26302 (char *) "self",(char *) "self",(char *) "_class", NULL
26305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26312 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26314 wxPyEndAllowThreads(__tstate
);
26315 if (PyErr_Occurred()) SWIG_fail
;
26317 Py_INCREF(Py_None
); resultobj
= Py_None
;
26324 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26325 PyObject
*resultobj
;
26326 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26331 PyObject
* obj0
= 0 ;
26332 PyObject
* obj1
= 0 ;
26333 PyObject
* obj2
= 0 ;
26334 PyObject
* obj3
= 0 ;
26335 char *kwnames
[] = {
26336 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26342 arg2
= (int) SWIG_AsInt(obj1
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26344 arg3
= (int) SWIG_AsInt(obj2
);
26345 if (PyErr_Occurred()) SWIG_fail
;
26346 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26347 if (PyErr_Occurred()) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26355 resultobj
= SWIG_FromInt((int)result
);
26362 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26363 PyObject
*resultobj
;
26364 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 PyObject
* obj1
= 0 ;
26371 PyObject
* obj2
= 0 ;
26372 PyObject
* obj3
= 0 ;
26373 char *kwnames
[] = {
26374 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26380 arg2
= (int) SWIG_AsInt(obj1
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26382 arg3
= (int) SWIG_AsInt(obj2
);
26383 if (PyErr_Occurred()) SWIG_fail
;
26384 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26385 if (PyErr_Occurred()) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 resultobj
= SWIG_FromInt((int)result
);
26400 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
;
26402 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26403 PyObject
* obj0
= 0 ;
26404 char *kwnames
[] = {
26405 (char *) "self", NULL
26408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 (arg1
)->base_OnLeave();
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 Py_INCREF(Py_None
); resultobj
= Py_None
;
26425 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26431 PyObject
* obj0
= 0 ;
26432 PyObject
* obj1
= 0 ;
26433 PyObject
* obj2
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "self",(char *) "x",(char *) "y", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26441 arg2
= (int) SWIG_AsInt(obj1
);
26442 if (PyErr_Occurred()) SWIG_fail
;
26443 arg3
= (int) SWIG_AsInt(obj2
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26447 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26449 wxPyEndAllowThreads(__tstate
);
26450 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26461 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26462 PyObject
*resultobj
;
26463 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26468 PyObject
* obj0
= 0 ;
26469 PyObject
* obj1
= 0 ;
26470 PyObject
* obj2
= 0 ;
26471 PyObject
* obj3
= 0 ;
26472 char *kwnames
[] = {
26473 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26479 arg2
= (int) SWIG_AsInt(obj1
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26481 arg3
= (int) SWIG_AsInt(obj2
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26483 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26484 if (PyErr_Occurred()) SWIG_fail
;
26486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26487 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26489 wxPyEndAllowThreads(__tstate
);
26490 if (PyErr_Occurred()) SWIG_fail
;
26492 resultobj
= SWIG_FromInt((int)result
);
26499 static PyObject
* TextDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26501 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26502 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26504 return Py_BuildValue((char *)"");
26506 static PyObject
*_wrap_new_FileDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26507 PyObject
*resultobj
;
26508 wxPyFileDropTarget
*result
;
26509 char *kwnames
[] = {
26513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26516 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26518 wxPyEndAllowThreads(__tstate
);
26519 if (PyErr_Occurred()) SWIG_fail
;
26521 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26528 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26530 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26531 PyObject
*arg2
= (PyObject
*) 0 ;
26532 PyObject
*arg3
= (PyObject
*) 0 ;
26533 PyObject
* obj0
= 0 ;
26534 PyObject
* obj1
= 0 ;
26535 PyObject
* obj2
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self",(char *) "self",(char *) "_class", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 Py_INCREF(Py_None
); resultobj
= Py_None
;
26559 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26568 PyObject
* obj2
= 0 ;
26569 PyObject
* obj3
= 0 ;
26570 char *kwnames
[] = {
26571 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26577 arg2
= (int) SWIG_AsInt(obj1
);
26578 if (PyErr_Occurred()) SWIG_fail
;
26579 arg3
= (int) SWIG_AsInt(obj2
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26581 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26585 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26587 wxPyEndAllowThreads(__tstate
);
26588 if (PyErr_Occurred()) SWIG_fail
;
26590 resultobj
= SWIG_FromInt((int)result
);
26597 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26598 PyObject
*resultobj
;
26599 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26604 PyObject
* obj0
= 0 ;
26605 PyObject
* obj1
= 0 ;
26606 PyObject
* obj2
= 0 ;
26607 PyObject
* obj3
= 0 ;
26608 char *kwnames
[] = {
26609 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26615 arg2
= (int) SWIG_AsInt(obj1
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26617 arg3
= (int) SWIG_AsInt(obj2
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26619 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26623 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26625 wxPyEndAllowThreads(__tstate
);
26626 if (PyErr_Occurred()) SWIG_fail
;
26628 resultobj
= SWIG_FromInt((int)result
);
26635 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26636 PyObject
*resultobj
;
26637 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26638 PyObject
* obj0
= 0 ;
26639 char *kwnames
[] = {
26640 (char *) "self", NULL
26643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26648 (arg1
)->base_OnLeave();
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26653 Py_INCREF(Py_None
); resultobj
= Py_None
;
26660 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
;
26662 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26666 PyObject
* obj0
= 0 ;
26667 PyObject
* obj1
= 0 ;
26668 PyObject
* obj2
= 0 ;
26669 char *kwnames
[] = {
26670 (char *) "self",(char *) "x",(char *) "y", NULL
26673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26676 arg2
= (int) SWIG_AsInt(obj1
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26678 arg3
= (int) SWIG_AsInt(obj2
);
26679 if (PyErr_Occurred()) SWIG_fail
;
26681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26682 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26684 wxPyEndAllowThreads(__tstate
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26696 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26697 PyObject
*resultobj
;
26698 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26703 PyObject
* obj0
= 0 ;
26704 PyObject
* obj1
= 0 ;
26705 PyObject
* obj2
= 0 ;
26706 PyObject
* obj3
= 0 ;
26707 char *kwnames
[] = {
26708 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26714 arg2
= (int) SWIG_AsInt(obj1
);
26715 if (PyErr_Occurred()) SWIG_fail
;
26716 arg3
= (int) SWIG_AsInt(obj2
);
26717 if (PyErr_Occurred()) SWIG_fail
;
26718 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26722 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26727 resultobj
= SWIG_FromInt((int)result
);
26734 static PyObject
* FileDropTarget_swigregister(PyObject
*self
, PyObject
*args
) {
26736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26737 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26739 return Py_BuildValue((char *)"");
26741 static PyObject
*_wrap_new_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
;
26743 wxClipboard
*result
;
26744 char *kwnames
[] = {
26748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26751 result
= (wxClipboard
*)new wxClipboard();
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26763 static PyObject
*_wrap_delete_Clipboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
;
26765 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26766 PyObject
* obj0
= 0 ;
26767 char *kwnames
[] = {
26768 (char *) "self", NULL
26771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26781 Py_INCREF(Py_None
); resultobj
= Py_None
;
26788 static PyObject
*_wrap_Clipboard_Open(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26789 PyObject
*resultobj
;
26790 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26792 PyObject
* obj0
= 0 ;
26793 char *kwnames
[] = {
26794 (char *) "self", NULL
26797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 result
= (bool)(arg1
)->Open();
26804 wxPyEndAllowThreads(__tstate
);
26805 if (PyErr_Occurred()) SWIG_fail
;
26808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26816 static PyObject
*_wrap_Clipboard_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26817 PyObject
*resultobj
;
26818 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26819 PyObject
* obj0
= 0 ;
26820 char *kwnames
[] = {
26821 (char *) "self", NULL
26824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 wxPyEndAllowThreads(__tstate
);
26832 if (PyErr_Occurred()) SWIG_fail
;
26834 Py_INCREF(Py_None
); resultobj
= Py_None
;
26841 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
;
26843 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26845 PyObject
* obj0
= 0 ;
26846 char *kwnames
[] = {
26847 (char *) "self", NULL
26850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26869 static PyObject
*_wrap_Clipboard_AddData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26870 PyObject
*resultobj
;
26871 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26872 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26874 PyObject
* obj0
= 0 ;
26875 PyObject
* obj1
= 0 ;
26876 char *kwnames
[] = {
26877 (char *) "self",(char *) "data", NULL
26880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26884 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 result
= (bool)(arg1
)->AddData(arg2
);
26889 wxPyEndAllowThreads(__tstate
);
26890 if (PyErr_Occurred()) SWIG_fail
;
26893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26901 static PyObject
*_wrap_Clipboard_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26902 PyObject
*resultobj
;
26903 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26904 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26906 PyObject
* obj0
= 0 ;
26907 PyObject
* obj1
= 0 ;
26908 char *kwnames
[] = {
26909 (char *) "self",(char *) "data", NULL
26912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26916 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (bool)(arg1
)->SetData(arg2
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26933 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26936 wxDataFormat
*arg2
= 0 ;
26938 PyObject
* obj0
= 0 ;
26939 PyObject
* obj1
= 0 ;
26940 char *kwnames
[] = {
26941 (char *) "self",(char *) "format", NULL
26944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26947 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26948 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26950 if (arg2
== NULL
) {
26951 PyErr_SetString(PyExc_TypeError
,"null reference");
26955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26956 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26958 wxPyEndAllowThreads(__tstate
);
26959 if (PyErr_Occurred()) SWIG_fail
;
26962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26970 static PyObject
*_wrap_Clipboard_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
;
26972 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26973 wxDataObject
*arg2
= 0 ;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 char *kwnames
[] = {
26978 (char *) "self",(char *) "data", NULL
26981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26985 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26987 if (arg2
== NULL
) {
26988 PyErr_SetString(PyExc_TypeError
,"null reference");
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 result
= (bool)(arg1
)->GetData(*arg2
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27007 static PyObject
*_wrap_Clipboard_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
;
27009 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27010 PyObject
* obj0
= 0 ;
27011 char *kwnames
[] = {
27012 (char *) "self", NULL
27015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
27016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 wxPyEndAllowThreads(__tstate
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 Py_INCREF(Py_None
); resultobj
= Py_None
;
27032 static PyObject
*_wrap_Clipboard_Flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
;
27034 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27036 PyObject
* obj0
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
27042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 result
= (bool)(arg1
)->Flush();
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27060 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
;
27062 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
27063 bool arg2
= (bool) True
;
27064 PyObject
* obj0
= 0 ;
27065 PyObject
* obj1
= 0 ;
27066 char *kwnames
[] = {
27067 (char *) "self",(char *) "primary", NULL
27070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
27071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27074 arg2
= (bool) SWIG_AsBool(obj1
);
27075 if (PyErr_Occurred()) SWIG_fail
;
27078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27079 (arg1
)->UsePrimarySelection(arg2
);
27081 wxPyEndAllowThreads(__tstate
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27084 Py_INCREF(Py_None
); resultobj
= Py_None
;
27091 static PyObject
* Clipboard_swigregister(PyObject
*self
, PyObject
*args
) {
27093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27094 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
27096 return Py_BuildValue((char *)"");
27098 static int _wrap_TheClipboard_set(PyObject
*_val
) {
27099 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
27104 static PyObject
*_wrap_TheClipboard_get() {
27107 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
27112 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27113 PyObject
*resultobj
;
27114 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
27115 wxClipboardLocker
*result
;
27116 PyObject
* obj0
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "clipboard", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
27124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27128 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
27140 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27141 PyObject
*resultobj
;
27142 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27143 PyObject
* obj0
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
27149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 Py_INCREF(Py_None
); resultobj
= Py_None
;
27165 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
;
27167 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
27169 PyObject
* obj0
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
27175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
27176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
27181 wxPyEndAllowThreads(__tstate
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27193 static PyObject
* ClipboardLocker_swigregister(PyObject
*self
, PyObject
*args
) {
27195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27196 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
27198 return Py_BuildValue((char *)"");
27200 static PyObject
*_wrap_new_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27201 PyObject
*resultobj
;
27202 int arg1
= (int) 0 ;
27203 int arg2
= (int) 0 ;
27204 int arg3
= (int) 0 ;
27205 int arg4
= (int) 0 ;
27206 wxVideoMode
*result
;
27207 PyObject
* obj0
= 0 ;
27208 PyObject
* obj1
= 0 ;
27209 PyObject
* obj2
= 0 ;
27210 PyObject
* obj3
= 0 ;
27211 char *kwnames
[] = {
27212 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
27215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27217 arg1
= (int) SWIG_AsInt(obj0
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27221 arg2
= (int) SWIG_AsInt(obj1
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27225 arg3
= (int) SWIG_AsInt(obj2
);
27226 if (PyErr_Occurred()) SWIG_fail
;
27229 arg4
= (int) SWIG_AsInt(obj3
);
27230 if (PyErr_Occurred()) SWIG_fail
;
27233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27234 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
27236 wxPyEndAllowThreads(__tstate
);
27237 if (PyErr_Occurred()) SWIG_fail
;
27239 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
27246 static PyObject
*_wrap_delete_VideoMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27247 PyObject
*resultobj
;
27248 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27249 PyObject
* obj0
= 0 ;
27250 char *kwnames
[] = {
27251 (char *) "self", NULL
27254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
27255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27261 wxPyEndAllowThreads(__tstate
);
27262 if (PyErr_Occurred()) SWIG_fail
;
27264 Py_INCREF(Py_None
); resultobj
= Py_None
;
27271 static PyObject
*_wrap_VideoMode_Matches(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27272 PyObject
*resultobj
;
27273 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27274 wxVideoMode
*arg2
= 0 ;
27276 PyObject
* obj0
= 0 ;
27277 PyObject
* obj1
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "self",(char *) "other", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27288 if (arg2
== NULL
) {
27289 PyErr_SetString(PyExc_TypeError
,"null reference");
27293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27294 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27296 wxPyEndAllowThreads(__tstate
);
27297 if (PyErr_Occurred()) SWIG_fail
;
27300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27308 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27309 PyObject
*resultobj
;
27310 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27312 PyObject
* obj0
= 0 ;
27313 char *kwnames
[] = {
27314 (char *) "self", NULL
27317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_FromInt((int)result
);
27334 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27338 PyObject
* obj0
= 0 ;
27339 char *kwnames
[] = {
27340 (char *) "self", NULL
27343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 resultobj
= SWIG_FromInt((int)result
);
27360 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27364 PyObject
* obj0
= 0 ;
27365 char *kwnames
[] = {
27366 (char *) "self", NULL
27369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27379 resultobj
= SWIG_FromInt((int)result
);
27386 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27387 PyObject
*resultobj
;
27388 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27390 PyObject
* obj0
= 0 ;
27391 char *kwnames
[] = {
27392 (char *) "self", NULL
27395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27400 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27406 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27414 static PyObject
*_wrap_VideoMode___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27415 PyObject
*resultobj
;
27416 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27417 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27419 PyObject
* obj0
= 0 ;
27420 PyObject
* obj1
= 0 ;
27421 char *kwnames
[] = {
27422 (char *) "self",(char *) "other", NULL
27425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27428 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27432 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27446 static PyObject
*_wrap_VideoMode___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27447 PyObject
*resultobj
;
27448 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27449 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27451 PyObject
* obj0
= 0 ;
27452 PyObject
* obj1
= 0 ;
27453 char *kwnames
[] = {
27454 (char *) "self",(char *) "other", NULL
27457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27464 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27466 wxPyEndAllowThreads(__tstate
);
27467 if (PyErr_Occurred()) SWIG_fail
;
27470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27478 static PyObject
*_wrap_VideoMode_w_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27479 PyObject
*resultobj
;
27480 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27482 PyObject
* obj0
= 0 ;
27483 PyObject
* obj1
= 0 ;
27484 char *kwnames
[] = {
27485 (char *) "self",(char *) "w", NULL
27488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27491 arg2
= (int) SWIG_AsInt(obj1
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27493 if (arg1
) (arg1
)->w
= arg2
;
27495 Py_INCREF(Py_None
); resultobj
= Py_None
;
27502 static PyObject
*_wrap_VideoMode_w_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27503 PyObject
*resultobj
;
27504 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27506 PyObject
* obj0
= 0 ;
27507 char *kwnames
[] = {
27508 (char *) "self", NULL
27511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27514 result
= (int) ((arg1
)->w
);
27516 resultobj
= SWIG_FromInt((int)result
);
27523 static PyObject
*_wrap_VideoMode_h_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27524 PyObject
*resultobj
;
27525 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27527 PyObject
* obj0
= 0 ;
27528 PyObject
* obj1
= 0 ;
27529 char *kwnames
[] = {
27530 (char *) "self",(char *) "h", NULL
27533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27536 arg2
= (int) SWIG_AsInt(obj1
);
27537 if (PyErr_Occurred()) SWIG_fail
;
27538 if (arg1
) (arg1
)->h
= arg2
;
27540 Py_INCREF(Py_None
); resultobj
= Py_None
;
27547 static PyObject
*_wrap_VideoMode_h_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27548 PyObject
*resultobj
;
27549 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27551 PyObject
* obj0
= 0 ;
27552 char *kwnames
[] = {
27553 (char *) "self", NULL
27556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27559 result
= (int) ((arg1
)->h
);
27561 resultobj
= SWIG_FromInt((int)result
);
27568 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27572 PyObject
* obj0
= 0 ;
27573 PyObject
* obj1
= 0 ;
27574 char *kwnames
[] = {
27575 (char *) "self",(char *) "bpp", NULL
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27581 arg2
= (int) SWIG_AsInt(obj1
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27583 if (arg1
) (arg1
)->bpp
= arg2
;
27585 Py_INCREF(Py_None
); resultobj
= Py_None
;
27592 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
;
27594 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27596 PyObject
* obj0
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27604 result
= (int) ((arg1
)->bpp
);
27606 resultobj
= SWIG_FromInt((int)result
);
27613 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27617 PyObject
* obj0
= 0 ;
27618 PyObject
* obj1
= 0 ;
27619 char *kwnames
[] = {
27620 (char *) "self",(char *) "refresh", NULL
27623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27626 arg2
= (int) SWIG_AsInt(obj1
);
27627 if (PyErr_Occurred()) SWIG_fail
;
27628 if (arg1
) (arg1
)->refresh
= arg2
;
27630 Py_INCREF(Py_None
); resultobj
= Py_None
;
27637 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27638 PyObject
*resultobj
;
27639 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27641 PyObject
* obj0
= 0 ;
27642 char *kwnames
[] = {
27643 (char *) "self", NULL
27646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27649 result
= (int) ((arg1
)->refresh
);
27651 resultobj
= SWIG_FromInt((int)result
);
27658 static PyObject
* VideoMode_swigregister(PyObject
*self
, PyObject
*args
) {
27660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27661 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27663 return Py_BuildValue((char *)"");
27665 static int _wrap_DefaultVideoMode_set(PyObject
*_val
) {
27666 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27671 static PyObject
*_wrap_DefaultVideoMode_get() {
27674 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27679 static PyObject
*_wrap_new_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
;
27681 size_t arg1
= (size_t) 0 ;
27683 PyObject
* obj0
= 0 ;
27684 char *kwnames
[] = {
27685 (char *) "index", NULL
27688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27690 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 result
= (wxDisplay
*)new wxDisplay(arg1
);
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27707 static PyObject
*_wrap_delete_Display(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27708 PyObject
*resultobj
;
27709 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27710 PyObject
* obj0
= 0 ;
27711 char *kwnames
[] = {
27712 (char *) "self", NULL
27715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 wxPyEndAllowThreads(__tstate
);
27723 if (PyErr_Occurred()) SWIG_fail
;
27725 Py_INCREF(Py_None
); resultobj
= Py_None
;
27732 static PyObject
*_wrap_Display_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27733 PyObject
*resultobj
;
27735 char *kwnames
[] = {
27739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27742 result
= (size_t)wxDisplay::GetCount();
27744 wxPyEndAllowThreads(__tstate
);
27745 if (PyErr_Occurred()) SWIG_fail
;
27747 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27754 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27755 PyObject
*resultobj
;
27756 wxPoint
*arg1
= 0 ;
27759 PyObject
* obj0
= 0 ;
27760 char *kwnames
[] = {
27761 (char *) "pt", NULL
27764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27767 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= SWIG_FromInt((int)result
);
27783 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 wxWindow
*arg1
= (wxWindow
*) 0 ;
27787 PyObject
* obj0
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "window", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27797 result
= (int)wxDisplay::GetFromWindow(arg1
);
27799 wxPyEndAllowThreads(__tstate
);
27800 if (PyErr_Occurred()) SWIG_fail
;
27802 resultobj
= SWIG_FromInt((int)result
);
27809 static PyObject
*_wrap_Display_IsOk(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27813 PyObject
* obj0
= 0 ;
27814 char *kwnames
[] = {
27815 (char *) "self", NULL
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27837 static PyObject
*_wrap_Display_GetGeometry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27838 PyObject
*resultobj
;
27839 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27841 PyObject
* obj0
= 0 ;
27842 char *kwnames
[] = {
27843 (char *) "self", NULL
27846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27851 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27853 wxPyEndAllowThreads(__tstate
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27857 wxRect
* resultptr
;
27858 resultptr
= new wxRect((wxRect
&) result
);
27859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27867 static PyObject
*_wrap_Display_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27868 PyObject
*resultobj
;
27869 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27871 PyObject
* obj0
= 0 ;
27872 char *kwnames
[] = {
27873 (char *) "self", NULL
27876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27881 result
= ((wxDisplay
const *)arg1
)->GetName();
27883 wxPyEndAllowThreads(__tstate
);
27884 if (PyErr_Occurred()) SWIG_fail
;
27888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27899 static PyObject
*_wrap_Display_IsPrimary(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27900 PyObject
*resultobj
;
27901 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27903 PyObject
* obj0
= 0 ;
27904 char *kwnames
[] = {
27905 (char *) "self", NULL
27908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27913 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27915 wxPyEndAllowThreads(__tstate
);
27916 if (PyErr_Occurred()) SWIG_fail
;
27919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27927 static PyObject
*_wrap_Display_GetModes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27928 PyObject
*resultobj
;
27929 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27930 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27931 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 char *kwnames
[] = {
27936 (char *) "self",(char *) "mode", NULL
27939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27944 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27946 if (arg2
== NULL
) {
27947 PyErr_SetString(PyExc_TypeError
,"null reference");
27952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27953 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27955 wxPyEndAllowThreads(__tstate
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 resultobj
= result
;
27965 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27966 PyObject
*resultobj
;
27967 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27968 wxVideoMode result
;
27969 PyObject
* obj0
= 0 ;
27970 char *kwnames
[] = {
27971 (char *) "self", NULL
27974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27985 wxVideoMode
* resultptr
;
27986 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27987 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27995 static PyObject
*_wrap_Display_ChangeMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27996 PyObject
*resultobj
;
27997 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27998 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27999 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
28001 PyObject
* obj0
= 0 ;
28002 PyObject
* obj1
= 0 ;
28003 char *kwnames
[] = {
28004 (char *) "self",(char *) "mode", NULL
28007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
28008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
28012 SWIG_POINTER_EXCEPTION
| 0)) == -1)
28014 if (arg2
== NULL
) {
28015 PyErr_SetString(PyExc_TypeError
,"null reference");
28020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28021 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
28023 wxPyEndAllowThreads(__tstate
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28035 static PyObject
*_wrap_Display_ResetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28036 PyObject
*resultobj
;
28037 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
28038 PyObject
* obj0
= 0 ;
28039 char *kwnames
[] = {
28040 (char *) "self", NULL
28043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
28044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
28045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28048 (arg1
)->ResetMode();
28050 wxPyEndAllowThreads(__tstate
);
28051 if (PyErr_Occurred()) SWIG_fail
;
28053 Py_INCREF(Py_None
); resultobj
= Py_None
;
28060 static PyObject
* Display_swigregister(PyObject
*self
, PyObject
*args
) {
28062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28063 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
28065 return Py_BuildValue((char *)"");
28067 static PyMethodDef SwigMethods
[] = {
28068 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
},
28069 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
28070 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
},
28071 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
},
28072 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28073 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
},
28074 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
},
28075 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
},
28076 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
28077 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28078 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
28079 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
28080 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
28081 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
},
28082 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
},
28083 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
},
28084 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
},
28085 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
},
28086 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28087 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
},
28088 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
},
28089 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
},
28090 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
},
28091 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
},
28092 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
},
28093 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
},
28094 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
},
28095 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
},
28096 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
},
28097 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
},
28098 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
},
28099 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
},
28100 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
},
28101 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
},
28102 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
},
28103 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
},
28104 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
},
28105 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
},
28106 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
},
28107 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
},
28108 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
},
28109 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
},
28110 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28111 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28112 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
},
28113 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
},
28114 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28115 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28116 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
},
28117 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
},
28118 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
},
28119 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
},
28120 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
},
28121 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28122 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
},
28123 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28124 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
},
28125 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28126 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
},
28127 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28128 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
},
28129 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28130 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28131 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
},
28132 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28133 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
28134 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
},
28135 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
},
28136 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
},
28137 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
},
28138 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
},
28139 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28140 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
},
28141 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
},
28142 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
},
28143 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
},
28144 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
},
28145 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28146 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28147 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
},
28148 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
},
28149 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
},
28150 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28151 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
},
28152 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28153 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
},
28154 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28155 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
28156 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28157 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
28158 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
28159 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
28160 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
},
28161 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
28162 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
28163 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
},
28164 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
},
28165 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
},
28166 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28167 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
},
28168 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28169 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
},
28170 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
},
28171 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28172 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
},
28173 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
},
28174 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28175 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
},
28176 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
},
28177 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
},
28178 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
},
28179 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
},
28180 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28181 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
},
28182 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
},
28183 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28184 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
},
28185 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
},
28186 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
},
28187 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
},
28188 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
},
28189 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
},
28190 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
},
28191 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
},
28192 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
},
28193 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
},
28194 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
},
28195 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28196 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
},
28197 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28198 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28199 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
},
28200 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
},
28201 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
},
28202 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
},
28203 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
},
28204 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28205 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
},
28206 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
},
28207 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
},
28208 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
},
28209 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28210 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28211 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
},
28212 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
},
28213 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
},
28214 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28215 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
},
28216 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28217 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
},
28218 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
},
28219 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28220 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
},
28221 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28222 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
},
28223 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28224 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
},
28225 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
},
28226 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
},
28227 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
},
28228 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
},
28229 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
},
28230 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
},
28231 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
},
28232 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
},
28233 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
28234 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
},
28235 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
},
28236 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28237 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
},
28238 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28239 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
},
28240 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
},
28241 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
},
28242 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28243 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28244 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28245 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28246 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28247 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28248 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28249 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
},
28250 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28251 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28252 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28253 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
},
28254 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
},
28255 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
28256 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
},
28257 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28258 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
},
28259 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
},
28260 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
},
28261 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
},
28262 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
},
28263 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
},
28264 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
},
28265 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
},
28266 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
},
28267 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
28268 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28269 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28270 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28271 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
},
28272 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
},
28273 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
},
28274 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
},
28275 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
},
28276 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
},
28277 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
},
28278 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
},
28279 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
},
28280 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
},
28281 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
},
28282 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
},
28283 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
},
28284 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
},
28285 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
},
28286 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
},
28287 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
},
28288 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
},
28289 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
},
28290 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
},
28291 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
},
28292 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
},
28293 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28294 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
},
28295 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
},
28296 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
},
28297 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28298 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
},
28299 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
},
28300 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28301 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
},
28302 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
},
28303 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28304 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
},
28305 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
},
28306 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
},
28307 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
},
28308 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
},
28309 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
},
28310 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
},
28311 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
},
28312 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
},
28313 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28314 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
},
28315 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
},
28316 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
28317 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
},
28318 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
},
28319 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
},
28320 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
},
28321 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
},
28322 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
},
28323 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
},
28324 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
},
28325 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28326 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
},
28327 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28328 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28329 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28330 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28331 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
},
28332 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
},
28333 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
},
28334 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
},
28335 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28336 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
},
28337 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28338 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
},
28339 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
},
28340 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
},
28341 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
},
28342 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
},
28343 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
},
28344 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
},
28345 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
},
28346 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
},
28347 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
},
28348 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
},
28349 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
},
28350 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
},
28351 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
},
28352 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
},
28353 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
},
28354 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
},
28355 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
},
28356 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
},
28357 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
},
28358 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
},
28359 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
},
28360 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
},
28361 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
},
28362 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
},
28363 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
},
28364 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
},
28365 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
},
28366 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
},
28367 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
},
28368 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
},
28369 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
},
28370 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
28371 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
28372 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
},
28373 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
},
28374 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
},
28375 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
},
28376 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
},
28377 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
},
28378 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
},
28379 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
},
28380 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
},
28381 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28382 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28383 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28384 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28385 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28386 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
},
28387 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
},
28388 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
},
28389 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
28390 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
},
28391 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
28392 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
},
28393 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
},
28394 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
28395 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
28396 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
28397 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
},
28398 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
},
28399 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
},
28400 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
},
28401 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28402 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
},
28403 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
},
28404 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
},
28405 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
},
28406 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28407 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
},
28408 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
},
28409 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28410 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28411 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28412 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28413 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28414 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28415 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
},
28416 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28417 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28418 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
},
28419 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
},
28420 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
},
28421 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
},
28422 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28423 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
},
28424 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28425 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28426 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
},
28427 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28428 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
},
28429 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
},
28430 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
},
28431 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
},
28432 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
},
28433 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
},
28434 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
},
28435 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28436 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
},
28437 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
},
28438 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
},
28439 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28440 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
},
28441 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
},
28442 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
},
28443 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
},
28444 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
},
28445 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
},
28446 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
},
28447 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
},
28448 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
},
28449 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
},
28450 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
},
28451 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
},
28452 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
},
28453 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28454 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
},
28455 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
},
28456 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
},
28457 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28458 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
},
28459 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
28460 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
},
28461 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
},
28462 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
},
28463 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
},
28464 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
},
28465 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
},
28466 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
},
28467 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
28468 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
},
28469 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
},
28470 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
},
28471 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
},
28472 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
},
28473 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
},
28474 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
},
28475 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
},
28476 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
},
28477 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
},
28478 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
},
28479 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
},
28480 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
},
28481 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
},
28482 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
},
28483 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
},
28484 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
},
28485 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
},
28486 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28487 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
},
28488 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
},
28489 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
},
28490 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
},
28491 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
},
28492 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28493 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28494 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28495 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
},
28496 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28497 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28498 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28499 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
28500 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
28501 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28502 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
28503 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
},
28504 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
},
28505 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
},
28506 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
},
28507 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28508 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
},
28509 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
},
28510 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28511 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
},
28512 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
},
28513 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
},
28514 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
},
28515 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28516 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
},
28517 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
},
28518 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
},
28519 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
},
28520 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
},
28521 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
},
28522 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
},
28523 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
},
28524 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
},
28525 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
},
28526 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
},
28527 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
},
28528 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
},
28529 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
},
28530 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
},
28531 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
},
28532 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
},
28533 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
},
28534 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28535 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28536 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
},
28537 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
},
28538 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
},
28539 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
},
28540 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
},
28541 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
},
28542 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28543 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
},
28544 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
},
28545 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
},
28546 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
},
28547 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28548 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
},
28549 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
},
28550 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28551 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28552 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28553 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28554 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
},
28555 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28556 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28557 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28558 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28559 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28560 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28561 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28562 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
},
28563 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
},
28564 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28565 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
},
28566 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28567 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
},
28568 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28569 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
},
28570 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
},
28571 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
},
28572 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
},
28573 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28574 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
},
28575 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
},
28576 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
},
28577 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
},
28578 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
},
28579 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
},
28580 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
},
28581 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
},
28582 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
},
28583 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
},
28584 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
},
28585 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
},
28586 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
},
28587 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
},
28588 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28589 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
},
28590 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
},
28591 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
},
28592 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28593 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
},
28594 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
},
28595 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
},
28596 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
},
28597 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
},
28598 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
},
28599 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
},
28600 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
},
28601 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
},
28602 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
},
28603 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
},
28604 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28605 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
},
28606 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
},
28607 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
},
28608 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
},
28609 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
},
28610 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
},
28611 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
},
28612 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
},
28613 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
},
28614 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
},
28615 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
},
28616 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
},
28617 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
},
28618 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
},
28619 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
},
28620 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
},
28621 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
},
28622 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
},
28623 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
},
28624 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
},
28625 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
},
28626 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
},
28627 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
},
28628 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
},
28629 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
},
28630 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
},
28631 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
},
28632 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28633 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28634 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28635 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28636 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28637 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
},
28638 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28639 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28640 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28641 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28642 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
},
28643 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28644 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28645 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28646 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28647 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28648 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28649 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28650 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28651 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
},
28652 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
},
28653 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
},
28654 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
},
28655 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28656 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28657 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
},
28658 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
},
28659 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
},
28660 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
},
28661 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
},
28662 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
},
28663 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28664 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28665 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
},
28666 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
},
28667 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
},
28668 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
},
28669 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
},
28670 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
},
28671 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28672 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
},
28673 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
},
28674 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
},
28675 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
},
28676 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
},
28677 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
},
28678 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
},
28679 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
},
28680 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
},
28681 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
},
28682 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28683 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28684 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
},
28685 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
},
28686 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
},
28687 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
},
28688 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
},
28689 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
},
28690 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
},
28691 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
},
28692 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
},
28693 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
},
28694 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
28695 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
},
28696 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
},
28697 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
},
28698 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
},
28699 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
},
28700 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
},
28701 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
},
28702 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28703 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28704 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
},
28705 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
},
28706 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
},
28707 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
},
28708 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
},
28709 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28710 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28711 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
},
28712 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
},
28713 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
},
28714 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
},
28715 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
},
28716 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
},
28717 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
},
28718 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
},
28719 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
},
28720 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
},
28721 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
},
28722 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28723 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
},
28724 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
},
28725 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
},
28726 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28727 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
},
28728 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28729 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28730 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
},
28731 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
},
28732 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
},
28733 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28734 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
},
28735 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
},
28736 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
},
28737 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
},
28738 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28739 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
},
28740 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
},
28741 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
},
28742 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
},
28743 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28744 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28745 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
},
28746 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28747 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28748 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
28749 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
},
28750 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28751 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28752 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
},
28753 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28754 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
},
28755 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
},
28756 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
},
28757 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28758 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
},
28759 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28760 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
28761 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28762 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
},
28763 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28764 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
},
28765 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
},
28766 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
},
28767 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28768 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28769 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
},
28770 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
},
28771 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
},
28772 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28773 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28774 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
},
28775 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28776 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28777 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
28778 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
},
28779 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
},
28780 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
},
28781 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28782 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28783 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28784 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28785 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
},
28786 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28787 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28788 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28789 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28790 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28791 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
},
28792 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28793 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28794 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28795 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28796 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28797 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28798 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28799 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
},
28800 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
28801 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
28802 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
},
28803 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
},
28804 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
},
28805 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
},
28806 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
},
28807 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
},
28808 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28809 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
},
28810 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
},
28811 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
},
28812 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
},
28813 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
},
28814 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
},
28815 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
},
28816 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
},
28817 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
},
28818 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
},
28819 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
},
28820 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
},
28821 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28822 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
},
28823 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
},
28824 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
},
28825 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28826 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
},
28827 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
},
28828 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
28829 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
28830 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
},
28831 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28832 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
},
28833 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
},
28834 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
},
28835 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
},
28836 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
},
28837 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
},
28838 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
},
28839 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
},
28840 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
},
28841 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
},
28842 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
},
28843 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
},
28844 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
},
28845 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
28846 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
28847 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
28848 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
},
28849 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
},
28850 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
},
28851 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
},
28852 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
},
28853 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
},
28854 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
},
28855 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
},
28856 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
},
28861 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28863 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28864 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28866 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28867 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28869 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28870 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28872 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28873 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28875 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28876 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28878 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28879 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28881 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28882 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28884 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28885 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28887 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28888 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28890 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28891 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28893 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28894 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28896 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28897 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28899 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28900 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28902 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28903 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28905 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28906 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28908 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28909 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28911 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28912 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28914 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28915 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28917 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28918 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28920 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28921 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28923 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28924 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28926 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28927 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28929 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28930 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28932 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28933 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28935 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28936 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28938 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28939 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28941 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28942 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28944 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28945 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28947 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28948 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28950 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28951 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28953 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28954 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28956 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28957 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28959 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28960 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28962 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28963 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28965 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28966 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28968 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28969 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28971 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28972 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28974 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28975 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28977 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28978 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28980 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28981 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28983 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28984 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28986 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28987 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28989 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28990 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28992 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28993 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28995 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28996 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28998 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28999 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29001 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
29002 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29004 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
29005 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29007 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
29008 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29010 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
29011 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29013 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
29014 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29016 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
29017 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29019 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
29020 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29022 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
29023 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
29025 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
29026 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
29028 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29029 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
29031 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
29032 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
29034 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29035 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
29037 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
29038 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
29040 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29041 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
29043 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
29044 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
29046 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
29047 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
29049 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
29050 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
29052 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
29053 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
29055 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
29056 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29058 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
29059 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
29061 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
29062 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
29064 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
29065 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
29067 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
29068 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
29070 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
29071 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
29073 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
29074 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
29076 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
29077 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
29079 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
29080 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
29082 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
29083 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
29085 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
29086 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
29088 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
29089 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
29091 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
29092 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
29094 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
29095 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
29097 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
29098 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
29100 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
29101 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
29103 static void *_p_wxSizerTo_p_wxObject(void *x
) {
29104 return (void *)((wxObject
*) ((wxSizer
*) x
));
29106 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
29107 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
29109 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
29110 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
29112 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
29113 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
29115 static void *_p_wxEventTo_p_wxObject(void *x
) {
29116 return (void *)((wxObject
*) ((wxEvent
*) x
));
29118 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
29119 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
29121 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
29122 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
29124 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
29125 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
29127 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
29128 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
29130 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
29131 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
29133 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
29134 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
29136 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
29137 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
29139 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
29140 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
29142 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
29143 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
29145 static void *_p_wxControlTo_p_wxObject(void *x
) {
29146 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
29148 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
29149 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
29151 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
29152 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
29154 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
29155 return (void *)((wxObject
*) ((wxFSFile
*) x
));
29157 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
29158 return (void *)((wxObject
*) ((wxClipboard
*) x
));
29160 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
29161 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
29163 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
29164 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
29166 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
29167 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
29169 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
29170 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
29172 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
29173 return (void *)((wxObject
*) ((wxToolTip
*) x
));
29175 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
29176 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
29178 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
29179 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
29181 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
29182 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
29184 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
29185 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
29187 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
29188 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
29190 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
29191 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
29193 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
29194 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
29196 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
29197 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
29199 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
29200 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
29202 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
29203 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
29205 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
29206 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
29208 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
29209 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
29211 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
29212 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
29214 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
29215 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
29217 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
29218 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
29220 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
29221 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
29223 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
29224 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
29226 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
29227 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
29229 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
29230 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
29232 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
29233 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
29235 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
29236 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
29238 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
29239 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
29241 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
29242 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
29244 static void *_p_wxImageTo_p_wxObject(void *x
) {
29245 return (void *)((wxObject
*) ((wxImage
*) x
));
29247 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
29248 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
29250 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
29251 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
29253 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
29254 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
29256 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
29257 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
29259 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
29260 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
29262 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
29263 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
29265 static void *_p_wxWindowTo_p_wxObject(void *x
) {
29266 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
29268 static void *_p_wxMenuTo_p_wxObject(void *x
) {
29269 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
29271 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
29272 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
29274 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
29275 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29277 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29278 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29280 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29281 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29283 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29284 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29286 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29287 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29289 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29290 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29292 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29293 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29295 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29296 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29298 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29299 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29301 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29302 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29304 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29305 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29307 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29308 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29310 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29311 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29313 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29314 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29316 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29317 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29319 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29320 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29322 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29323 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29325 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29326 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29328 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29329 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29331 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29332 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29334 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29335 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29337 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29338 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29340 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29341 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29343 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29344 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29346 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29347 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29349 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29350 return (void *)((wxWindow
*) ((wxControl
*) x
));
29352 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29353 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29355 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29356 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29358 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29359 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29361 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29362 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29364 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}};
29365 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}};
29366 static swig_type_info _swigt__p_wxMetafile
[] = {{"_p_wxMetafile", 0, "wxMetafile *", 0, 0, 0, 0},{"_p_wxMetafile", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29367 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}};
29368 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}};
29369 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}};
29370 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}};
29371 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}};
29372 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}};
29373 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}};
29374 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}};
29375 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}};
29376 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}};
29377 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}};
29378 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}};
29379 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}};
29380 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}};
29381 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}};
29382 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}};
29383 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}};
29384 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}};
29385 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}};
29386 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}};
29387 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}};
29388 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}};
29389 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}};
29390 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}};
29391 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}};
29392 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}};
29393 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}};
29394 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}};
29395 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}};
29396 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}};
29397 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}};
29398 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}};
29399 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}};
29400 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}};
29401 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}};
29402 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}};
29403 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}};
29404 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}};
29405 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}};
29406 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}};
29407 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}};
29408 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}};
29409 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}};
29410 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}};
29411 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}};
29412 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}};
29413 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}};
29414 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}};
29415 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}};
29416 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}};
29417 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}};
29418 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}};
29419 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}};
29420 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}};
29421 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}};
29422 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}};
29423 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}};
29424 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}};
29425 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}};
29426 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}};
29427 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}};
29428 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}};
29429 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}};
29430 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}};
29431 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}};
29432 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}};
29433 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}};
29434 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}};
29435 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}};
29436 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}};
29437 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}};
29438 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}};
29439 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}};
29440 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}};
29441 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}};
29442 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}};
29443 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}};
29444 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}};
29445 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}};
29446 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}};
29447 static swig_type_info _swigt__p_wxByte
[] = {{"_p_wxByte", 0, "wxByte *", 0, 0, 0, 0},{"_p_wxByte", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
29448 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}};
29449 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}};
29450 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}};
29452 static swig_type_info
*swig_types_initial
[] = {
29453 _swigt__p_wxLogChain
,
29454 _swigt__p_wxMutexGuiLocker
,
29455 _swigt__p_wxMetafile
,
29456 _swigt__p_wxFileHistory
,
29458 _swigt__p_wxDateTime__TimeZone
,
29461 _swigt__p_wxConfigBase
,
29462 _swigt__p_wxDisplay
,
29463 _swigt__p_wxFileType
,
29464 _swigt__p_wxLogGui
,
29466 _swigt__p_wxDataFormat
,
29467 _swigt__p_wxTimerEvent
,
29471 _swigt__p_wxClipboard
,
29472 _swigt__p_wxStopWatch
,
29474 _swigt__p_wxClipboardLocker
,
29476 _swigt__p_wxLogStderr
,
29477 _swigt__p_wxLogTextCtrl
,
29478 _swigt__p_wxTextCtrl
,
29479 _swigt__p_wxBusyCursor
,
29480 _swigt__p_wxPyTextDataObject
,
29481 _swigt__p_wxBitmapDataObject
,
29482 _swigt__p_wxTextDataObject
,
29483 _swigt__p_wxDataObject
,
29484 _swigt__p_wxPyBitmapDataObject
,
29485 _swigt__p_wxFileDataObject
,
29486 _swigt__p_wxCustomDataObject
,
29487 _swigt__p_wxURLDataObject
,
29488 _swigt__p_wxMetafileDataObject
,
29490 _swigt__p_wxTimerRunner
,
29491 _swigt__p_wxLogWindow
,
29492 _swigt__p_wxTimeSpan
,
29493 _swigt__p_wxArrayString
,
29494 _swigt__p_wxWindowDisabler
,
29495 _swigt__p_wxToolTip
,
29496 _swigt__p_wxDataObjectComposite
,
29497 _swigt__p_wxFileConfig
,
29498 _swigt__p_wxSystemSettings
,
29499 _swigt__p_wxVideoMode
,
29500 _swigt__p_wxPyDataObjectSimple
,
29501 _swigt__p_wxDataObjectSimple
,
29502 _swigt__p_wxEvtHandler
,
29505 _swigt__p_wxSingleInstanceChecker
,
29506 _swigt__p_wxFileTypeInfo
,
29509 _swigt__p_wxMimeTypesManager
,
29510 _swigt__p_wxPyArtProvider
,
29511 _swigt__p_wxPyTipProvider
,
29512 _swigt__p_wxTipProvider
,
29513 _swigt__p_wxJoystick
,
29514 _swigt__p_wxSystemOptions
,
29516 _swigt__p_wxJoystickEvent
,
29517 _swigt__p_wxCursor
,
29518 _swigt__p_wxObject
,
29519 _swigt__p_wxOutputStream
,
29520 _swigt__p_wxDateTime
,
29521 _swigt__p_wxPyDropSource
,
29522 _swigt__p_wxWindow
,
29523 _swigt__p_wxString
,
29524 _swigt__p_wxPyProcess
,
29525 _swigt__p_wxBitmap
,
29526 _swigt__p_wxConfig
,
29528 _swigt__p_wxBusyInfo
,
29529 _swigt__p_wxPyDropTarget
,
29530 _swigt__p_wxPyTextDropTarget
,
29531 _swigt__p_wxPyFileDropTarget
,
29532 _swigt__p_wxProcessEvent
,
29534 _swigt__p_wxLogNull
,
29535 _swigt__p_wxColour
,
29537 _swigt__p_wxConfigPathChanger
,
29538 _swigt__p_wxPyTimer
,
29539 _swigt__p_wxDateSpan
,
29544 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29546 static swig_const_info swig_const_table
[] = {
29547 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29548 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29549 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29550 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29551 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29561 SWIGEXPORT(void) SWIG_init(void) {
29562 static PyObject
*SWIG_globals
= 0;
29563 static int typeinit
= 0;
29566 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29567 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29568 d
= PyModule_GetDict(m
);
29571 for (i
= 0; swig_types_initial
[i
]; i
++) {
29572 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29576 SWIG_InstallConstants(d
,swig_const_table
);
29578 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29579 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29580 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29581 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29582 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29583 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29584 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29585 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29586 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29587 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29588 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29589 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29590 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29591 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29592 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29593 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29594 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29595 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29596 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29597 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29598 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29599 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29600 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29601 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29602 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29603 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29604 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29605 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29606 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29607 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29608 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29609 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29610 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29611 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29612 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29613 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29614 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29615 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29616 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29617 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29618 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29619 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29620 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29621 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29622 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29623 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29624 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29625 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29626 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29627 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29628 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29629 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29630 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29631 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29632 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29633 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29634 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29635 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29636 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29637 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29638 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29639 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29640 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29641 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29642 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29643 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29644 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29645 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29646 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29647 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29648 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29649 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29650 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29651 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29652 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29653 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29654 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29655 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29656 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29657 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29658 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29659 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29660 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29661 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29662 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29663 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29664 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29665 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29666 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29667 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29668 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29669 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29670 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29671 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29672 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29673 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29674 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29675 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29676 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29677 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29678 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29679 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29680 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29681 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29682 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29683 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29684 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29685 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29686 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29687 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29688 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29689 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29690 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29691 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29692 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29693 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29694 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29695 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29696 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29697 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29698 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29699 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29700 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29701 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29702 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29703 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29704 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29705 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29706 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29707 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29708 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29709 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29710 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29711 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29712 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29713 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29714 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29715 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29716 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29717 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29718 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29719 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29720 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29721 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29722 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29723 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29724 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29725 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29726 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29727 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29729 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29731 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29732 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29733 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29734 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29735 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29736 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29737 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29738 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29739 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29740 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29741 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29742 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29743 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29744 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29745 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29746 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29747 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29748 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29749 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29750 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29751 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29752 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29753 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29754 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29755 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29756 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29757 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29758 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29759 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29760 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29761 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29762 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29763 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29764 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29765 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29766 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29767 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29768 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29769 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29770 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29771 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29772 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29773 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29774 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29775 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29776 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29777 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29778 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29779 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29780 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29781 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29782 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29783 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29784 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29785 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29786 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29787 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29788 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29790 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29792 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29793 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29794 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29795 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29796 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29797 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29798 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29799 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29800 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29801 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29802 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29803 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29804 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29805 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29806 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29807 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29808 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29809 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29810 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29811 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29812 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29813 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29814 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29815 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29816 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29817 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29818 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29819 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29820 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29821 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29822 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29823 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29824 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29825 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29826 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29827 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29828 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29829 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29830 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29831 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29832 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29833 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29834 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29835 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29836 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29837 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29838 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29839 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29840 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29841 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29842 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29843 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29844 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29845 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29846 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29847 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29848 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29849 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29850 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29851 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29852 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29853 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29854 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29855 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29856 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29857 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29858 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29859 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29860 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29861 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29862 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29863 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29864 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29865 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29866 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29867 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29868 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29869 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29870 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29871 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29872 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29873 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29874 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29875 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29876 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29877 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29878 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29879 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29880 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29881 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29882 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29883 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29884 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29885 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29886 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29887 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29888 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29889 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29890 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29891 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29892 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29893 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29894 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29895 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29896 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29897 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29898 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29899 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29900 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29901 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29902 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29903 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29904 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29905 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29906 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29907 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29908 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29909 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29910 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29911 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29912 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29913 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29914 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29915 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29916 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29917 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29918 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29919 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29920 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29921 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29922 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29923 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29924 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29925 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29926 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29927 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29928 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29929 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29930 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29931 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29932 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29933 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29934 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29935 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29936 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29937 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29938 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29939 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29940 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29941 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29942 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29943 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29944 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29945 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29946 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29947 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29948 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29949 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29950 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29951 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29952 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29953 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29954 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29955 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29956 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29957 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29958 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29959 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29960 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29961 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29962 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29963 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29964 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29965 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29966 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29967 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29968 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29969 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29970 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29971 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29972 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29973 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29974 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29975 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29976 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29977 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29978 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29979 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29980 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29981 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29982 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29983 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29984 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29985 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29986 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29987 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29988 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29989 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29990 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29991 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29993 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29994 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29995 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29996 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29998 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29999 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);