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 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
394 #if INT_MAX != LONG_MAX
395 SWIGSTATICINLINE(int)
396 SWIG_AsInt(PyObject
*obj
)
398 return swig_numeric_cast(int,
399 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
400 "int", INT_MIN
, INT_MAX
));
403 #define SWIG_AsInt SWIG_AsLong
407 SWIGSTATICINLINE(int)
408 SWIG_CheckInt(PyObject
* obj
)
411 if (PyErr_Occurred()) {
419 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
420 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
421 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
423 SWIGSTATICINLINE(int)
424 SWIG_CheckLong(PyObject
* obj
)
427 if (PyErr_Occurred()) {
436 SWIGSTATICINLINE(bool)
437 SWIG_AsBool(PyObject
*obj
)
439 return PyObject_IsTrue(obj
) ? true : false;
443 SWIGSTATICINLINE(int)
444 SWIG_CheckBool(PyObject
* obj
)
447 if (PyErr_Occurred()) {
456 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
462 } else if (target
== Py_None
) {
466 if (!PyTuple_Check(target
)) {
468 target
= PyTuple_New(1);
469 PyTuple_SetItem(target
, 0, o2
);
472 PyTuple_SetItem(o3
, 0, o
);
475 target
= PySequence_Concat(o2
, o3
);
483 SWIGSTATICINLINE(unsigned long)
484 SWIG_AsUnsignedLong(PyObject
* obj
)
486 if (PyLong_Check(obj
)) {
487 return PyLong_AsUnsignedLong(obj
);
489 long i
= PyInt_AsLong(obj
);
490 if ( !PyErr_Occurred() && (i
< 0)) {
491 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
498 SWIGSTATICINLINE(int)
499 SWIG_CheckUnsignedLong(PyObject
* obj
)
501 SWIG_AsUnsignedLong(obj
);
502 if (PyErr_Occurred()) {
511 SWIGSTATICINLINE(PyObject
* )
512 SWIG_FromUnsignedLong(unsigned long value
)
514 return (value
> LONG_MAX
) ?
515 PyLong_FromUnsignedLong(value
)
516 : PyInt_FromLong(swig_numeric_cast(long,value
));
520 bool wxThread_IsMain() {
521 #ifdef WXP_WITH_THREAD
522 return wxThread::IsMain();
529 int wxCaret_GetBlinkTime() {
530 return wxCaret::GetBlinkTime();
533 void wxCaret_SetBlinkTime(int milliseconds
) {
534 wxCaret::SetBlinkTime(milliseconds
);
538 #include <wx/snglinst.h>
542 #include <wx/msw/private.h>
543 #include <wx/dynload.h>
548 void wxDrawWindowOnDC(wxWindow
* window
, const wxDC
& dc
, int method
)
555 // This one only partially works. Appears to be an undocumented
556 // "standard" convention that not all widgets adhear to. For
557 // example, for some widgets backgrounds or non-client areas may
559 ::SendMessage(GetHwndOf(window
), WM_PAINT
, (long)GetHdcOf(dc
), 0);
563 // This one works much better, except for on XP. On Win2k nearly
564 // all widgets and their children are captured correctly[**]. On
565 // XP with Themes activated most native widgets draw only
566 // partially, if at all. Without themes it works just like on
569 // ** For example the radio buttons in a wxRadioBox are not its
570 // children by default, but you can capture it via the panel
571 // instead, or change RADIOBTN_PARENT_IS_RADIOBOX in radiobox.cpp.
572 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
573 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
|
574 PRF_ERASEBKGND
| PRF_OWNED
);
578 // This one is only defined in the latest SDK and is only
579 // available on XP. MSDN says it is similar to sending WM_PRINT
580 // so I expect that it will work similar to the above. Since it
581 // is avaialble only on XP, it can't be compiled like this and
582 // will have to be loaded dynamically.
583 // //::PrintWindow(GetHwndOf(window), GetHdcOf(dc), 0); //break;
588 // Use PrintWindow if available, or fallback to WM_PRINT
589 // otherwise. Unfortunately using PrintWindow is even worse than
590 // WM_PRINT. For most native widgets nothing is drawn to the dc
591 // at all, with or without Themes.
592 typedef BOOL (WINAPI
*PrintWindow_t
)(HWND
, HDC
, UINT
);
593 static bool s_triedToLoad
= False
;
594 static PrintWindow_t pfnPrintWindow
= NULL
;
595 if ( !s_triedToLoad
)
598 s_triedToLoad
= True
;
599 wxDynamicLibrary
dllUser32(_T("user32.dll"));
600 if ( dllUser32
.IsLoaded() )
602 wxLogNull nolog
; // Don't report errors here
603 pfnPrintWindow
= (PrintWindow_t
)dllUser32
.GetSymbol(_T("PrintWindow"));
608 printf("Using PrintWindow\n");
609 pfnPrintWindow(GetHwndOf(window
), GetHdcOf(dc
), 0);
613 printf("Using WM_PRINT\n");
614 ::SendMessage(GetHwndOf(window
), WM_PRINT
, (long)GetHdcOf(dc
),
615 PRF_CLIENT
| PRF_NONCLIENT
| PRF_CHILDREN
| PRF_ERASEBKGND
| PRF_OWNED
);
623 #include <wx/tipdlg.h>
626 class wxPyTipProvider
: public wxTipProvider
{
628 wxPyTipProvider(size_t currentTip
)
629 : wxTipProvider(currentTip
) {}
631 DEC_PYCALLBACK_STRING__pure(GetTip
);
632 DEC_PYCALLBACK_STRING_STRING(PreprocessTip
);
636 IMP_PYCALLBACK_STRING__pure( wxPyTipProvider
, wxTipProvider
, GetTip
);
637 IMP_PYCALLBACK_STRING_STRING(wxPyTipProvider
, wxTipProvider
, PreprocessTip
);
640 //IMP_PYCALLBACK__(wxPyTimer, wxTimer, Notify);
642 void wxPyTimer::Notify() {
644 wxPyBeginBlockThreads();
645 if ((found
= wxPyCBH_findCallback(m_myInst
, "Notify")))
646 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("()"));
647 wxPyEndBlockThreads();
651 void wxPyTimer::base_Notify() {
657 SWIGSTATICINLINE(PyObject
*)
658 SWIG_FromCharPtr(const char* cptr
)
660 size_t size
= cptr
? strlen(cptr
) : 0;
662 if (size
> INT_MAX
) {
663 return SWIG_NewPointerObj(swig_const_cast(char*,cptr
),
664 SWIG_TypeQuery("char *"), 0);
666 return PyString_FromStringAndSize(cptr
, swig_numeric_cast(int,size
));
675 SWIGSTATICINLINE(unsigned long)
676 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
677 unsigned long max_value
)
679 if (!PyErr_Occurred()) {
680 if (value
> max_value
) {
682 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
683 value
, type
, max_value
);
684 PyErr_SetObject(PyExc_OverflowError
, err
);
692 #if UINT_MAX != ULONG_MAX
693 SWIGSTATICINLINE(unsigned int)
694 SWIG_AsUnsignedInt(PyObject
*obj
)
696 return swig_numeric_cast(unsigned int,
697 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
698 "unsigned int", UINT_MAX
));
701 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
705 SWIGSTATICINLINE(int)
706 SWIG_CheckUnsignedInt(PyObject
* obj
)
708 SWIG_AsUnsignedInt(obj
);
709 if (PyErr_Occurred()) {
717 wxString
Log_TimeStamp(){
719 wxLog::TimeStamp(&msg
);
722 void wxLog_Destroy(wxLog
*self
){ delete self
; }
724 // A wxLog class that can be derived from in wxPython
725 class wxPyLog
: public wxLog
{
727 wxPyLog() : wxLog() {}
729 virtual void DoLog(wxLogLevel level
, const wxChar
*szString
, time_t t
) {
731 wxPyBeginBlockThreads();
732 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLog"))) {
733 PyObject
* s
= wx2PyString(szString
);
734 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iOi)", level
, s
, t
));
737 wxPyEndBlockThreads();
739 wxLog::DoLog(level
, szString
, t
);
742 virtual void DoLogString(const wxChar
*szString
, time_t t
) {
744 wxPyBeginBlockThreads();
745 if ((found
= wxPyCBH_findCallback(m_myInst
, "DoLogString"))) {
746 PyObject
* s
= wx2PyString(szString
);
747 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(Oi)", s
, t
));
750 wxPyEndBlockThreads();
752 wxLog::DoLogString(szString
, t
);
761 IMP_PYCALLBACK_VOID_INTINT( wxPyProcess
, wxProcess
, OnTerminate
);
764 #include <wx/joystick.h>
767 #if !wxUSE_JOYSTICK && !defined(__WXMSW__)
768 // A C++ stub class for wxJoystick for platforms that don't have it.
769 class wxJoystick
: public wxObject
{
771 wxJoystick(int joystick
= wxJOYSTICK1
) {
772 wxPyBeginBlockThreads();
773 PyErr_SetString(PyExc_NotImplementedError
,
774 "wxJoystick is not available on this platform.");
775 wxPyEndBlockThreads();
777 wxPoint
GetPosition() { return wxPoint(-1,-1); }
778 int GetZPosition() { return -1; }
779 int GetButtonState() { return -1; }
780 int GetPOVPosition() { return -1; }
781 int GetPOVCTSPosition() { return -1; }
782 int GetRudderPosition() { return -1; }
783 int GetUPosition() { return -1; }
784 int GetVPosition() { return -1; }
785 int GetMovementThreshold() { return -1; }
786 void SetMovementThreshold(int threshold
) {}
788 bool IsOk(void) { return False
; }
789 int GetNumberJoysticks() { return -1; }
790 int GetManufacturerId() { return -1; }
791 int GetProductId() { return -1; }
792 wxString
GetProductName() { return ""; }
793 int GetXMin() { return -1; }
794 int GetYMin() { return -1; }
795 int GetZMin() { return -1; }
796 int GetXMax() { return -1; }
797 int GetYMax() { return -1; }
798 int GetZMax() { return -1; }
799 int GetNumberButtons() { return -1; }
800 int GetNumberAxes() { return -1; }
801 int GetMaxButtons() { return -1; }
802 int GetMaxAxes() { return -1; }
803 int GetPollingMin() { return -1; }
804 int GetPollingMax() { return -1; }
805 int GetRudderMin() { return -1; }
806 int GetRudderMax() { return -1; }
807 int GetUMin() { return -1; }
808 int GetUMax() { return -1; }
809 int GetVMin() { return -1; }
810 int GetVMax() { return -1; }
812 bool HasRudder() { return False
; }
813 bool HasZ() { return False
; }
814 bool HasU() { return False
; }
815 bool HasV() { return False
; }
816 bool HasPOV() { return False
; }
817 bool HasPOV4Dir() { return False
; }
818 bool HasPOVCTS() { return False
; }
820 bool SetCapture(wxWindow
* win
, int pollingFreq
= 0) { return False
; }
821 bool ReleaseCapture() { return False
; }
826 #include <wx/sound.h>
830 // A C++ stub class for wxWave for platforms that don't have it.
831 class wxSound
: public wxObject
835 wxPyBeginBlockThreads();
836 PyErr_SetString(PyExc_NotImplementedError
,
837 "wxSound is not available on this platform.");
838 wxPyEndBlockThreads();
840 wxSound(const wxString
&, bool) {
841 wxPyBeginBlockThreads();
842 PyErr_SetString(PyExc_NotImplementedError
,
843 "wxSound is not available on this platform.");
844 wxPyEndBlockThreads();
846 wxSound(int, const wxByte
*) {
847 wxPyBeginBlockThreads();
848 PyErr_SetString(PyExc_NotImplementedError
,
849 "wxSound is not available on this platform.");
850 wxPyEndBlockThreads();
855 bool Create(const wxString
&, bool) { return false; }
856 bool Create(int, const wxByte
*) { return false; };
857 bool IsOk() { return false; };
858 bool Play(unsigned) const { return false; }
859 static bool Play(const wxString
&, unsigned) { return false; }
860 static void Stop() {}
865 bool wxSound_Create__SWIG_1(wxSound
*self
,int size
,wxByte
const *data
){
866 wxPyBeginBlockThreads();
867 PyErr_SetString(PyExc_NotImplementedError
,
868 "Create from data is not available on this platform.");
869 wxPyEndBlockThreads();
872 void Sound_Stop(){ wxPyRaiseNotImplemented(); }
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();
912 // Make a tuple and put the values in it
913 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();
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 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();
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 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();
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 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
1099 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
1101 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
1103 if (PyErr_Occurred()) {
1105 PyErr_SetString(PyExc_TypeError
, "a double is expected");
1111 SWIGSTATICINLINE(int)
1112 SWIG_CheckDouble(PyObject
* obj
)
1115 if (PyErr_Occurred()) {
1123 double wxConfigBase_ReadFloat(wxConfigBase
*self
,wxString
const &key
,double defaultVal
){
1125 self
->Read(key
, &rv
, defaultVal
);
1128 bool wxConfigBase_ReadBool(wxConfigBase
*self
,wxString
const &key
,bool defaultVal
){
1130 self
->Read(key
, &rv
, defaultVal
);
1134 #include <wx/datetime.h>
1137 static const wxString
wxPyDateFormatStr(wxT("%c"));
1138 static const wxString
wxPyTimeSpanFormatStr(wxT("%H:%M:%S"));
1140 #define LOCAL_TZ wxDateTime::Local
1143 #if UINT_MAX < LONG_MAX
1144 #define SWIG_FromUnsignedInt SWIG_FromLong
1146 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1149 wxDateTime
wxDateTime___add____SWIG_0(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1150 wxDateTime
wxDateTime___add____SWIG_1(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1151 wxTimeSpan
wxDateTime___sub____SWIG_0(wxDateTime
*self
,wxDateTime
const &other
){ return *self
- other
; }
1152 wxDateTime
wxDateTime___sub____SWIG_1(wxDateTime
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1153 wxDateTime
wxDateTime___sub____SWIG_2(wxDateTime
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1154 bool wxDateTime___lt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
< *other
) : False
; }
1155 bool wxDateTime___le__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
<= *other
) : False
; }
1156 bool wxDateTime___gt__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
> *other
) : True
; }
1157 bool wxDateTime___ge__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
>= *other
) : True
; }
1158 bool wxDateTime___eq__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
== *other
) : False
; }
1159 bool wxDateTime___ne__(wxDateTime
*self
,wxDateTime
const *other
){ return other
? (*self
!= *other
) : True
; }
1160 int wxDateTime_ParseRfc822Date(wxDateTime
*self
,wxString
const &date
){
1162 const wxChar
* _date
= date
;
1163 rv
= self
->ParseRfc822Date(_date
);
1164 if (rv
== NULL
) return -1;
1167 int wxDateTime_ParseFormat(wxDateTime
*self
,wxString
const &date
,wxString
const &format
,wxDateTime
const &dateDef
){
1169 const wxChar
* _date
= date
;
1170 rv
= self
->ParseFormat(_date
, format
, dateDef
);
1171 if (rv
== NULL
) return -1;
1174 int wxDateTime_ParseDateTime(wxDateTime
*self
,wxString
const &datetime
){
1176 const wxChar
* _datetime
= datetime
;
1177 rv
= self
->ParseDateTime(_datetime
);
1178 if (rv
== NULL
) return -1;
1179 return rv
- _datetime
;
1181 int wxDateTime_ParseDate(wxDateTime
*self
,wxString
const &date
){
1183 const wxChar
* _date
= date
;
1184 rv
= self
->ParseDate(_date
);
1185 if (rv
== NULL
) return -1;
1188 int wxDateTime_ParseTime(wxDateTime
*self
,wxString
const &time
){
1190 const wxChar
* _time
= time
;
1191 rv
= self
->ParseTime(_time
);
1192 if (rv
== NULL
) return -1;
1195 wxTimeSpan
wxTimeSpan___add__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
+ other
; }
1196 wxTimeSpan
wxTimeSpan___sub__(wxTimeSpan
*self
,wxTimeSpan
const &other
){ return *self
- other
; }
1197 wxTimeSpan
wxTimeSpan___mul__(wxTimeSpan
*self
,int n
){ return *self
* n
; }
1198 wxTimeSpan
wxTimeSpan___rmul__(wxTimeSpan
*self
,int n
){ return n
* *self
; }
1199 bool wxTimeSpan___lt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
< *other
) : False
; }
1200 bool wxTimeSpan___le__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
<= *other
) : False
; }
1201 bool wxTimeSpan___gt__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
> *other
) : True
; }
1202 bool wxTimeSpan___ge__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
>= *other
) : True
; }
1203 bool wxTimeSpan___eq__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1204 bool wxTimeSpan___ne__(wxTimeSpan
*self
,wxTimeSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1205 wxDateSpan
wxDateSpan___add__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
+ other
; }
1206 wxDateSpan
wxDateSpan___sub__(wxDateSpan
*self
,wxDateSpan
const &other
){ return *self
- other
; }
1207 wxDateSpan
wxDateSpan___mul__(wxDateSpan
*self
,int n
){ return *self
* n
; }
1208 wxDateSpan
wxDateSpan___rmul__(wxDateSpan
*self
,int n
){ return n
* *self
; }
1209 bool wxDateSpan___eq__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1210 bool wxDateSpan___ne__(wxDateSpan
*self
,wxDateSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1212 #include <wx/dataobj.h>
1214 // Create a new class for wxPython to use
1215 class wxPyDataObjectSimple
: public wxDataObjectSimple
{
1217 wxPyDataObjectSimple(const wxDataFormat
& format
= wxFormatInvalid
)
1218 : wxDataObjectSimple(format
) {}
1220 DEC_PYCALLBACK_SIZET__const(GetDataSize
);
1221 bool GetDataHere(void *buf
) const;
1222 bool SetData(size_t len
, const void *buf
) const;
1226 IMP_PYCALLBACK_SIZET__const(wxPyDataObjectSimple
, wxDataObjectSimple
, GetDataSize
);
1228 bool wxPyDataObjectSimple::GetDataHere(void *buf
) const {
1229 // We need to get the data for this object and write it to buf. I think
1230 // the best way to do this for wxPython is to have the Python method
1231 // return either a string or None and then act appropriately with the
1235 wxPyBeginBlockThreads();
1236 if (wxPyCBH_findCallback(m_myInst
, "GetDataHere")) {
1238 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1240 rval
= (ro
!= Py_None
&& PyString_Check(ro
));
1242 memcpy(buf
, PyString_AsString(ro
), PyString_Size(ro
));
1246 wxPyEndBlockThreads();
1250 bool wxPyDataObjectSimple::SetData(size_t len
, const void *buf
) const{
1251 // For this one we simply need to make a string from buf and len
1252 // and send it to the Python method.
1254 wxPyBeginBlockThreads();
1255 if (wxPyCBH_findCallback(m_myInst
, "SetData")) {
1256 PyObject
* data
= PyString_FromStringAndSize((char*)buf
, len
);
1257 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", data
));
1260 wxPyEndBlockThreads();
1264 // Create a new class for wxPython to use
1265 class wxPyTextDataObject
: public wxTextDataObject
{
1267 wxPyTextDataObject(const wxString
& text
= wxPyEmptyString
)
1268 : wxTextDataObject(text
) {}
1270 DEC_PYCALLBACK_SIZET__const(GetTextLength
);
1271 DEC_PYCALLBACK_STRING__const(GetText
);
1272 DEC_PYCALLBACK__STRING(SetText
);
1276 IMP_PYCALLBACK_SIZET__const(wxPyTextDataObject
, wxTextDataObject
, GetTextLength
);
1277 IMP_PYCALLBACK_STRING__const(wxPyTextDataObject
, wxTextDataObject
, GetText
);
1278 IMP_PYCALLBACK__STRING(wxPyTextDataObject
, wxTextDataObject
, SetText
);
1281 // Create a new class for wxPython to use
1282 class wxPyBitmapDataObject
: public wxBitmapDataObject
{
1284 wxPyBitmapDataObject(const wxBitmap
& bitmap
= wxNullBitmap
)
1285 : wxBitmapDataObject(bitmap
) {}
1287 wxBitmap
GetBitmap() const;
1288 void SetBitmap(const wxBitmap
& bitmap
);
1292 wxBitmap
wxPyBitmapDataObject::GetBitmap() const {
1293 wxBitmap
* rval
= &wxNullBitmap
;
1294 wxPyBeginBlockThreads();
1295 if (wxPyCBH_findCallback(m_myInst
, "GetBitmap")) {
1298 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
1300 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxBitmap")))
1305 wxPyEndBlockThreads();
1309 void wxPyBitmapDataObject::SetBitmap(const wxBitmap
& bitmap
) {
1310 wxPyBeginBlockThreads();
1311 if (wxPyCBH_findCallback(m_myInst
, "SetBitmap")) {
1312 PyObject
* bo
= wxPyConstructObject((void*)&bitmap
, wxT("wxBitmap"), False
);
1313 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(O)", bo
));
1316 wxPyEndBlockThreads();
1319 void wxCustomDataObject_TakeData(wxCustomDataObject
*self
,PyObject
*data
){
1320 if (PyString_Check(data
)) {
1321 // for Python we just call SetData here since we always need it to make a copy.
1322 self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1325 // raise a TypeError if not a string
1326 PyErr_SetString(PyExc_TypeError
, "String expected.");
1329 bool wxCustomDataObject_SetData(wxCustomDataObject
*self
,PyObject
*data
){
1330 if (PyString_Check(data
)) {
1331 return self
->SetData(PyString_Size(data
), PyString_AsString(data
));
1334 // raise a TypeError if not a string
1335 PyErr_SetString(PyExc_TypeError
, "String expected.");
1339 PyObject
*wxCustomDataObject_GetData(wxCustomDataObject
*self
){
1340 return PyString_FromStringAndSize((char*)self
->GetData(), self
->GetSize());
1343 #include <wx/metafile.h>
1346 IMP_PYCALLBACK_BOOL_DR(wxPyDropSource
, wxDropSource
, GiveFeedback
);
1349 IMP_PYCALLBACK__(wxPyDropTarget
, wxDropTarget
, OnLeave
);
1350 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnEnter
);
1351 IMP_PYCALLBACK_DR_2WXCDR(wxPyDropTarget
, wxDropTarget
, OnDragOver
);
1352 IMP_PYCALLBACK_DR_2WXCDR_pure(wxPyDropTarget
, wxDropTarget
, OnData
);
1353 IMP_PYCALLBACK_BOOL_INTINT(wxPyDropTarget
, wxDropTarget
, OnDrop
);
1356 class wxPyTextDropTarget
: public wxTextDropTarget
{
1358 wxPyTextDropTarget() {}
1360 DEC_PYCALLBACK_BOOL_INTINTSTR_pure(OnDropText
);
1362 DEC_PYCALLBACK__(OnLeave
);
1363 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1364 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1365 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1366 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1371 IMP_PYCALLBACK_BOOL_INTINTSTR_pure(wxPyTextDropTarget
, wxTextDropTarget
, OnDropText
);
1372 IMP_PYCALLBACK__(wxPyTextDropTarget
, wxTextDropTarget
, OnLeave
);
1373 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnEnter
);
1374 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnDragOver
);
1375 IMP_PYCALLBACK_DR_2WXCDR(wxPyTextDropTarget
, wxTextDropTarget
, OnData
);
1376 IMP_PYCALLBACK_BOOL_INTINT(wxPyTextDropTarget
, wxTextDropTarget
, OnDrop
);
1380 class wxPyFileDropTarget
: public wxFileDropTarget
{
1382 wxPyFileDropTarget() {}
1384 virtual bool OnDropFiles(wxCoord x
, wxCoord y
, const wxArrayString
& filenames
);
1386 DEC_PYCALLBACK__(OnLeave
);
1387 DEC_PYCALLBACK_DR_2WXCDR(OnEnter
);
1388 DEC_PYCALLBACK_DR_2WXCDR(OnDragOver
);
1389 DEC_PYCALLBACK_DR_2WXCDR(OnData
);
1390 DEC_PYCALLBACK_BOOL_INTINT(OnDrop
);
1395 bool wxPyFileDropTarget::OnDropFiles(wxCoord x
, wxCoord y
,
1396 const wxArrayString
& filenames
) {
1398 wxPyBeginBlockThreads();
1399 if (wxPyCBH_findCallback(m_myInst
, "OnDropFiles")) {
1400 PyObject
* list
= wxArrayString2PyList_helper(filenames
);
1401 rval
= wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iiO)",x
,y
,list
));
1404 wxPyEndBlockThreads();
1410 IMP_PYCALLBACK__(wxPyFileDropTarget
, wxFileDropTarget
, OnLeave
);
1411 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnEnter
);
1412 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnDragOver
);
1413 IMP_PYCALLBACK_DR_2WXCDR(wxPyFileDropTarget
, wxFileDropTarget
, OnData
);
1414 IMP_PYCALLBACK_BOOL_INTINT(wxPyFileDropTarget
, wxFileDropTarget
, OnDrop
);
1419 bool wxClipboardLocker___nonzero__(wxClipboardLocker
*self
){ return !!(*self
); }
1421 #include "wx/display.h"
1423 bool wxVideoMode___eq__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
== *other
) : False
; }
1424 bool wxVideoMode___ne__(wxVideoMode
*self
,wxVideoMode
const *other
){ return other
? (*self
!= *other
) : True
; }
1425 int Display_GetFromWindow(wxWindow
*window
){ wxPyRaiseNotImplemented(); return wxNOT_FOUND
; }
1426 PyObject
*wxDisplay_GetModes(wxDisplay
*self
,wxVideoMode
const &mode
){
1427 PyObject
* pyList
= NULL
;
1428 wxArrayVideoModes arr
= self
->GetModes(mode
);
1429 wxPyBeginBlockThreads();
1430 pyList
= PyList_New(0);
1431 for (int i
=0; i
< arr
.GetCount(); i
++) {
1432 wxVideoMode
* m
= new wxVideoMode(arr
.Item(i
));
1433 PyObject
* pyObj
= wxPyConstructObject(m
, wxT("wxVideoMode"), true);
1434 PyList_Append(pyList
, pyObj
);
1436 wxPyEndBlockThreads();
1442 static PyObject
*_wrap_SystemSettings_GetColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1443 PyObject
*resultobj
;
1446 PyObject
* obj0
= 0 ;
1448 (char *) "index", NULL
1451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetColour",kwnames
,&obj0
)) goto fail
;
1452 arg1
= (wxSystemColour
) SWIG_AsInt(obj0
);
1453 if (PyErr_Occurred()) SWIG_fail
;
1455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1456 result
= wxSystemSettings::GetColour((wxSystemColour
)arg1
);
1458 wxPyEndAllowThreads(__tstate
);
1459 if (PyErr_Occurred()) SWIG_fail
;
1462 wxColour
* resultptr
;
1463 resultptr
= new wxColour((wxColour
&) result
);
1464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
1472 static PyObject
*_wrap_SystemSettings_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1473 PyObject
*resultobj
;
1476 PyObject
* obj0
= 0 ;
1478 (char *) "index", NULL
1481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetFont",kwnames
,&obj0
)) goto fail
;
1482 arg1
= (wxSystemFont
) SWIG_AsInt(obj0
);
1483 if (PyErr_Occurred()) SWIG_fail
;
1485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1486 result
= wxSystemSettings::GetFont((wxSystemFont
)arg1
);
1488 wxPyEndAllowThreads(__tstate
);
1489 if (PyErr_Occurred()) SWIG_fail
;
1493 resultptr
= new wxFont((wxFont
&) result
);
1494 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
1502 static PyObject
*_wrap_SystemSettings_GetMetric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1503 PyObject
*resultobj
;
1506 PyObject
* obj0
= 0 ;
1508 (char *) "index", NULL
1511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_GetMetric",kwnames
,&obj0
)) goto fail
;
1512 arg1
= (wxSystemMetric
) SWIG_AsInt(obj0
);
1513 if (PyErr_Occurred()) SWIG_fail
;
1515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1516 result
= (int)wxSystemSettings::GetMetric((wxSystemMetric
)arg1
);
1518 wxPyEndAllowThreads(__tstate
);
1519 if (PyErr_Occurred()) SWIG_fail
;
1521 resultobj
= SWIG_FromInt((int)result
);
1528 static PyObject
*_wrap_SystemSettings_HasFeature(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1529 PyObject
*resultobj
;
1532 PyObject
* obj0
= 0 ;
1534 (char *) "index", NULL
1537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_HasFeature",kwnames
,&obj0
)) goto fail
;
1538 arg1
= (wxSystemFeature
) SWIG_AsInt(obj0
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1542 result
= (bool)wxSystemSettings::HasFeature((wxSystemFeature
)arg1
);
1544 wxPyEndAllowThreads(__tstate
);
1545 if (PyErr_Occurred()) SWIG_fail
;
1547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1554 static PyObject
*_wrap_SystemSettings_GetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1555 PyObject
*resultobj
;
1561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SystemSettings_GetScreenType",kwnames
)) goto fail
;
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 result
= (int)wxSystemSettings::GetScreenType();
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1569 resultobj
= SWIG_FromInt((int)result
);
1576 static PyObject
*_wrap_SystemSettings_SetScreenType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
*resultobj
;
1579 PyObject
* obj0
= 0 ;
1581 (char *) "screen", NULL
1584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemSettings_SetScreenType",kwnames
,&obj0
)) goto fail
;
1585 arg1
= (wxSystemScreenType
) SWIG_AsInt(obj0
);
1586 if (PyErr_Occurred()) SWIG_fail
;
1588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1589 wxSystemSettings::SetScreenType((wxSystemScreenType
)arg1
);
1591 wxPyEndAllowThreads(__tstate
);
1592 if (PyErr_Occurred()) SWIG_fail
;
1594 Py_INCREF(Py_None
); resultobj
= Py_None
;
1601 static PyObject
* SystemSettings_swigregister(PyObject
*, PyObject
*args
) {
1603 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1604 SWIG_TypeClientData(SWIGTYPE_p_wxSystemSettings
, obj
);
1606 return Py_BuildValue((char *)"");
1608 static PyObject
*_wrap_new_SystemOptions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1609 PyObject
*resultobj
;
1610 wxSystemOptions
*result
;
1615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SystemOptions",kwnames
)) goto fail
;
1617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1618 result
= (wxSystemOptions
*)new wxSystemOptions();
1620 wxPyEndAllowThreads(__tstate
);
1621 if (PyErr_Occurred()) SWIG_fail
;
1623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSystemOptions
, 1);
1630 static PyObject
*_wrap_SystemOptions_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1631 PyObject
*resultobj
;
1632 wxString
*arg1
= 0 ;
1633 wxString
*arg2
= 0 ;
1634 bool temp1
= False
;
1635 bool temp2
= False
;
1636 PyObject
* obj0
= 0 ;
1637 PyObject
* obj1
= 0 ;
1639 (char *) "name",(char *) "value", NULL
1642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
1644 arg1
= wxString_in_helper(obj0
);
1645 if (arg1
== NULL
) SWIG_fail
;
1649 arg2
= wxString_in_helper(obj1
);
1650 if (arg2
== NULL
) SWIG_fail
;
1654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1655 wxSystemOptions::SetOption((wxString
const &)*arg1
,(wxString
const &)*arg2
);
1657 wxPyEndAllowThreads(__tstate
);
1658 if (PyErr_Occurred()) SWIG_fail
;
1660 Py_INCREF(Py_None
); resultobj
= Py_None
;
1683 static PyObject
*_wrap_SystemOptions_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
*resultobj
;
1685 wxString
*arg1
= 0 ;
1687 bool temp1
= False
;
1688 PyObject
* obj0
= 0 ;
1689 PyObject
* obj1
= 0 ;
1691 (char *) "name",(char *) "value", NULL
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SystemOptions_SetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
1696 arg1
= wxString_in_helper(obj0
);
1697 if (arg1
== NULL
) SWIG_fail
;
1700 arg2
= (int) SWIG_AsInt(obj1
);
1701 if (PyErr_Occurred()) SWIG_fail
;
1703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1704 wxSystemOptions::SetOption((wxString
const &)*arg1
,arg2
);
1706 wxPyEndAllowThreads(__tstate
);
1707 if (PyErr_Occurred()) SWIG_fail
;
1709 Py_INCREF(Py_None
); resultobj
= Py_None
;
1724 static PyObject
*_wrap_SystemOptions_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1725 PyObject
*resultobj
;
1726 wxString
*arg1
= 0 ;
1728 bool temp1
= False
;
1729 PyObject
* obj0
= 0 ;
1731 (char *) "name", NULL
1734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOption",kwnames
,&obj0
)) goto fail
;
1736 arg1
= wxString_in_helper(obj0
);
1737 if (arg1
== NULL
) SWIG_fail
;
1741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1742 result
= wxSystemOptions::GetOption((wxString
const &)*arg1
);
1744 wxPyEndAllowThreads(__tstate
);
1745 if (PyErr_Occurred()) SWIG_fail
;
1749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1768 static PyObject
*_wrap_SystemOptions_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
*resultobj
;
1770 wxString
*arg1
= 0 ;
1772 bool temp1
= False
;
1773 PyObject
* obj0
= 0 ;
1775 (char *) "name", NULL
1778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_GetOptionInt",kwnames
,&obj0
)) goto fail
;
1780 arg1
= wxString_in_helper(obj0
);
1781 if (arg1
== NULL
) SWIG_fail
;
1785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1786 result
= (int)wxSystemOptions::GetOptionInt((wxString
const &)*arg1
);
1788 wxPyEndAllowThreads(__tstate
);
1789 if (PyErr_Occurred()) SWIG_fail
;
1791 resultobj
= SWIG_FromInt((int)result
);
1806 static PyObject
*_wrap_SystemOptions_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
*resultobj
;
1808 wxString
*arg1
= 0 ;
1810 bool temp1
= False
;
1811 PyObject
* obj0
= 0 ;
1813 (char *) "name", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SystemOptions_HasOption",kwnames
,&obj0
)) goto fail
;
1818 arg1
= wxString_in_helper(obj0
);
1819 if (arg1
== NULL
) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (bool)wxSystemOptions::HasOption((wxString
const &)*arg1
);
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1844 static PyObject
* SystemOptions_swigregister(PyObject
*, PyObject
*args
) {
1846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1847 SWIG_TypeClientData(SWIGTYPE_p_wxSystemOptions
, obj
);
1849 return Py_BuildValue((char *)"");
1851 static int _wrap_FileSelectorPromptStr_set(PyObject
*) {
1852 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorPromptStr is read-only.");
1857 static PyObject
*_wrap_FileSelectorPromptStr_get() {
1862 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1864 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
1871 static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject
*) {
1872 PyErr_SetString(PyExc_TypeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
1877 static PyObject
*_wrap_FileSelectorDefaultWildcardStr_get() {
1882 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1884 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
1891 static int _wrap_DirSelectorPromptStr_set(PyObject
*) {
1892 PyErr_SetString(PyExc_TypeError
,"Variable DirSelectorPromptStr is read-only.");
1897 static PyObject
*_wrap_DirSelectorPromptStr_get() {
1902 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1904 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
1911 static PyObject
*_wrap_NewId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1912 PyObject
*resultobj
;
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewId",kwnames
)) goto fail
;
1920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1921 result
= (long)wxNewId();
1923 wxPyEndAllowThreads(__tstate
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1926 resultobj
= SWIG_FromLong((long)result
);
1933 static PyObject
*_wrap_RegisterId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1936 PyObject
* obj0
= 0 ;
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RegisterId",kwnames
,&obj0
)) goto fail
;
1942 arg1
= (long) SWIG_AsLong(obj0
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 Py_INCREF(Py_None
); resultobj
= Py_None
;
1958 static PyObject
*_wrap_GetCurrentId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentId",kwnames
)) goto fail
;
1967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1968 result
= (long)wxGetCurrentId();
1970 wxPyEndAllowThreads(__tstate
);
1971 if (PyErr_Occurred()) SWIG_fail
;
1973 resultobj
= SWIG_FromLong((long)result
);
1980 static PyObject
*_wrap_Bell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1981 PyObject
*resultobj
;
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Bell",kwnames
)) goto fail
;
1988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1991 wxPyEndAllowThreads(__tstate
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1994 Py_INCREF(Py_None
); resultobj
= Py_None
;
2001 static PyObject
*_wrap_EndBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
*resultobj
;
2007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":EndBusyCursor",kwnames
)) goto fail
;
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) SWIG_fail
;
2015 Py_INCREF(Py_None
); resultobj
= Py_None
;
2022 static PyObject
*_wrap_GetElapsedTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
*resultobj
;
2024 bool arg1
= (bool) True
;
2026 PyObject
* obj0
= 0 ;
2028 (char *) "resetTimer", NULL
2031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetElapsedTime",kwnames
,&obj0
)) goto fail
;
2033 arg1
= (bool) SWIG_AsBool(obj0
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2038 result
= (long)wxGetElapsedTime(arg1
);
2040 wxPyEndAllowThreads(__tstate
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2043 resultobj
= SWIG_FromLong((long)result
);
2050 static PyObject
*_wrap_GetMousePosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2051 PyObject
*resultobj
;
2052 int *arg1
= (int *) 0 ;
2053 int *arg2
= (int *) 0 ;
2062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetMousePosition",kwnames
)) goto fail
;
2064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2065 wxGetMousePosition(arg1
,arg2
);
2067 wxPyEndAllowThreads(__tstate
);
2068 if (PyErr_Occurred()) SWIG_fail
;
2070 Py_INCREF(Py_None
); resultobj
= Py_None
;
2072 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2073 resultobj
= t_output_helper(resultobj
,o
);
2076 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2077 resultobj
= t_output_helper(resultobj
,o
);
2085 static PyObject
*_wrap_IsBusy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
*resultobj
;
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IsBusy",kwnames
)) goto fail
;
2094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2095 result
= (bool)wxIsBusy();
2097 wxPyEndAllowThreads(__tstate
);
2098 if (PyErr_Occurred()) SWIG_fail
;
2100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2107 static PyObject
*_wrap_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
*resultobj
;
2114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Now",kwnames
)) goto fail
;
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) SWIG_fail
;
2124 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2126 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2135 static PyObject
*_wrap_Shell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2136 PyObject
*resultobj
;
2137 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2138 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2140 bool temp1
= False
;
2141 PyObject
* obj0
= 0 ;
2143 (char *) "command", NULL
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Shell",kwnames
,&obj0
)) goto fail
;
2149 arg1
= wxString_in_helper(obj0
);
2150 if (arg1
== NULL
) SWIG_fail
;
2155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2156 result
= (bool)wxShell((wxString
const &)*arg1
);
2158 wxPyEndAllowThreads(__tstate
);
2159 if (PyErr_Occurred()) SWIG_fail
;
2161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2176 static PyObject
*_wrap_StartTimer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2177 PyObject
*resultobj
;
2182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":StartTimer",kwnames
)) goto fail
;
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2190 Py_INCREF(Py_None
); resultobj
= Py_None
;
2197 static PyObject
*_wrap_GetOsVersion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 int *arg1
= (int *) 0 ;
2200 int *arg2
= (int *) 0 ;
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsVersion",kwnames
)) goto fail
;
2212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2213 result
= (int)wxGetOsVersion(arg1
,arg2
);
2215 wxPyEndAllowThreads(__tstate
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2218 resultobj
= SWIG_FromInt((int)result
);
2220 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
2221 resultobj
= t_output_helper(resultobj
,o
);
2224 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
2225 resultobj
= t_output_helper(resultobj
,o
);
2233 static PyObject
*_wrap_GetOsDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetOsDescription",kwnames
)) goto fail
;
2242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2243 result
= wxGetOsDescription();
2245 wxPyEndAllowThreads(__tstate
);
2246 if (PyErr_Occurred()) SWIG_fail
;
2250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2261 static PyObject
*_wrap_GetFreeMemory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2262 PyObject
*resultobj
;
2268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFreeMemory",kwnames
)) goto fail
;
2270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2271 result
= (long)wxGetFreeMemory();
2273 wxPyEndAllowThreads(__tstate
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2276 resultobj
= SWIG_FromLong((long)result
);
2283 static PyObject
*_wrap_Shutdown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
*resultobj
;
2287 PyObject
* obj0
= 0 ;
2289 (char *) "wFlags", NULL
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Shutdown",kwnames
,&obj0
)) goto fail
;
2293 arg1
= (wxShutdownFlags
) SWIG_AsInt(obj0
);
2294 if (PyErr_Occurred()) SWIG_fail
;
2296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2297 result
= (bool)wxShutdown((wxShutdownFlags
)arg1
);
2299 wxPyEndAllowThreads(__tstate
);
2300 if (PyErr_Occurred()) SWIG_fail
;
2302 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2309 static PyObject
*_wrap_Sleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2310 PyObject
*resultobj
;
2312 PyObject
* obj0
= 0 ;
2314 (char *) "secs", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sleep",kwnames
,&obj0
)) goto fail
;
2318 arg1
= (int) SWIG_AsInt(obj0
);
2319 if (PyErr_Occurred()) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 Py_INCREF(Py_None
); resultobj
= Py_None
;
2334 static PyObject
*_wrap_Usleep(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 unsigned long arg1
;
2337 PyObject
* obj0
= 0 ;
2339 (char *) "milliseconds", NULL
2342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Usleep",kwnames
,&obj0
)) goto fail
;
2343 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
2344 if (PyErr_Occurred()) SWIG_fail
;
2346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2349 wxPyEndAllowThreads(__tstate
);
2350 if (PyErr_Occurred()) SWIG_fail
;
2352 Py_INCREF(Py_None
); resultobj
= Py_None
;
2359 static PyObject
*_wrap_EnableTopLevelWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
*resultobj
;
2362 PyObject
* obj0
= 0 ;
2364 (char *) "enable", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EnableTopLevelWindows",kwnames
,&obj0
)) goto fail
;
2368 arg1
= (bool) SWIG_AsBool(obj0
);
2369 if (PyErr_Occurred()) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 wxEnableTopLevelWindows(arg1
);
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2377 Py_INCREF(Py_None
); resultobj
= Py_None
;
2384 static PyObject
*_wrap_StripMenuCodes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2386 wxString
*arg1
= 0 ;
2388 bool temp1
= False
;
2389 PyObject
* obj0
= 0 ;
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StripMenuCodes",kwnames
,&obj0
)) goto fail
;
2396 arg1
= wxString_in_helper(obj0
);
2397 if (arg1
== NULL
) SWIG_fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 result
= wxStripMenuCodes((wxString
const &)*arg1
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2428 static PyObject
*_wrap_GetEmailAddress(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
*resultobj
;
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetEmailAddress",kwnames
)) goto fail
;
2437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2438 result
= wxGetEmailAddress();
2440 wxPyEndAllowThreads(__tstate
);
2441 if (PyErr_Occurred()) SWIG_fail
;
2445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2456 static PyObject
*_wrap_GetHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHostName",kwnames
)) goto fail
;
2465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2466 result
= wxGetHostName();
2468 wxPyEndAllowThreads(__tstate
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2473 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2475 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2484 static PyObject
*_wrap_GetFullHostName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetFullHostName",kwnames
)) goto fail
;
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2494 result
= wxGetFullHostName();
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2501 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2503 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2512 static PyObject
*_wrap_GetUserId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2513 PyObject
*resultobj
;
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserId",kwnames
)) goto fail
;
2521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2522 result
= wxGetUserId();
2524 wxPyEndAllowThreads(__tstate
);
2525 if (PyErr_Occurred()) SWIG_fail
;
2529 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2531 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2540 static PyObject
*_wrap_GetUserName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2541 PyObject
*resultobj
;
2547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUserName",kwnames
)) goto fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 result
= wxGetUserName();
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2568 static PyObject
*_wrap_GetHomeDir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2569 PyObject
*resultobj
;
2575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetHomeDir",kwnames
)) goto fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 result
= wxGetHomeDir();
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2596 static PyObject
*_wrap_GetUserHome(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2597 PyObject
*resultobj
;
2598 wxString
const &arg1_defvalue
= wxPyEmptyString
;
2599 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2601 bool temp1
= False
;
2602 PyObject
* obj0
= 0 ;
2604 (char *) "user", NULL
2607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:GetUserHome",kwnames
,&obj0
)) goto fail
;
2610 arg1
= wxString_in_helper(obj0
);
2611 if (arg1
== NULL
) SWIG_fail
;
2616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2617 result
= wxGetUserHome((wxString
const &)*arg1
);
2619 wxPyEndAllowThreads(__tstate
);
2620 if (PyErr_Occurred()) SWIG_fail
;
2624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2643 static PyObject
*_wrap_GetProcessId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2644 PyObject
*resultobj
;
2645 unsigned long result
;
2650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetProcessId",kwnames
)) goto fail
;
2652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2653 result
= (unsigned long)wxGetProcessId();
2655 wxPyEndAllowThreads(__tstate
);
2656 if (PyErr_Occurred()) SWIG_fail
;
2658 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
2665 static PyObject
*_wrap_Trap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2666 PyObject
*resultobj
;
2671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Trap",kwnames
)) goto fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2679 Py_INCREF(Py_None
); resultobj
= Py_None
;
2686 static PyObject
*_wrap_FileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2687 PyObject
*resultobj
;
2688 wxString
const &arg1_defvalue
= wxPyFileSelectorPromptStr
;
2689 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
2690 wxString
const &arg2_defvalue
= wxPyEmptyString
;
2691 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
2692 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2693 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2694 wxString
const &arg4_defvalue
= wxPyEmptyString
;
2695 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
2696 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
2697 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
2698 int arg6
= (int) 0 ;
2699 wxWindow
*arg7
= (wxWindow
*) NULL
;
2700 int arg8
= (int) -1 ;
2701 int arg9
= (int) -1 ;
2703 bool temp1
= False
;
2704 bool temp2
= False
;
2705 bool temp3
= False
;
2706 bool temp4
= False
;
2707 bool temp5
= False
;
2708 PyObject
* obj0
= 0 ;
2709 PyObject
* obj1
= 0 ;
2710 PyObject
* obj2
= 0 ;
2711 PyObject
* obj3
= 0 ;
2712 PyObject
* obj4
= 0 ;
2713 PyObject
* obj5
= 0 ;
2714 PyObject
* obj6
= 0 ;
2715 PyObject
* obj7
= 0 ;
2716 PyObject
* obj8
= 0 ;
2718 (char *) "message",(char *) "default_path",(char *) "default_filename",(char *) "default_extension",(char *) "wildcard",(char *) "flags",(char *) "parent",(char *) "x",(char *) "y", NULL
2721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOOOOO:FileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
2724 arg1
= wxString_in_helper(obj0
);
2725 if (arg1
== NULL
) SWIG_fail
;
2731 arg2
= wxString_in_helper(obj1
);
2732 if (arg2
== NULL
) SWIG_fail
;
2738 arg3
= wxString_in_helper(obj2
);
2739 if (arg3
== NULL
) SWIG_fail
;
2745 arg4
= wxString_in_helper(obj3
);
2746 if (arg4
== NULL
) SWIG_fail
;
2752 arg5
= wxString_in_helper(obj4
);
2753 if (arg5
== NULL
) SWIG_fail
;
2758 arg6
= (int) SWIG_AsInt(obj5
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2762 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
2763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2766 arg8
= (int) SWIG_AsInt(obj7
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2770 arg9
= (int) SWIG_AsInt(obj8
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2775 result
= wxFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,arg7
,arg8
,arg9
);
2777 wxPyEndAllowThreads(__tstate
);
2778 if (PyErr_Occurred()) SWIG_fail
;
2782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2833 static PyObject
*_wrap_LoadFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
*resultobj
;
2835 wxString
*arg1
= 0 ;
2836 wxString
*arg2
= 0 ;
2837 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2838 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2839 wxWindow
*arg4
= (wxWindow
*) NULL
;
2841 bool temp1
= False
;
2842 bool temp2
= False
;
2843 bool temp3
= False
;
2844 PyObject
* obj0
= 0 ;
2845 PyObject
* obj1
= 0 ;
2846 PyObject
* obj2
= 0 ;
2847 PyObject
* obj3
= 0 ;
2849 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:LoadFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2854 arg1
= wxString_in_helper(obj0
);
2855 if (arg1
== NULL
) SWIG_fail
;
2859 arg2
= wxString_in_helper(obj1
);
2860 if (arg2
== NULL
) SWIG_fail
;
2865 arg3
= wxString_in_helper(obj2
);
2866 if (arg3
== NULL
) SWIG_fail
;
2871 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2876 result
= wxLoadFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2878 wxPyEndAllowThreads(__tstate
);
2879 if (PyErr_Occurred()) SWIG_fail
;
2883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
2918 static PyObject
*_wrap_SaveFileSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2919 PyObject
*resultobj
;
2920 wxString
*arg1
= 0 ;
2921 wxString
*arg2
= 0 ;
2922 wxString
const &arg3_defvalue
= wxPyEmptyString
;
2923 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
2924 wxWindow
*arg4
= (wxWindow
*) NULL
;
2926 bool temp1
= False
;
2927 bool temp2
= False
;
2928 bool temp3
= False
;
2929 PyObject
* obj0
= 0 ;
2930 PyObject
* obj1
= 0 ;
2931 PyObject
* obj2
= 0 ;
2932 PyObject
* obj3
= 0 ;
2934 (char *) "what",(char *) "extension",(char *) "default_name",(char *) "parent", NULL
2937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:SaveFileSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
2939 arg1
= wxString_in_helper(obj0
);
2940 if (arg1
== NULL
) SWIG_fail
;
2944 arg2
= wxString_in_helper(obj1
);
2945 if (arg2
== NULL
) SWIG_fail
;
2950 arg3
= wxString_in_helper(obj2
);
2951 if (arg3
== NULL
) SWIG_fail
;
2956 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
2957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2961 result
= wxSaveFileSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
2963 wxPyEndAllowThreads(__tstate
);
2964 if (PyErr_Occurred()) SWIG_fail
;
2968 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
2970 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3003 static PyObject
*_wrap_DirSelector(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxString
const &arg1_defvalue
= wxPyDirSelectorPromptStr
;
3006 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
3007 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3008 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3009 long arg3
= (long) wxDD_DEFAULT_STYLE
;
3010 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3011 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3012 wxWindow
*arg5
= (wxWindow
*) NULL
;
3014 bool temp1
= False
;
3015 bool temp2
= False
;
3017 PyObject
* obj0
= 0 ;
3018 PyObject
* obj1
= 0 ;
3019 PyObject
* obj2
= 0 ;
3020 PyObject
* obj3
= 0 ;
3021 PyObject
* obj4
= 0 ;
3023 (char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "parent", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:DirSelector",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
3029 arg1
= wxString_in_helper(obj0
);
3030 if (arg1
== NULL
) SWIG_fail
;
3036 arg2
= wxString_in_helper(obj1
);
3037 if (arg2
== NULL
) SWIG_fail
;
3042 arg3
= (long) SWIG_AsLong(obj2
);
3043 if (PyErr_Occurred()) SWIG_fail
;
3048 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3052 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= wxDirSelector((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,(wxPoint
const &)*arg4
,arg5
);
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3091 static PyObject
*_wrap_GetTextFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxString
*arg1
= 0 ;
3094 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3095 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3096 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3097 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3098 wxWindow
*arg4
= (wxWindow
*) NULL
;
3099 int arg5
= (int) -1 ;
3100 int arg6
= (int) -1 ;
3101 bool arg7
= (bool) True
;
3103 bool temp1
= False
;
3104 bool temp2
= False
;
3105 bool temp3
= False
;
3106 PyObject
* obj0
= 0 ;
3107 PyObject
* obj1
= 0 ;
3108 PyObject
* obj2
= 0 ;
3109 PyObject
* obj3
= 0 ;
3110 PyObject
* obj4
= 0 ;
3111 PyObject
* obj5
= 0 ;
3112 PyObject
* obj6
= 0 ;
3114 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre", NULL
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:GetTextFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
3119 arg1
= wxString_in_helper(obj0
);
3120 if (arg1
== NULL
) SWIG_fail
;
3125 arg2
= wxString_in_helper(obj1
);
3126 if (arg2
== NULL
) SWIG_fail
;
3132 arg3
= wxString_in_helper(obj2
);
3133 if (arg3
== NULL
) SWIG_fail
;
3138 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3142 arg5
= (int) SWIG_AsInt(obj4
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3146 arg6
= (int) SWIG_AsInt(obj5
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3150 arg7
= (bool) SWIG_AsBool(obj6
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3155 result
= wxGetTextFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
);
3157 wxPyEndAllowThreads(__tstate
);
3158 if (PyErr_Occurred()) SWIG_fail
;
3162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3197 static PyObject
*_wrap_GetPasswordFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3198 PyObject
*resultobj
;
3199 wxString
*arg1
= 0 ;
3200 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3201 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3202 wxString
const &arg3_defvalue
= wxPyEmptyString
;
3203 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
3204 wxWindow
*arg4
= (wxWindow
*) NULL
;
3206 bool temp1
= False
;
3207 bool temp2
= False
;
3208 bool temp3
= False
;
3209 PyObject
* obj0
= 0 ;
3210 PyObject
* obj1
= 0 ;
3211 PyObject
* obj2
= 0 ;
3212 PyObject
* obj3
= 0 ;
3214 (char *) "message",(char *) "caption",(char *) "default_value",(char *) "parent", NULL
3217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:GetPasswordFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3219 arg1
= wxString_in_helper(obj0
);
3220 if (arg1
== NULL
) SWIG_fail
;
3225 arg2
= wxString_in_helper(obj1
);
3226 if (arg2
== NULL
) SWIG_fail
;
3232 arg3
= wxString_in_helper(obj2
);
3233 if (arg3
== NULL
) SWIG_fail
;
3238 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3243 result
= wxGetPasswordFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
3245 wxPyEndAllowThreads(__tstate
);
3246 if (PyErr_Occurred()) SWIG_fail
;
3250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3285 static PyObject
*_wrap_GetSingleChoice(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3286 PyObject
*resultobj
;
3287 wxString
*arg1
= 0 ;
3288 wxString
*arg2
= 0 ;
3290 wxString
*arg4
= (wxString
*) 0 ;
3291 wxWindow
*arg5
= (wxWindow
*) NULL
;
3292 int arg6
= (int) -1 ;
3293 int arg7
= (int) -1 ;
3294 bool arg8
= (bool) True
;
3295 int arg9
= (int) 150 ;
3296 int arg10
= (int) 200 ;
3298 bool temp1
= False
;
3299 bool temp2
= False
;
3300 PyObject
* obj0
= 0 ;
3301 PyObject
* obj1
= 0 ;
3302 PyObject
* obj2
= 0 ;
3303 PyObject
* obj3
= 0 ;
3304 PyObject
* obj4
= 0 ;
3305 PyObject
* obj5
= 0 ;
3306 PyObject
* obj6
= 0 ;
3307 PyObject
* obj7
= 0 ;
3308 PyObject
* obj8
= 0 ;
3310 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoice",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3315 arg1
= wxString_in_helper(obj0
);
3316 if (arg1
== NULL
) SWIG_fail
;
3320 arg2
= wxString_in_helper(obj1
);
3321 if (arg2
== NULL
) SWIG_fail
;
3325 arg3
= PyList_Size(obj2
);
3326 arg4
= wxString_LIST_helper(obj2
);
3327 if (arg4
== NULL
) SWIG_fail
;
3330 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3334 arg6
= (int) SWIG_AsInt(obj4
);
3335 if (PyErr_Occurred()) SWIG_fail
;
3338 arg7
= (int) SWIG_AsInt(obj5
);
3339 if (PyErr_Occurred()) SWIG_fail
;
3342 arg8
= (bool) SWIG_AsBool(obj6
);
3343 if (PyErr_Occurred()) SWIG_fail
;
3346 arg9
= (int) SWIG_AsInt(obj7
);
3347 if (PyErr_Occurred()) SWIG_fail
;
3350 arg10
= (int) SWIG_AsInt(obj8
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3355 result
= wxGetSingleChoice((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3362 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
3364 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
3376 if (arg4
) delete [] arg4
;
3389 if (arg4
) delete [] arg4
;
3395 static PyObject
*_wrap_GetSingleChoiceIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3396 PyObject
*resultobj
;
3397 wxString
*arg1
= 0 ;
3398 wxString
*arg2
= 0 ;
3400 wxString
*arg4
= (wxString
*) 0 ;
3401 wxWindow
*arg5
= (wxWindow
*) NULL
;
3402 int arg6
= (int) -1 ;
3403 int arg7
= (int) -1 ;
3404 bool arg8
= (bool) True
;
3405 int arg9
= (int) 150 ;
3406 int arg10
= (int) 200 ;
3408 bool temp1
= False
;
3409 bool temp2
= False
;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3412 PyObject
* obj2
= 0 ;
3413 PyObject
* obj3
= 0 ;
3414 PyObject
* obj4
= 0 ;
3415 PyObject
* obj5
= 0 ;
3416 PyObject
* obj6
= 0 ;
3417 PyObject
* obj7
= 0 ;
3418 PyObject
* obj8
= 0 ;
3420 (char *) "message",(char *) "caption",(char *) "choices",(char *) "parent",(char *) "x",(char *) "y",(char *) "centre",(char *) "width",(char *) "height", NULL
3423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOOO:GetSingleChoiceIndex",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) goto fail
;
3425 arg1
= wxString_in_helper(obj0
);
3426 if (arg1
== NULL
) SWIG_fail
;
3430 arg2
= wxString_in_helper(obj1
);
3431 if (arg2
== NULL
) SWIG_fail
;
3435 arg3
= PyList_Size(obj2
);
3436 arg4
= wxString_LIST_helper(obj2
);
3437 if (arg4
== NULL
) SWIG_fail
;
3440 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg5
),SWIGTYPE_p_wxWindow
,
3441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3444 arg6
= (int) SWIG_AsInt(obj4
);
3445 if (PyErr_Occurred()) SWIG_fail
;
3448 arg7
= (int) SWIG_AsInt(obj5
);
3449 if (PyErr_Occurred()) SWIG_fail
;
3452 arg8
= (bool) SWIG_AsBool(obj6
);
3453 if (PyErr_Occurred()) SWIG_fail
;
3456 arg9
= (int) SWIG_AsInt(obj7
);
3457 if (PyErr_Occurred()) SWIG_fail
;
3460 arg10
= (int) SWIG_AsInt(obj8
);
3461 if (PyErr_Occurred()) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3465 result
= (int)wxGetSingleChoiceIndex((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
,arg9
,arg10
);
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 resultobj
= SWIG_FromInt((int)result
);
3480 if (arg4
) delete [] arg4
;
3493 if (arg4
) delete [] arg4
;
3499 static PyObject
*_wrap_MessageBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3500 PyObject
*resultobj
;
3501 wxString
*arg1
= 0 ;
3502 wxString
const &arg2_defvalue
= wxPyEmptyString
;
3503 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
3504 int arg3
= (int) wxOK
|wxCENTRE
;
3505 wxWindow
*arg4
= (wxWindow
*) NULL
;
3506 int arg5
= (int) -1 ;
3507 int arg6
= (int) -1 ;
3509 bool temp1
= False
;
3510 bool temp2
= False
;
3511 PyObject
* obj0
= 0 ;
3512 PyObject
* obj1
= 0 ;
3513 PyObject
* obj2
= 0 ;
3514 PyObject
* obj3
= 0 ;
3515 PyObject
* obj4
= 0 ;
3516 PyObject
* obj5
= 0 ;
3518 (char *) "message",(char *) "caption",(char *) "style",(char *) "parent",(char *) "x",(char *) "y", NULL
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:MessageBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
3523 arg1
= wxString_in_helper(obj0
);
3524 if (arg1
== NULL
) SWIG_fail
;
3529 arg2
= wxString_in_helper(obj1
);
3530 if (arg2
== NULL
) SWIG_fail
;
3535 arg3
= (int) SWIG_AsInt(obj2
);
3536 if (PyErr_Occurred()) SWIG_fail
;
3539 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
3540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3543 arg5
= (int) SWIG_AsInt(obj4
);
3544 if (PyErr_Occurred()) SWIG_fail
;
3547 arg6
= (int) SWIG_AsInt(obj5
);
3548 if (PyErr_Occurred()) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (int)wxMessageBox((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 resultobj
= SWIG_FromInt((int)result
);
3580 static PyObject
*_wrap_GetNumberFromUser(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
;
3582 wxString
*arg1
= 0 ;
3583 wxString
*arg2
= 0 ;
3584 wxString
*arg3
= 0 ;
3586 long arg5
= (long) 0 ;
3587 long arg6
= (long) 100 ;
3588 wxWindow
*arg7
= (wxWindow
*) NULL
;
3589 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
3590 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
3592 bool temp1
= False
;
3593 bool temp2
= False
;
3594 bool temp3
= False
;
3596 PyObject
* obj0
= 0 ;
3597 PyObject
* obj1
= 0 ;
3598 PyObject
* obj2
= 0 ;
3599 PyObject
* obj3
= 0 ;
3600 PyObject
* obj4
= 0 ;
3601 PyObject
* obj5
= 0 ;
3602 PyObject
* obj6
= 0 ;
3603 PyObject
* obj7
= 0 ;
3605 (char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "parent",(char *) "pos", NULL
3608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:GetNumberFromUser",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
3610 arg1
= wxString_in_helper(obj0
);
3611 if (arg1
== NULL
) SWIG_fail
;
3615 arg2
= wxString_in_helper(obj1
);
3616 if (arg2
== NULL
) SWIG_fail
;
3620 arg3
= wxString_in_helper(obj2
);
3621 if (arg3
== NULL
) SWIG_fail
;
3624 arg4
= (long) SWIG_AsLong(obj3
);
3625 if (PyErr_Occurred()) SWIG_fail
;
3627 arg5
= (long) SWIG_AsLong(obj4
);
3628 if (PyErr_Occurred()) SWIG_fail
;
3631 arg6
= (long) SWIG_AsLong(obj5
);
3632 if (PyErr_Occurred()) SWIG_fail
;
3635 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxWindow
,
3636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3641 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
3645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3646 result
= (long)wxGetNumberFromUser((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
3648 wxPyEndAllowThreads(__tstate
);
3649 if (PyErr_Occurred()) SWIG_fail
;
3651 resultobj
= SWIG_FromLong((long)result
);
3682 static PyObject
*_wrap_ColourDisplay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ColourDisplay",kwnames
)) goto fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 result
= (bool)wxColourDisplay();
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3704 static PyObject
*_wrap_DisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplayDepth",kwnames
)) goto fail
;
3713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3714 result
= (int)wxDisplayDepth();
3716 wxPyEndAllowThreads(__tstate
);
3717 if (PyErr_Occurred()) SWIG_fail
;
3719 resultobj
= SWIG_FromInt((int)result
);
3726 static PyObject
*_wrap_GetDisplayDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
*resultobj
;
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplayDepth",kwnames
)) goto fail
;
3735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3736 result
= (int)wxGetDisplayDepth();
3738 wxPyEndAllowThreads(__tstate
);
3739 if (PyErr_Occurred()) SWIG_fail
;
3741 resultobj
= SWIG_FromInt((int)result
);
3748 static PyObject
*_wrap_DisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
;
3750 int *arg1
= (int *) 0 ;
3751 int *arg2
= (int *) 0 ;
3760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySize",kwnames
)) goto fail
;
3762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3763 wxDisplaySize(arg1
,arg2
);
3765 wxPyEndAllowThreads(__tstate
);
3766 if (PyErr_Occurred()) SWIG_fail
;
3768 Py_INCREF(Py_None
); resultobj
= Py_None
;
3770 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3771 resultobj
= t_output_helper(resultobj
,o
);
3774 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3775 resultobj
= t_output_helper(resultobj
,o
);
3783 static PyObject
*_wrap_GetDisplaySize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3784 PyObject
*resultobj
;
3790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySize",kwnames
)) goto fail
;
3792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3793 result
= wxGetDisplaySize();
3795 wxPyEndAllowThreads(__tstate
);
3796 if (PyErr_Occurred()) SWIG_fail
;
3800 resultptr
= new wxSize((wxSize
&) result
);
3801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3809 static PyObject
*_wrap_DisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3810 PyObject
*resultobj
;
3811 int *arg1
= (int *) 0 ;
3812 int *arg2
= (int *) 0 ;
3821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DisplaySizeMM",kwnames
)) goto fail
;
3823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3824 wxDisplaySizeMM(arg1
,arg2
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 Py_INCREF(Py_None
); resultobj
= Py_None
;
3831 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3832 resultobj
= t_output_helper(resultobj
,o
);
3835 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3836 resultobj
= t_output_helper(resultobj
,o
);
3844 static PyObject
*_wrap_GetDisplaySizeMM(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetDisplaySizeMM",kwnames
)) goto fail
;
3853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3854 result
= wxGetDisplaySizeMM();
3856 wxPyEndAllowThreads(__tstate
);
3857 if (PyErr_Occurred()) SWIG_fail
;
3861 resultptr
= new wxSize((wxSize
&) result
);
3862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3870 static PyObject
*_wrap_ClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 int *arg1
= (int *) 0 ;
3873 int *arg2
= (int *) 0 ;
3874 int *arg3
= (int *) 0 ;
3875 int *arg4
= (int *) 0 ;
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ClientDisplayRect",kwnames
)) goto fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 wxClientDisplayRect(arg1
,arg2
,arg3
,arg4
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 Py_INCREF(Py_None
); resultobj
= Py_None
;
3898 PyObject
*o
= PyInt_FromLong((long) (*arg1
));
3899 resultobj
= t_output_helper(resultobj
,o
);
3902 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3903 resultobj
= t_output_helper(resultobj
,o
);
3906 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3907 resultobj
= t_output_helper(resultobj
,o
);
3910 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
3911 resultobj
= t_output_helper(resultobj
,o
);
3919 static PyObject
*_wrap_GetClientDisplayRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3920 PyObject
*resultobj
;
3926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetClientDisplayRect",kwnames
)) goto fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 result
= wxGetClientDisplayRect();
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3936 resultptr
= new wxRect((wxRect
&) result
);
3937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
3945 static PyObject
*_wrap_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3946 PyObject
*resultobj
;
3947 wxCursor
*arg1
= 0 ;
3948 PyObject
* obj0
= 0 ;
3950 (char *) "cursor", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursor",kwnames
,&obj0
)) goto fail
;
3954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3955 SWIG_POINTER_EXCEPTION
| 0)) == -1)
3958 PyErr_SetString(PyExc_TypeError
,"null reference");
3962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 wxPyEndAllowThreads(__tstate
);
3966 if (PyErr_Occurred()) SWIG_fail
;
3968 Py_INCREF(Py_None
); resultobj
= Py_None
;
3975 static PyObject
*_wrap_BeginBusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3976 PyObject
*resultobj
;
3977 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
3978 PyObject
* obj0
= 0 ;
3980 (char *) "cursor", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:BeginBusyCursor",kwnames
,&obj0
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
3986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 wxBeginBusyCursor(arg1
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 Py_INCREF(Py_None
); resultobj
= Py_None
;
4002 static PyObject
*_wrap_GetActiveWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4003 PyObject
*resultobj
;
4009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetActiveWindow",kwnames
)) goto fail
;
4011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4012 result
= (wxWindow
*)wxGetActiveWindow();
4014 wxPyEndAllowThreads(__tstate
);
4015 if (PyErr_Occurred()) SWIG_fail
;
4018 resultobj
= wxPyMake_wxObject(result
);
4026 static PyObject
*_wrap_GenericFindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4031 PyObject
* obj0
= 0 ;
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GenericFindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4039 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 result
= (wxWindow
*)wxGenericFindWindowAtPoint((wxPoint
const &)*arg1
);
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4049 resultobj
= wxPyMake_wxObject(result
);
4057 static PyObject
*_wrap_FindWindowAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4058 PyObject
*resultobj
;
4062 PyObject
* obj0
= 0 ;
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FindWindowAtPoint",kwnames
,&obj0
)) goto fail
;
4070 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 result
= (wxWindow
*)wxFindWindowAtPoint((wxPoint
const &)*arg1
);
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4080 resultobj
= wxPyMake_wxObject(result
);
4088 static PyObject
*_wrap_GetTopLevelParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4089 PyObject
*resultobj
;
4090 wxWindow
*arg1
= (wxWindow
*) 0 ;
4092 PyObject
* obj0
= 0 ;
4094 (char *) "win", NULL
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetTopLevelParent",kwnames
,&obj0
)) goto fail
;
4098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 result
= (wxWindow
*)wxGetTopLevelParent(arg1
);
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4108 resultobj
= wxPyMake_wxObject(result
);
4116 static PyObject
*_wrap_GetKeyState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4120 PyObject
* obj0
= 0 ;
4122 (char *) "key", NULL
4125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetKeyState",kwnames
,&obj0
)) goto fail
;
4126 arg1
= (wxKeyCode
) SWIG_AsInt(obj0
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (bool)wxGetKeyState((wxKeyCode
)arg1
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4142 static PyObject
*_wrap_WakeUpMainThread(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpMainThread",kwnames
)) goto fail
;
4150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4151 wxWakeUpMainThread();
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 Py_INCREF(Py_None
); resultobj
= Py_None
;
4163 static PyObject
*_wrap_MutexGuiEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
;
4169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiEnter",kwnames
)) goto fail
;
4171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 Py_INCREF(Py_None
); resultobj
= Py_None
;
4184 static PyObject
*_wrap_MutexGuiLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MutexGuiLeave",kwnames
)) goto fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4195 wxPyEndAllowThreads(__tstate
);
4196 if (PyErr_Occurred()) SWIG_fail
;
4198 Py_INCREF(Py_None
); resultobj
= Py_None
;
4205 static PyObject
*_wrap_new_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4206 PyObject
*resultobj
;
4207 wxMutexGuiLocker
*result
;
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MutexGuiLocker",kwnames
)) goto fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4215 result
= (wxMutexGuiLocker
*)new wxMutexGuiLocker();
4217 wxPyEndAllowThreads(__tstate
);
4218 if (PyErr_Occurred()) SWIG_fail
;
4220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMutexGuiLocker
, 1);
4227 static PyObject
*_wrap_delete_MutexGuiLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4228 PyObject
*resultobj
;
4229 wxMutexGuiLocker
*arg1
= (wxMutexGuiLocker
*) 0 ;
4230 PyObject
* obj0
= 0 ;
4232 (char *) "self", NULL
4235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MutexGuiLocker",kwnames
,&obj0
)) goto fail
;
4236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMutexGuiLocker
,
4237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 Py_INCREF(Py_None
); resultobj
= Py_None
;
4252 static PyObject
* MutexGuiLocker_swigregister(PyObject
*, PyObject
*args
) {
4254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4255 SWIG_TypeClientData(SWIGTYPE_p_wxMutexGuiLocker
, obj
);
4257 return Py_BuildValue((char *)"");
4259 static PyObject
*_wrap_Thread_IsMain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4260 PyObject
*resultobj
;
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Thread_IsMain",kwnames
)) goto fail
;
4268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4269 result
= (bool)wxThread_IsMain();
4271 wxPyEndAllowThreads(__tstate
);
4272 if (PyErr_Occurred()) SWIG_fail
;
4274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4281 static PyObject
*_wrap_new_ToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4282 PyObject
*resultobj
;
4283 wxString
*arg1
= 0 ;
4285 bool temp1
= False
;
4286 PyObject
* obj0
= 0 ;
4288 (char *) "tip", NULL
4291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ToolTip",kwnames
,&obj0
)) goto fail
;
4293 arg1
= wxString_in_helper(obj0
);
4294 if (arg1
== NULL
) SWIG_fail
;
4298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4299 result
= (wxToolTip
*)new wxToolTip((wxString
const &)*arg1
);
4301 wxPyEndAllowThreads(__tstate
);
4302 if (PyErr_Occurred()) SWIG_fail
;
4305 resultobj
= wxPyMake_wxObject(result
);
4321 static PyObject
*_wrap_ToolTip_SetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4322 PyObject
*resultobj
;
4323 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4324 wxString
*arg2
= 0 ;
4325 bool temp2
= False
;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4329 (char *) "self",(char *) "tip", NULL
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ToolTip_SetTip",kwnames
,&obj0
,&obj1
)) goto fail
;
4333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4336 arg2
= wxString_in_helper(obj1
);
4337 if (arg2
== NULL
) SWIG_fail
;
4341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4342 (arg1
)->SetTip((wxString
const &)*arg2
);
4344 wxPyEndAllowThreads(__tstate
);
4345 if (PyErr_Occurred()) SWIG_fail
;
4347 Py_INCREF(Py_None
); resultobj
= Py_None
;
4362 static PyObject
*_wrap_ToolTip_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4363 PyObject
*resultobj
;
4364 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4366 PyObject
* obj0
= 0 ;
4368 (char *) "self", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetTip",kwnames
,&obj0
)) goto fail
;
4372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4376 result
= (arg1
)->GetTip();
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
4385 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
4394 static PyObject
*_wrap_ToolTip_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
;
4396 wxToolTip
*arg1
= (wxToolTip
*) 0 ;
4398 PyObject
* obj0
= 0 ;
4400 (char *) "self", NULL
4403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_GetWindow",kwnames
,&obj0
)) goto fail
;
4404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxToolTip
,
4405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4408 result
= (wxWindow
*)(arg1
)->GetWindow();
4410 wxPyEndAllowThreads(__tstate
);
4411 if (PyErr_Occurred()) SWIG_fail
;
4414 resultobj
= wxPyMake_wxObject(result
);
4422 static PyObject
*_wrap_ToolTip_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
;
4425 PyObject
* obj0
= 0 ;
4427 (char *) "flag", NULL
4430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_Enable",kwnames
,&obj0
)) goto fail
;
4431 arg1
= (bool) SWIG_AsBool(obj0
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 wxToolTip::Enable(arg1
);
4437 wxPyEndAllowThreads(__tstate
);
4438 if (PyErr_Occurred()) SWIG_fail
;
4440 Py_INCREF(Py_None
); resultobj
= Py_None
;
4447 static PyObject
*_wrap_ToolTip_SetDelay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4448 PyObject
*resultobj
;
4450 PyObject
* obj0
= 0 ;
4452 (char *) "milliseconds", NULL
4455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ToolTip_SetDelay",kwnames
,&obj0
)) goto fail
;
4456 arg1
= (long) SWIG_AsLong(obj0
);
4457 if (PyErr_Occurred()) SWIG_fail
;
4459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4460 wxToolTip::SetDelay(arg1
);
4462 wxPyEndAllowThreads(__tstate
);
4463 if (PyErr_Occurred()) SWIG_fail
;
4465 Py_INCREF(Py_None
); resultobj
= Py_None
;
4472 static PyObject
* ToolTip_swigregister(PyObject
*, PyObject
*args
) {
4474 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4475 SWIG_TypeClientData(SWIGTYPE_p_wxToolTip
, obj
);
4477 return Py_BuildValue((char *)"");
4479 static PyObject
*_wrap_new_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxWindow
*arg1
= (wxWindow
*) 0 ;
4485 PyObject
* obj0
= 0 ;
4486 PyObject
* obj1
= 0 ;
4488 (char *) "window",(char *) "size", NULL
4491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_Caret",kwnames
,&obj0
,&obj1
)) goto fail
;
4492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
4493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4496 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4500 result
= (wxCaret
*)new wxCaret(arg1
,(wxSize
const &)*arg2
);
4502 wxPyEndAllowThreads(__tstate
);
4503 if (PyErr_Occurred()) SWIG_fail
;
4505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 1);
4512 static PyObject
*_wrap_delete_Caret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4513 PyObject
*resultobj
;
4514 wxCaret
*arg1
= (wxCaret
*) 0 ;
4515 PyObject
* obj0
= 0 ;
4517 (char *) "self", NULL
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Caret",kwnames
,&obj0
)) goto fail
;
4521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4527 wxPyEndAllowThreads(__tstate
);
4528 if (PyErr_Occurred()) SWIG_fail
;
4530 Py_INCREF(Py_None
); resultobj
= Py_None
;
4537 static PyObject
*_wrap_Caret_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4538 PyObject
*resultobj
;
4539 wxCaret
*arg1
= (wxCaret
*) 0 ;
4541 PyObject
* obj0
= 0 ;
4543 (char *) "self", NULL
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsOk",kwnames
,&obj0
)) goto fail
;
4547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 result
= (bool)(arg1
)->IsOk();
4553 wxPyEndAllowThreads(__tstate
);
4554 if (PyErr_Occurred()) SWIG_fail
;
4556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4563 static PyObject
*_wrap_Caret_IsVisible(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
;
4565 wxCaret
*arg1
= (wxCaret
*) 0 ;
4567 PyObject
* obj0
= 0 ;
4569 (char *) "self", NULL
4572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_IsVisible",kwnames
,&obj0
)) goto fail
;
4573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4577 result
= (bool)(arg1
)->IsVisible();
4579 wxPyEndAllowThreads(__tstate
);
4580 if (PyErr_Occurred()) SWIG_fail
;
4582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4589 static PyObject
*_wrap_Caret_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4590 PyObject
*resultobj
;
4591 wxCaret
*arg1
= (wxCaret
*) 0 ;
4593 PyObject
* obj0
= 0 ;
4595 (char *) "self", NULL
4598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPosition",kwnames
,&obj0
)) goto fail
;
4599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 result
= (arg1
)->GetPosition();
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4609 wxPoint
* resultptr
;
4610 resultptr
= new wxPoint((wxPoint
&) result
);
4611 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
4619 static PyObject
*_wrap_Caret_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4620 PyObject
*resultobj
;
4621 wxCaret
*arg1
= (wxCaret
*) 0 ;
4622 int *arg2
= (int *) 0 ;
4623 int *arg3
= (int *) 0 ;
4626 PyObject
* obj0
= 0 ;
4628 (char *) "self", NULL
4633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
4634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4638 (arg1
)->GetPosition(arg2
,arg3
);
4640 wxPyEndAllowThreads(__tstate
);
4641 if (PyErr_Occurred()) SWIG_fail
;
4643 Py_INCREF(Py_None
); resultobj
= Py_None
;
4645 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4646 resultobj
= t_output_helper(resultobj
,o
);
4649 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4650 resultobj
= t_output_helper(resultobj
,o
);
4658 static PyObject
*_wrap_Caret_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4659 PyObject
*resultobj
;
4660 wxCaret
*arg1
= (wxCaret
*) 0 ;
4662 PyObject
* obj0
= 0 ;
4664 (char *) "self", NULL
4667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSize",kwnames
,&obj0
)) goto fail
;
4668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4672 result
= (arg1
)->GetSize();
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4679 resultptr
= new wxSize((wxSize
&) result
);
4680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
4688 static PyObject
*_wrap_Caret_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxCaret
*arg1
= (wxCaret
*) 0 ;
4691 int *arg2
= (int *) 0 ;
4692 int *arg3
= (int *) 0 ;
4695 PyObject
* obj0
= 0 ;
4697 (char *) "self", NULL
4702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
4703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 (arg1
)->GetSize(arg2
,arg3
);
4709 wxPyEndAllowThreads(__tstate
);
4710 if (PyErr_Occurred()) SWIG_fail
;
4712 Py_INCREF(Py_None
); resultobj
= Py_None
;
4714 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4715 resultobj
= t_output_helper(resultobj
,o
);
4718 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4719 resultobj
= t_output_helper(resultobj
,o
);
4727 static PyObject
*_wrap_Caret_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4729 wxCaret
*arg1
= (wxCaret
*) 0 ;
4731 PyObject
* obj0
= 0 ;
4733 (char *) "self", NULL
4736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_GetWindow",kwnames
,&obj0
)) goto fail
;
4737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4741 result
= (wxWindow
*)(arg1
)->GetWindow();
4743 wxPyEndAllowThreads(__tstate
);
4744 if (PyErr_Occurred()) SWIG_fail
;
4747 resultobj
= wxPyMake_wxObject(result
);
4755 static PyObject
*_wrap_Caret_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4756 PyObject
*resultobj
;
4757 wxCaret
*arg1
= (wxCaret
*) 0 ;
4760 PyObject
* obj0
= 0 ;
4761 PyObject
* obj1
= 0 ;
4762 PyObject
* obj2
= 0 ;
4764 (char *) "self",(char *) "x",(char *) "y", NULL
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4770 arg2
= (int) SWIG_AsInt(obj1
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4772 arg3
= (int) SWIG_AsInt(obj2
);
4773 if (PyErr_Occurred()) SWIG_fail
;
4775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4776 (arg1
)->Move(arg2
,arg3
);
4778 wxPyEndAllowThreads(__tstate
);
4779 if (PyErr_Occurred()) SWIG_fail
;
4781 Py_INCREF(Py_None
); resultobj
= Py_None
;
4788 static PyObject
*_wrap_Caret_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4789 PyObject
*resultobj
;
4790 wxCaret
*arg1
= (wxCaret
*) 0 ;
4793 PyObject
* obj0
= 0 ;
4794 PyObject
* obj1
= 0 ;
4796 (char *) "self",(char *) "pt", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_Move",kwnames
,&obj0
,&obj1
)) goto fail
;
4800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4804 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4808 (arg1
)->Move((wxPoint
const &)*arg2
);
4810 wxPyEndAllowThreads(__tstate
);
4811 if (PyErr_Occurred()) SWIG_fail
;
4813 Py_INCREF(Py_None
); resultobj
= Py_None
;
4820 static PyObject
*_wrap_Caret_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4821 PyObject
*resultobj
;
4822 wxCaret
*arg1
= (wxCaret
*) 0 ;
4825 PyObject
* obj0
= 0 ;
4826 PyObject
* obj1
= 0 ;
4827 PyObject
* obj2
= 0 ;
4829 (char *) "self",(char *) "width",(char *) "height", NULL
4832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Caret_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4835 arg2
= (int) SWIG_AsInt(obj1
);
4836 if (PyErr_Occurred()) SWIG_fail
;
4837 arg3
= (int) SWIG_AsInt(obj2
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 (arg1
)->SetSize(arg2
,arg3
);
4843 wxPyEndAllowThreads(__tstate
);
4844 if (PyErr_Occurred()) SWIG_fail
;
4846 Py_INCREF(Py_None
); resultobj
= Py_None
;
4853 static PyObject
*_wrap_Caret_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4854 PyObject
*resultobj
;
4855 wxCaret
*arg1
= (wxCaret
*) 0 ;
4858 PyObject
* obj0
= 0 ;
4859 PyObject
* obj1
= 0 ;
4861 (char *) "self",(char *) "size", NULL
4864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Caret_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
4865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4869 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
4872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4873 (arg1
)->SetSize((wxSize
const &)*arg2
);
4875 wxPyEndAllowThreads(__tstate
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4878 Py_INCREF(Py_None
); resultobj
= Py_None
;
4885 static PyObject
*_wrap_Caret_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4886 PyObject
*resultobj
;
4887 wxCaret
*arg1
= (wxCaret
*) 0 ;
4888 int arg2
= (int) True
;
4889 PyObject
* obj0
= 0 ;
4890 PyObject
* obj1
= 0 ;
4892 (char *) "self",(char *) "show", NULL
4895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Caret_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
4896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4899 arg2
= (int) SWIG_AsInt(obj1
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 Py_INCREF(Py_None
); resultobj
= Py_None
;
4916 static PyObject
*_wrap_Caret_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxCaret
*arg1
= (wxCaret
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4921 (char *) "self", NULL
4924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_Hide",kwnames
,&obj0
)) goto fail
;
4925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCaret
,
4926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 Py_INCREF(Py_None
); resultobj
= Py_None
;
4941 static PyObject
* Caret_swigregister(PyObject
*, PyObject
*args
) {
4943 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4944 SWIG_TypeClientData(SWIGTYPE_p_wxCaret
, obj
);
4946 return Py_BuildValue((char *)"");
4948 static PyObject
*_wrap_Caret_GetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4949 PyObject
*resultobj
;
4955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Caret_GetBlinkTime",kwnames
)) goto fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 result
= (int)wxCaret_GetBlinkTime();
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 resultobj
= SWIG_FromInt((int)result
);
4970 static PyObject
*_wrap_Caret_SetBlinkTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4973 PyObject
* obj0
= 0 ;
4975 (char *) "milliseconds", NULL
4978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Caret_SetBlinkTime",kwnames
,&obj0
)) goto fail
;
4979 arg1
= (int) SWIG_AsInt(obj0
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 wxCaret_SetBlinkTime(arg1
);
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 Py_INCREF(Py_None
); resultobj
= Py_None
;
4995 static PyObject
*_wrap_new_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxCursor
*arg1
= (wxCursor
*) wxHOURGLASS_CURSOR
;
4998 wxBusyCursor
*result
;
4999 PyObject
* obj0
= 0 ;
5001 (char *) "cursor", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BusyCursor",kwnames
,&obj0
)) goto fail
;
5006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCursor
,
5007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (wxBusyCursor
*)new wxBusyCursor(arg1
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyCursor
, 1);
5023 static PyObject
*_wrap_delete_BusyCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxBusyCursor
*arg1
= (wxBusyCursor
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5028 (char *) "self", NULL
5031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyCursor",kwnames
,&obj0
)) goto fail
;
5032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyCursor
,
5033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 Py_INCREF(Py_None
); resultobj
= Py_None
;
5048 static PyObject
* BusyCursor_swigregister(PyObject
*, PyObject
*args
) {
5050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5051 SWIG_TypeClientData(SWIGTYPE_p_wxBusyCursor
, obj
);
5053 return Py_BuildValue((char *)"");
5055 static PyObject
*_wrap_new_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxWindow
*arg1
= (wxWindow
*) NULL
;
5058 wxWindowDisabler
*result
;
5059 PyObject
* obj0
= 0 ;
5061 (char *) "winToSkip", NULL
5064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 result
= (wxWindowDisabler
*)new wxWindowDisabler(arg1
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDisabler
, 1);
5083 static PyObject
*_wrap_delete_WindowDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxWindowDisabler
*arg1
= (wxWindowDisabler
*) 0 ;
5086 PyObject
* obj0
= 0 ;
5088 (char *) "self", NULL
5091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_WindowDisabler",kwnames
,&obj0
)) goto fail
;
5092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDisabler
,
5093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5098 wxPyEndAllowThreads(__tstate
);
5099 if (PyErr_Occurred()) SWIG_fail
;
5101 Py_INCREF(Py_None
); resultobj
= Py_None
;
5108 static PyObject
* WindowDisabler_swigregister(PyObject
*, PyObject
*args
) {
5110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5111 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDisabler
, obj
);
5113 return Py_BuildValue((char *)"");
5115 static PyObject
*_wrap_new_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxString
*arg1
= 0 ;
5119 bool temp1
= False
;
5120 PyObject
* obj0
= 0 ;
5122 (char *) "message", NULL
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_BusyInfo",kwnames
,&obj0
)) goto fail
;
5127 arg1
= wxString_in_helper(obj0
);
5128 if (arg1
== NULL
) SWIG_fail
;
5132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5133 result
= (wxBusyInfo
*)new wxBusyInfo((wxString
const &)*arg1
);
5135 wxPyEndAllowThreads(__tstate
);
5136 if (PyErr_Occurred()) SWIG_fail
;
5138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBusyInfo
, 1);
5153 static PyObject
*_wrap_delete_BusyInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5154 PyObject
*resultobj
;
5155 wxBusyInfo
*arg1
= (wxBusyInfo
*) 0 ;
5156 PyObject
* obj0
= 0 ;
5158 (char *) "self", NULL
5161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_BusyInfo",kwnames
,&obj0
)) goto fail
;
5162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBusyInfo
,
5163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 Py_INCREF(Py_None
); resultobj
= Py_None
;
5178 static PyObject
* BusyInfo_swigregister(PyObject
*, PyObject
*args
) {
5180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5181 SWIG_TypeClientData(SWIGTYPE_p_wxBusyInfo
, obj
);
5183 return Py_BuildValue((char *)"");
5185 static PyObject
*_wrap_new_StopWatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
;
5187 wxStopWatch
*result
;
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_StopWatch",kwnames
)) goto fail
;
5194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5195 result
= (wxStopWatch
*)new wxStopWatch();
5197 wxPyEndAllowThreads(__tstate
);
5198 if (PyErr_Occurred()) SWIG_fail
;
5200 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStopWatch
, 1);
5207 static PyObject
*_wrap_StopWatch_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5208 PyObject
*resultobj
;
5209 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5210 long arg2
= (long) 0 ;
5211 PyObject
* obj0
= 0 ;
5212 PyObject
* obj1
= 0 ;
5214 (char *) "self",(char *) "t0", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StopWatch_Start",kwnames
,&obj0
,&obj1
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5221 arg2
= (long) SWIG_AsLong(obj1
);
5222 if (PyErr_Occurred()) SWIG_fail
;
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 (arg1
)->Start(arg2
);
5228 wxPyEndAllowThreads(__tstate
);
5229 if (PyErr_Occurred()) SWIG_fail
;
5231 Py_INCREF(Py_None
); resultobj
= Py_None
;
5238 static PyObject
*_wrap_StopWatch_Pause(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5239 PyObject
*resultobj
;
5240 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5241 PyObject
* obj0
= 0 ;
5243 (char *) "self", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Pause",kwnames
,&obj0
)) goto fail
;
5247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5253 wxPyEndAllowThreads(__tstate
);
5254 if (PyErr_Occurred()) SWIG_fail
;
5256 Py_INCREF(Py_None
); resultobj
= Py_None
;
5263 static PyObject
*_wrap_StopWatch_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5264 PyObject
*resultobj
;
5265 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5266 PyObject
* obj0
= 0 ;
5268 (char *) "self", NULL
5271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Resume",kwnames
,&obj0
)) goto fail
;
5272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 Py_INCREF(Py_None
); resultobj
= Py_None
;
5288 static PyObject
*_wrap_StopWatch_Time(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxStopWatch
*arg1
= (wxStopWatch
*) 0 ;
5292 PyObject
* obj0
= 0 ;
5294 (char *) "self", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StopWatch_Time",kwnames
,&obj0
)) goto fail
;
5298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStopWatch
,
5299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5302 result
= (long)((wxStopWatch
const *)arg1
)->Time();
5304 wxPyEndAllowThreads(__tstate
);
5305 if (PyErr_Occurred()) SWIG_fail
;
5307 resultobj
= SWIG_FromLong((long)result
);
5314 static PyObject
* StopWatch_swigregister(PyObject
*, PyObject
*args
) {
5316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5317 SWIG_TypeClientData(SWIGTYPE_p_wxStopWatch
, obj
);
5319 return Py_BuildValue((char *)"");
5321 static PyObject
*_wrap_new_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 int arg1
= (int) 9 ;
5324 wxFileHistory
*result
;
5325 PyObject
* obj0
= 0 ;
5327 (char *) "maxFiles", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FileHistory",kwnames
,&obj0
)) goto fail
;
5332 arg1
= (int) SWIG_AsInt(obj0
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 result
= (wxFileHistory
*)new wxFileHistory(arg1
);
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileHistory
, 1);
5349 static PyObject
*_wrap_delete_FileHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5352 PyObject
* obj0
= 0 ;
5354 (char *) "self", NULL
5357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileHistory",kwnames
,&obj0
)) goto fail
;
5358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5367 Py_INCREF(Py_None
); resultobj
= Py_None
;
5374 static PyObject
*_wrap_FileHistory_AddFileToHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
;
5376 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5377 wxString
*arg2
= 0 ;
5378 bool temp2
= False
;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5382 (char *) "self",(char *) "file", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFileToHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5389 arg2
= wxString_in_helper(obj1
);
5390 if (arg2
== NULL
) SWIG_fail
;
5394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5395 (arg1
)->AddFileToHistory((wxString
const &)*arg2
);
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5400 Py_INCREF(Py_None
); resultobj
= Py_None
;
5415 static PyObject
*_wrap_FileHistory_RemoveFileFromHistory(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5416 PyObject
*resultobj
;
5417 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5419 PyObject
* obj0
= 0 ;
5420 PyObject
* obj1
= 0 ;
5422 (char *) "self",(char *) "i", NULL
5425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveFileFromHistory",kwnames
,&obj0
,&obj1
)) goto fail
;
5426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5428 arg2
= (int) SWIG_AsInt(obj1
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 (arg1
)->RemoveFileFromHistory(arg2
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 Py_INCREF(Py_None
); resultobj
= Py_None
;
5444 static PyObject
*_wrap_FileHistory_GetMaxFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5448 PyObject
* obj0
= 0 ;
5450 (char *) "self", NULL
5453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetMaxFiles",kwnames
,&obj0
)) goto fail
;
5454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5458 result
= (int)((wxFileHistory
const *)arg1
)->GetMaxFiles();
5460 wxPyEndAllowThreads(__tstate
);
5461 if (PyErr_Occurred()) SWIG_fail
;
5463 resultobj
= SWIG_FromInt((int)result
);
5470 static PyObject
*_wrap_FileHistory_UseMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5471 PyObject
*resultobj
;
5472 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5473 wxMenu
*arg2
= (wxMenu
*) 0 ;
5474 PyObject
* obj0
= 0 ;
5475 PyObject
* obj1
= 0 ;
5477 (char *) "self",(char *) "menu", NULL
5480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_UseMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5487 (arg1
)->UseMenu(arg2
);
5489 wxPyEndAllowThreads(__tstate
);
5490 if (PyErr_Occurred()) SWIG_fail
;
5492 Py_INCREF(Py_None
); resultobj
= Py_None
;
5499 static PyObject
*_wrap_FileHistory_RemoveMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5500 PyObject
*resultobj
;
5501 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5502 wxMenu
*arg2
= (wxMenu
*) 0 ;
5503 PyObject
* obj0
= 0 ;
5504 PyObject
* obj1
= 0 ;
5506 (char *) "self",(char *) "menu", NULL
5509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_RemoveMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 (arg1
)->RemoveMenu(arg2
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5521 Py_INCREF(Py_None
); resultobj
= Py_None
;
5528 static PyObject
*_wrap_FileHistory_Load(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5529 PyObject
*resultobj
;
5530 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5531 wxConfigBase
*arg2
= 0 ;
5532 PyObject
* obj0
= 0 ;
5533 PyObject
* obj1
= 0 ;
5535 (char *) "self",(char *) "config", NULL
5538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Load",kwnames
,&obj0
,&obj1
)) goto fail
;
5539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5542 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5545 PyErr_SetString(PyExc_TypeError
,"null reference");
5549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5550 (arg1
)->Load(*arg2
);
5552 wxPyEndAllowThreads(__tstate
);
5553 if (PyErr_Occurred()) SWIG_fail
;
5555 Py_INCREF(Py_None
); resultobj
= Py_None
;
5562 static PyObject
*_wrap_FileHistory_Save(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5563 PyObject
*resultobj
;
5564 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5565 wxConfigBase
*arg2
= 0 ;
5566 PyObject
* obj0
= 0 ;
5567 PyObject
* obj1
= 0 ;
5569 (char *) "self",(char *) "config", NULL
5572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_Save",kwnames
,&obj0
,&obj1
)) goto fail
;
5573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5575 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxConfigBase
,
5576 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5579 PyErr_SetString(PyExc_TypeError
,"null reference");
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5584 (arg1
)->Save(*arg2
);
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 Py_INCREF(Py_None
); resultobj
= Py_None
;
5596 static PyObject
*_wrap_FileHistory_AddFilesToMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5599 PyObject
* obj0
= 0 ;
5601 (char *) "self", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_AddFilesToMenu",kwnames
,&obj0
)) goto fail
;
5605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5609 (arg1
)->AddFilesToMenu();
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 Py_INCREF(Py_None
); resultobj
= Py_None
;
5621 static PyObject
*_wrap_FileHistory_AddFilesToThisMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5623 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5624 wxMenu
*arg2
= (wxMenu
*) 0 ;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5628 (char *) "self",(char *) "menu", NULL
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_AddFilesToThisMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
5632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
5635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 (arg1
)->AddFilesToMenu(arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5643 Py_INCREF(Py_None
); resultobj
= Py_None
;
5650 static PyObject
*_wrap_FileHistory_GetHistoryFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5651 PyObject
*resultobj
;
5652 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5655 PyObject
* obj0
= 0 ;
5656 PyObject
* obj1
= 0 ;
5658 (char *) "self",(char *) "i", NULL
5661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileHistory_GetHistoryFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5664 arg2
= (int) SWIG_AsInt(obj1
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5668 result
= ((wxFileHistory
const *)arg1
)->GetHistoryFile(arg2
);
5670 wxPyEndAllowThreads(__tstate
);
5671 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5677 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5686 static PyObject
*_wrap_FileHistory_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5687 PyObject
*resultobj
;
5688 wxFileHistory
*arg1
= (wxFileHistory
*) 0 ;
5690 PyObject
* obj0
= 0 ;
5692 (char *) "self", NULL
5695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileHistory_GetCount",kwnames
,&obj0
)) goto fail
;
5696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileHistory
,
5697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5700 result
= (int)((wxFileHistory
const *)arg1
)->GetCount();
5702 wxPyEndAllowThreads(__tstate
);
5703 if (PyErr_Occurred()) SWIG_fail
;
5705 resultobj
= SWIG_FromInt((int)result
);
5712 static PyObject
* FileHistory_swigregister(PyObject
*, PyObject
*args
) {
5714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5715 SWIG_TypeClientData(SWIGTYPE_p_wxFileHistory
, obj
);
5717 return Py_BuildValue((char *)"");
5719 static PyObject
*_wrap_new_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5720 PyObject
*resultobj
;
5721 wxString
*arg1
= 0 ;
5722 wxString
const &arg2_defvalue
= wxPyEmptyString
;
5723 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
5724 wxSingleInstanceChecker
*result
;
5725 bool temp1
= False
;
5726 bool temp2
= False
;
5727 PyObject
* obj0
= 0 ;
5728 PyObject
* obj1
= 0 ;
5730 (char *) "name",(char *) "path", NULL
5733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_SingleInstanceChecker",kwnames
,&obj0
,&obj1
)) goto fail
;
5735 arg1
= wxString_in_helper(obj0
);
5736 if (arg1
== NULL
) SWIG_fail
;
5741 arg2
= wxString_in_helper(obj1
);
5742 if (arg2
== NULL
) SWIG_fail
;
5747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker((wxString
const &)*arg1
,(wxString
const &)*arg2
);
5750 wxPyEndAllowThreads(__tstate
);
5751 if (PyErr_Occurred()) SWIG_fail
;
5753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5776 static PyObject
*_wrap_new_PreSingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxSingleInstanceChecker
*result
;
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreSingleInstanceChecker",kwnames
)) goto fail
;
5785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5786 result
= (wxSingleInstanceChecker
*)new wxSingleInstanceChecker();
5788 wxPyEndAllowThreads(__tstate
);
5789 if (PyErr_Occurred()) SWIG_fail
;
5791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSingleInstanceChecker
, 1);
5798 static PyObject
*_wrap_delete_SingleInstanceChecker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5799 PyObject
*resultobj
;
5800 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5801 PyObject
* obj0
= 0 ;
5803 (char *) "self", NULL
5806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_SingleInstanceChecker",kwnames
,&obj0
)) goto fail
;
5807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5816 Py_INCREF(Py_None
); resultobj
= Py_None
;
5823 static PyObject
*_wrap_SingleInstanceChecker_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5824 PyObject
*resultobj
;
5825 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5826 wxString
*arg2
= 0 ;
5827 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5828 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5830 bool temp2
= False
;
5831 bool temp3
= False
;
5832 PyObject
* obj0
= 0 ;
5833 PyObject
* obj1
= 0 ;
5834 PyObject
* obj2
= 0 ;
5836 (char *) "self",(char *) "name",(char *) "path", NULL
5839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SingleInstanceChecker_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5843 arg2
= wxString_in_helper(obj1
);
5844 if (arg2
== NULL
) SWIG_fail
;
5849 arg3
= wxString_in_helper(obj2
);
5850 if (arg3
== NULL
) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,(wxString
const &)*arg3
);
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5884 static PyObject
*_wrap_SingleInstanceChecker_IsAnotherRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxSingleInstanceChecker
*arg1
= (wxSingleInstanceChecker
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "self", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SingleInstanceChecker_IsAnotherRunning",kwnames
,&obj0
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSingleInstanceChecker
,
5895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 result
= (bool)((wxSingleInstanceChecker
const *)arg1
)->IsAnotherRunning();
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5910 static PyObject
* SingleInstanceChecker_swigregister(PyObject
*, PyObject
*args
) {
5912 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5913 SWIG_TypeClientData(SWIGTYPE_p_wxSingleInstanceChecker
, obj
);
5915 return Py_BuildValue((char *)"");
5917 static PyObject
*_wrap_DrawWindowOnDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5918 PyObject
*resultobj
;
5919 wxWindow
*arg1
= (wxWindow
*) 0 ;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5924 PyObject
* obj2
= 0 ;
5926 (char *) "window",(char *) "dc",(char *) "method", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DrawWindowOnDC",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
5933 SWIG_POINTER_EXCEPTION
| 0)) == -1)
5936 PyErr_SetString(PyExc_TypeError
,"null reference");
5939 arg3
= (int) SWIG_AsInt(obj2
);
5940 if (PyErr_Occurred()) SWIG_fail
;
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 wxDrawWindowOnDC(arg1
,(wxDC
const &)*arg2
,arg3
);
5945 wxPyEndAllowThreads(__tstate
);
5946 if (PyErr_Occurred()) SWIG_fail
;
5948 Py_INCREF(Py_None
); resultobj
= Py_None
;
5955 static PyObject
*_wrap_delete_TipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5956 PyObject
*resultobj
;
5957 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5958 PyObject
* obj0
= 0 ;
5960 (char *) "self", NULL
5963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TipProvider",kwnames
,&obj0
)) goto fail
;
5964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxPyEndAllowThreads(__tstate
);
5971 if (PyErr_Occurred()) SWIG_fail
;
5973 Py_INCREF(Py_None
); resultobj
= Py_None
;
5980 static PyObject
*_wrap_TipProvider_GetTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
5984 PyObject
* obj0
= 0 ;
5986 (char *) "self", NULL
5989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetTip",kwnames
,&obj0
)) goto fail
;
5990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
5991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (arg1
)->GetTip();
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6012 static PyObject
*_wrap_TipProvider_GetCurrentTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6016 PyObject
* obj0
= 0 ;
6018 (char *) "self", NULL
6021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TipProvider_GetCurrentTip",kwnames
,&obj0
)) goto fail
;
6022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 result
= (size_t)(arg1
)->GetCurrentTip();
6028 wxPyEndAllowThreads(__tstate
);
6029 if (PyErr_Occurred()) SWIG_fail
;
6031 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6038 static PyObject
*_wrap_TipProvider_PreprocessTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxTipProvider
*arg1
= (wxTipProvider
*) 0 ;
6041 wxString
*arg2
= 0 ;
6043 bool temp2
= False
;
6044 PyObject
* obj0
= 0 ;
6045 PyObject
* obj1
= 0 ;
6047 (char *) "self",(char *) "tip", NULL
6050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipProvider_PreprocessTip",kwnames
,&obj0
,&obj1
)) goto fail
;
6051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTipProvider
,
6052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6054 arg2
= wxString_in_helper(obj1
);
6055 if (arg2
== NULL
) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (arg1
)->PreprocessTip((wxString
const &)*arg2
);
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6086 static PyObject
* TipProvider_swigregister(PyObject
*, PyObject
*args
) {
6088 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6089 SWIG_TypeClientData(SWIGTYPE_p_wxTipProvider
, obj
);
6091 return Py_BuildValue((char *)"");
6093 static PyObject
*_wrap_new_PyTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6094 PyObject
*resultobj
;
6096 wxPyTipProvider
*result
;
6097 PyObject
* obj0
= 0 ;
6099 (char *) "currentTip", NULL
6102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PyTipProvider",kwnames
,&obj0
)) goto fail
;
6103 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
6104 if (PyErr_Occurred()) SWIG_fail
;
6106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6107 result
= (wxPyTipProvider
*)new wxPyTipProvider(arg1
);
6109 wxPyEndAllowThreads(__tstate
);
6110 if (PyErr_Occurred()) SWIG_fail
;
6112 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTipProvider
, 1);
6119 static PyObject
*_wrap_PyTipProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6120 PyObject
*resultobj
;
6121 wxPyTipProvider
*arg1
= (wxPyTipProvider
*) 0 ;
6122 PyObject
*arg2
= (PyObject
*) 0 ;
6123 PyObject
*arg3
= (PyObject
*) 0 ;
6124 PyObject
* obj0
= 0 ;
6125 PyObject
* obj1
= 0 ;
6126 PyObject
* obj2
= 0 ;
6128 (char *) "self",(char *) "self",(char *) "_class", NULL
6131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTipProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTipProvider
,
6133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6140 wxPyEndAllowThreads(__tstate
);
6141 if (PyErr_Occurred()) SWIG_fail
;
6143 Py_INCREF(Py_None
); resultobj
= Py_None
;
6150 static PyObject
* PyTipProvider_swigregister(PyObject
*, PyObject
*args
) {
6152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6153 SWIG_TypeClientData(SWIGTYPE_p_wxPyTipProvider
, obj
);
6155 return Py_BuildValue((char *)"");
6157 static PyObject
*_wrap_ShowTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxWindow
*arg1
= (wxWindow
*) 0 ;
6160 wxTipProvider
*arg2
= (wxTipProvider
*) 0 ;
6161 bool arg3
= (bool) True
;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6165 PyObject
* obj2
= 0 ;
6167 (char *) "parent",(char *) "tipProvider",(char *) "showAtStartup", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ShowTip",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
6172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTipProvider
,
6174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6176 arg3
= (bool) SWIG_AsBool(obj2
);
6177 if (PyErr_Occurred()) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (bool)wxShowTip(arg1
,arg2
,arg3
);
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6193 static PyObject
*_wrap_CreateFileTipProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6194 PyObject
*resultobj
;
6195 wxString
*arg1
= 0 ;
6197 wxTipProvider
*result
;
6198 bool temp1
= False
;
6199 PyObject
* obj0
= 0 ;
6200 PyObject
* obj1
= 0 ;
6202 (char *) "filename",(char *) "currentTip", NULL
6205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CreateFileTipProvider",kwnames
,&obj0
,&obj1
)) goto fail
;
6207 arg1
= wxString_in_helper(obj0
);
6208 if (arg1
== NULL
) SWIG_fail
;
6211 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
6212 if (PyErr_Occurred()) SWIG_fail
;
6214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 result
= (wxTipProvider
*)wxCreateFileTipProvider((wxString
const &)*arg1
,arg2
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTipProvider
, 1);
6235 static PyObject
*_wrap_new_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
6238 int arg2
= (int) -1 ;
6240 PyObject
* obj0
= 0 ;
6241 PyObject
* obj1
= 0 ;
6243 (char *) "owner",(char *) "id", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Timer",kwnames
,&obj0
,&obj1
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6252 arg2
= (int) SWIG_AsInt(obj1
);
6253 if (PyErr_Occurred()) SWIG_fail
;
6256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6257 result
= (wxPyTimer
*)new wxPyTimer(arg1
,arg2
);
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTimer
, 1);
6269 static PyObject
*_wrap_delete_Timer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
;
6271 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6272 PyObject
* obj0
= 0 ;
6274 (char *) "self", NULL
6277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Timer",kwnames
,&obj0
)) goto fail
;
6278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6284 wxPyEndAllowThreads(__tstate
);
6285 if (PyErr_Occurred()) SWIG_fail
;
6287 Py_INCREF(Py_None
); resultobj
= Py_None
;
6294 static PyObject
*_wrap_Timer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6295 PyObject
*resultobj
;
6296 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6297 PyObject
*arg2
= (PyObject
*) 0 ;
6298 PyObject
*arg3
= (PyObject
*) 0 ;
6299 int arg4
= (int) 1 ;
6300 PyObject
* obj0
= 0 ;
6301 PyObject
* obj1
= 0 ;
6302 PyObject
* obj2
= 0 ;
6303 PyObject
* obj3
= 0 ;
6305 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
6308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Timer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
6309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6314 arg4
= (int) SWIG_AsInt(obj3
);
6315 if (PyErr_Occurred()) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6324 Py_INCREF(Py_None
); resultobj
= Py_None
;
6331 static PyObject
*_wrap_Timer_SetOwner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6334 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
6335 int arg3
= (int) -1 ;
6336 PyObject
* obj0
= 0 ;
6337 PyObject
* obj1
= 0 ;
6338 PyObject
* obj2
= 0 ;
6340 (char *) "self",(char *) "owner",(char *) "id", NULL
6343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Timer_SetOwner",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
6347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6349 arg3
= (int) SWIG_AsInt(obj2
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6354 (arg1
)->SetOwner(arg2
,arg3
);
6356 wxPyEndAllowThreads(__tstate
);
6357 if (PyErr_Occurred()) SWIG_fail
;
6359 Py_INCREF(Py_None
); resultobj
= Py_None
;
6366 static PyObject
*_wrap_Timer_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6367 PyObject
*resultobj
;
6368 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6369 int arg2
= (int) -1 ;
6370 bool arg3
= (bool) False
;
6372 PyObject
* obj0
= 0 ;
6373 PyObject
* obj1
= 0 ;
6374 PyObject
* obj2
= 0 ;
6376 (char *) "self",(char *) "milliseconds",(char *) "oneShot", NULL
6379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Timer_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6383 arg2
= (int) SWIG_AsInt(obj1
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6387 arg3
= (bool) SWIG_AsBool(obj2
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 result
= (bool)(arg1
)->Start(arg2
,arg3
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6404 static PyObject
*_wrap_Timer_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6407 PyObject
* obj0
= 0 ;
6409 (char *) "self", NULL
6412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_Stop",kwnames
,&obj0
)) goto fail
;
6413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 Py_INCREF(Py_None
); resultobj
= Py_None
;
6429 static PyObject
*_wrap_Timer_IsRunning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6430 PyObject
*resultobj
;
6431 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6433 PyObject
* obj0
= 0 ;
6435 (char *) "self", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsRunning",kwnames
,&obj0
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (bool)((wxPyTimer
const *)arg1
)->IsRunning();
6445 wxPyEndAllowThreads(__tstate
);
6446 if (PyErr_Occurred()) SWIG_fail
;
6448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6455 static PyObject
*_wrap_Timer_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6456 PyObject
*resultobj
;
6457 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6459 PyObject
* obj0
= 0 ;
6461 (char *) "self", NULL
6464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetInterval",kwnames
,&obj0
)) goto fail
;
6465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6469 result
= (int)((wxPyTimer
const *)arg1
)->GetInterval();
6471 wxPyEndAllowThreads(__tstate
);
6472 if (PyErr_Occurred()) SWIG_fail
;
6474 resultobj
= SWIG_FromInt((int)result
);
6481 static PyObject
*_wrap_Timer_IsOneShot(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6482 PyObject
*resultobj
;
6483 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6485 PyObject
* obj0
= 0 ;
6487 (char *) "self", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_IsOneShot",kwnames
,&obj0
)) goto fail
;
6491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 result
= (bool)((wxPyTimer
const *)arg1
)->IsOneShot();
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6507 static PyObject
*_wrap_Timer_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6508 PyObject
*resultobj
;
6509 wxPyTimer
*arg1
= (wxPyTimer
*) 0 ;
6511 PyObject
* obj0
= 0 ;
6513 (char *) "self", NULL
6516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Timer_GetId",kwnames
,&obj0
)) goto fail
;
6517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTimer
,
6518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6521 result
= (int)((wxPyTimer
const *)arg1
)->GetId();
6523 wxPyEndAllowThreads(__tstate
);
6524 if (PyErr_Occurred()) SWIG_fail
;
6526 resultobj
= SWIG_FromInt((int)result
);
6533 static PyObject
* Timer_swigregister(PyObject
*, PyObject
*args
) {
6535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6536 SWIG_TypeClientData(SWIGTYPE_p_wxPyTimer
, obj
);
6538 return Py_BuildValue((char *)"");
6540 static PyObject
*_wrap_new_TimerEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6541 PyObject
*resultobj
;
6542 int arg1
= (int) 0 ;
6543 int arg2
= (int) 0 ;
6544 wxTimerEvent
*result
;
6545 PyObject
* obj0
= 0 ;
6546 PyObject
* obj1
= 0 ;
6548 (char *) "timerid",(char *) "interval", NULL
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_TimerEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
6553 arg1
= (int) SWIG_AsInt(obj0
);
6554 if (PyErr_Occurred()) SWIG_fail
;
6557 arg2
= (int) SWIG_AsInt(obj1
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6562 result
= (wxTimerEvent
*)new wxTimerEvent(arg1
,arg2
);
6564 wxPyEndAllowThreads(__tstate
);
6565 if (PyErr_Occurred()) SWIG_fail
;
6567 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerEvent
, 1);
6574 static PyObject
*_wrap_TimerEvent_GetInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6575 PyObject
*resultobj
;
6576 wxTimerEvent
*arg1
= (wxTimerEvent
*) 0 ;
6578 PyObject
* obj0
= 0 ;
6580 (char *) "self", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimerEvent_GetInterval",kwnames
,&obj0
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerEvent
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 result
= (int)((wxTimerEvent
const *)arg1
)->GetInterval();
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 resultobj
= SWIG_FromInt((int)result
);
6600 static PyObject
* TimerEvent_swigregister(PyObject
*, PyObject
*args
) {
6602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6603 SWIG_TypeClientData(SWIGTYPE_p_wxTimerEvent
, obj
);
6605 return Py_BuildValue((char *)"");
6607 static PyObject
*_wrap_new_TimerRunner__SWIG_0(PyObject
*, PyObject
*args
) {
6608 PyObject
*resultobj
;
6610 wxTimerRunner
*result
;
6611 PyObject
* obj0
= 0 ;
6613 if(!PyArg_ParseTuple(args
,(char *)"O:new_TimerRunner",&obj0
)) goto fail
;
6614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6615 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6618 PyErr_SetString(PyExc_TypeError
,"null reference");
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
);
6625 wxPyEndAllowThreads(__tstate
);
6626 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6635 static PyObject
*_wrap_new_TimerRunner__SWIG_1(PyObject
*, PyObject
*args
) {
6636 PyObject
*resultobj
;
6639 bool arg3
= (bool) False
;
6640 wxTimerRunner
*result
;
6641 PyObject
* obj0
= 0 ;
6642 PyObject
* obj1
= 0 ;
6643 PyObject
* obj2
= 0 ;
6645 if(!PyArg_ParseTuple(args
,(char *)"OO|O:new_TimerRunner",&obj0
,&obj1
,&obj2
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimer
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6650 PyErr_SetString(PyExc_TypeError
,"null reference");
6653 arg2
= (int) SWIG_AsInt(obj1
);
6654 if (PyErr_Occurred()) SWIG_fail
;
6656 arg3
= (bool) SWIG_AsBool(obj2
);
6657 if (PyErr_Occurred()) SWIG_fail
;
6660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6661 result
= (wxTimerRunner
*)new wxTimerRunner(*arg1
,arg2
,arg3
);
6663 wxPyEndAllowThreads(__tstate
);
6664 if (PyErr_Occurred()) SWIG_fail
;
6666 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimerRunner
, 1);
6673 static PyObject
*_wrap_new_TimerRunner(PyObject
*self
, PyObject
*args
) {
6678 argc
= PyObject_Length(args
);
6679 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
6680 argv
[ii
] = PyTuple_GetItem(args
,ii
);
6686 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6694 return _wrap_new_TimerRunner__SWIG_0(self
,args
);
6697 if ((argc
>= 2) && (argc
<= 3)) {
6701 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxTimer
, 0) == -1) {
6709 _v
= SWIG_CheckInt(argv
[1]);
6712 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6714 _v
= SWIG_CheckBool(argv
[2]);
6716 return _wrap_new_TimerRunner__SWIG_1(self
,args
);
6722 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_TimerRunner'");
6727 static PyObject
*_wrap_delete_TimerRunner(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6730 PyObject
* obj0
= 0 ;
6732 (char *) "self", NULL
6735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimerRunner",kwnames
,&obj0
)) goto fail
;
6736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6742 wxPyEndAllowThreads(__tstate
);
6743 if (PyErr_Occurred()) SWIG_fail
;
6745 Py_INCREF(Py_None
); resultobj
= Py_None
;
6752 static PyObject
*_wrap_TimerRunner_Start(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6753 PyObject
*resultobj
;
6754 wxTimerRunner
*arg1
= (wxTimerRunner
*) 0 ;
6756 bool arg3
= (bool) False
;
6757 PyObject
* obj0
= 0 ;
6758 PyObject
* obj1
= 0 ;
6759 PyObject
* obj2
= 0 ;
6761 (char *) "self",(char *) "milli",(char *) "oneShot", NULL
6764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TimerRunner_Start",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimerRunner
,
6766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6767 arg2
= (int) SWIG_AsInt(obj1
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6770 arg3
= (bool) SWIG_AsBool(obj2
);
6771 if (PyErr_Occurred()) SWIG_fail
;
6774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6775 (arg1
)->Start(arg2
,arg3
);
6777 wxPyEndAllowThreads(__tstate
);
6778 if (PyErr_Occurred()) SWIG_fail
;
6780 Py_INCREF(Py_None
); resultobj
= Py_None
;
6787 static PyObject
* TimerRunner_swigregister(PyObject
*, PyObject
*args
) {
6789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6790 SWIG_TypeClientData(SWIGTYPE_p_wxTimerRunner
, obj
);
6792 return Py_BuildValue((char *)"");
6794 static PyObject
*_wrap_new_Log(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6795 PyObject
*resultobj
;
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Log",kwnames
)) goto fail
;
6803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6804 result
= (wxLog
*)new wxLog();
6806 wxPyEndAllowThreads(__tstate
);
6807 if (PyErr_Occurred()) SWIG_fail
;
6809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 1);
6816 static PyObject
*_wrap_Log_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6817 PyObject
*resultobj
;
6823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_IsEnabled",kwnames
)) goto fail
;
6825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6826 result
= (bool)wxLog::IsEnabled();
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6838 static PyObject
*_wrap_Log_EnableLogging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 bool arg1
= (bool) True
;
6842 PyObject
* obj0
= 0 ;
6844 (char *) "doIt", NULL
6847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_EnableLogging",kwnames
,&obj0
)) goto fail
;
6849 arg1
= (bool) SWIG_AsBool(obj0
);
6850 if (PyErr_Occurred()) SWIG_fail
;
6853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6854 result
= (bool)wxLog::EnableLogging(arg1
);
6856 wxPyEndAllowThreads(__tstate
);
6857 if (PyErr_Occurred()) SWIG_fail
;
6859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6866 static PyObject
*_wrap_Log_OnLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6867 PyObject
*resultobj
;
6869 wxChar
*arg2
= (wxChar
*) 0 ;
6871 PyObject
* obj0
= 0 ;
6872 PyObject
* obj1
= 0 ;
6873 PyObject
* obj2
= 0 ;
6875 (char *) "level",(char *) "szString",(char *) "t", NULL
6878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Log_OnLog",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6879 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
6880 if (PyErr_Occurred()) SWIG_fail
;
6881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxChar
,
6882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6883 arg3
= (time_t) SWIG_AsUnsignedInt(obj2
);
6884 if (PyErr_Occurred()) SWIG_fail
;
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 wxLog::OnLog(arg1
,(wxChar
const *)arg2
,arg3
);
6889 wxPyEndAllowThreads(__tstate
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6892 Py_INCREF(Py_None
); resultobj
= Py_None
;
6899 static PyObject
*_wrap_Log_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6900 PyObject
*resultobj
;
6901 wxLog
*arg1
= (wxLog
*) 0 ;
6902 PyObject
* obj0
= 0 ;
6904 (char *) "self", NULL
6907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Flush",kwnames
,&obj0
)) goto fail
;
6908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6914 wxPyEndAllowThreads(__tstate
);
6915 if (PyErr_Occurred()) SWIG_fail
;
6917 Py_INCREF(Py_None
); resultobj
= Py_None
;
6924 static PyObject
*_wrap_Log_FlushActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
;
6930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_FlushActive",kwnames
)) goto fail
;
6932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6933 wxLog::FlushActive();
6935 wxPyEndAllowThreads(__tstate
);
6936 if (PyErr_Occurred()) SWIG_fail
;
6938 Py_INCREF(Py_None
); resultobj
= Py_None
;
6945 static PyObject
*_wrap_Log_GetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6946 PyObject
*resultobj
;
6952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetActiveTarget",kwnames
)) goto fail
;
6954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6955 result
= (wxLog
*)wxLog::GetActiveTarget();
6957 wxPyEndAllowThreads(__tstate
);
6958 if (PyErr_Occurred()) SWIG_fail
;
6960 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
6967 static PyObject
*_wrap_Log_SetActiveTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6968 PyObject
*resultobj
;
6969 wxLog
*arg1
= (wxLog
*) 0 ;
6971 PyObject
* obj0
= 0 ;
6973 (char *) "pLogger", NULL
6976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetActiveTarget",kwnames
,&obj0
)) goto fail
;
6977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
6978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6981 result
= (wxLog
*)wxLog::SetActiveTarget(arg1
);
6983 wxPyEndAllowThreads(__tstate
);
6984 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
6993 static PyObject
*_wrap_Log_Suspend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6994 PyObject
*resultobj
;
6999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Suspend",kwnames
)) goto fail
;
7001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7004 wxPyEndAllowThreads(__tstate
);
7005 if (PyErr_Occurred()) SWIG_fail
;
7007 Py_INCREF(Py_None
); resultobj
= Py_None
;
7014 static PyObject
*_wrap_Log_Resume(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7015 PyObject
*resultobj
;
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_Resume",kwnames
)) goto fail
;
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7025 wxPyEndAllowThreads(__tstate
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7028 Py_INCREF(Py_None
); resultobj
= Py_None
;
7035 static PyObject
*_wrap_Log_SetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 bool arg1
= (bool) True
;
7038 PyObject
* obj0
= 0 ;
7040 (char *) "bVerbose", NULL
7043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Log_SetVerbose",kwnames
,&obj0
)) goto fail
;
7045 arg1
= (bool) SWIG_AsBool(obj0
);
7046 if (PyErr_Occurred()) SWIG_fail
;
7049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7050 wxLog::SetVerbose(arg1
);
7052 wxPyEndAllowThreads(__tstate
);
7053 if (PyErr_Occurred()) SWIG_fail
;
7055 Py_INCREF(Py_None
); resultobj
= Py_None
;
7062 static PyObject
*_wrap_Log_SetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7063 PyObject
*resultobj
;
7065 PyObject
* obj0
= 0 ;
7067 (char *) "logLevel", NULL
7070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetLogLevel",kwnames
,&obj0
)) goto fail
;
7071 arg1
= (wxLogLevel
) SWIG_AsUnsignedLong(obj0
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7075 wxLog::SetLogLevel(arg1
);
7077 wxPyEndAllowThreads(__tstate
);
7078 if (PyErr_Occurred()) SWIG_fail
;
7080 Py_INCREF(Py_None
); resultobj
= Py_None
;
7087 static PyObject
*_wrap_Log_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7088 PyObject
*resultobj
;
7093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_DontCreateOnDemand",kwnames
)) goto fail
;
7095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7096 wxLog::DontCreateOnDemand();
7098 wxPyEndAllowThreads(__tstate
);
7099 if (PyErr_Occurred()) SWIG_fail
;
7101 Py_INCREF(Py_None
); resultobj
= Py_None
;
7108 static PyObject
*_wrap_Log_SetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7109 PyObject
*resultobj
;
7111 PyObject
* obj0
= 0 ;
7113 (char *) "ulMask", NULL
7116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTraceMask",kwnames
,&obj0
)) goto fail
;
7117 arg1
= (wxTraceMask
) SWIG_AsUnsignedLong(obj0
);
7118 if (PyErr_Occurred()) SWIG_fail
;
7120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7121 wxLog::SetTraceMask(arg1
);
7123 wxPyEndAllowThreads(__tstate
);
7124 if (PyErr_Occurred()) SWIG_fail
;
7126 Py_INCREF(Py_None
); resultobj
= Py_None
;
7133 static PyObject
*_wrap_Log_AddTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
;
7135 wxString
*arg1
= 0 ;
7136 bool temp1
= False
;
7137 PyObject
* obj0
= 0 ;
7139 (char *) "str", NULL
7142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_AddTraceMask",kwnames
,&obj0
)) goto fail
;
7144 arg1
= wxString_in_helper(obj0
);
7145 if (arg1
== NULL
) SWIG_fail
;
7149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7150 wxLog::AddTraceMask((wxString
const &)*arg1
);
7152 wxPyEndAllowThreads(__tstate
);
7153 if (PyErr_Occurred()) SWIG_fail
;
7155 Py_INCREF(Py_None
); resultobj
= Py_None
;
7170 static PyObject
*_wrap_Log_RemoveTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7171 PyObject
*resultobj
;
7172 wxString
*arg1
= 0 ;
7173 bool temp1
= False
;
7174 PyObject
* obj0
= 0 ;
7176 (char *) "str", NULL
7179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_RemoveTraceMask",kwnames
,&obj0
)) goto fail
;
7181 arg1
= wxString_in_helper(obj0
);
7182 if (arg1
== NULL
) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 wxLog::RemoveTraceMask((wxString
const &)*arg1
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 Py_INCREF(Py_None
); resultobj
= Py_None
;
7207 static PyObject
*_wrap_Log_ClearTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7208 PyObject
*resultobj
;
7213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_ClearTraceMasks",kwnames
)) goto fail
;
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 wxLog::ClearTraceMasks();
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7221 Py_INCREF(Py_None
); resultobj
= Py_None
;
7228 static PyObject
*_wrap_Log_GetTraceMasks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7229 PyObject
*resultobj
;
7230 wxArrayString
*result
;
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMasks",kwnames
)) goto fail
;
7237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 wxArrayString
const &_result_ref
= wxLog::GetTraceMasks();
7240 result
= (wxArrayString
*) &_result_ref
;
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7247 resultobj
= wxArrayString2PyList_helper(*result
);
7255 static PyObject
*_wrap_Log_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 wxChar
*arg1
= (wxChar
*) 0 ;
7258 PyObject
* obj0
= 0 ;
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_SetTimestamp",kwnames
,&obj0
)) goto fail
;
7264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 wxLog::SetTimestamp((wxChar
const *)arg1
);
7270 wxPyEndAllowThreads(__tstate
);
7271 if (PyErr_Occurred()) SWIG_fail
;
7273 Py_INCREF(Py_None
); resultobj
= Py_None
;
7280 static PyObject
*_wrap_Log_GetVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7281 PyObject
*resultobj
;
7287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetVerbose",kwnames
)) goto fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 result
= (bool)wxLog::GetVerbose();
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7302 static PyObject
*_wrap_Log_GetTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTraceMask",kwnames
)) goto fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (wxTraceMask
)wxLog::GetTraceMask();
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7317 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7324 static PyObject
*_wrap_Log_IsAllowedTraceMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7325 PyObject
*resultobj
;
7326 wxChar
*arg1
= (wxChar
*) 0 ;
7328 PyObject
* obj0
= 0 ;
7330 (char *) "mask", NULL
7333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_IsAllowedTraceMask",kwnames
,&obj0
)) goto fail
;
7334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChar
,
7335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 result
= (bool)wxLog::IsAllowedTraceMask((wxChar
const *)arg1
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7350 static PyObject
*_wrap_Log_GetLogLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7351 PyObject
*resultobj
;
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetLogLevel",kwnames
)) goto fail
;
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (wxLogLevel
)wxLog::GetLogLevel();
7362 wxPyEndAllowThreads(__tstate
);
7363 if (PyErr_Occurred()) SWIG_fail
;
7365 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7372 static PyObject
*_wrap_Log_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7373 PyObject
*resultobj
;
7379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_GetTimestamp",kwnames
)) goto fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (wxChar
*)wxLog::GetTimestamp();
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChar
, 0);
7394 static PyObject
*_wrap_Log_TimeStamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7395 PyObject
*resultobj
;
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Log_TimeStamp",kwnames
)) goto fail
;
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 result
= Log_TimeStamp();
7406 wxPyEndAllowThreads(__tstate
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7422 static PyObject
*_wrap_Log_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxLog
*arg1
= (wxLog
*) 0 ;
7425 PyObject
* obj0
= 0 ;
7427 (char *) "self", NULL
7430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Log_Destroy",kwnames
,&obj0
)) goto fail
;
7431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 wxLog_Destroy(arg1
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7440 Py_INCREF(Py_None
); resultobj
= Py_None
;
7447 static PyObject
* Log_swigregister(PyObject
*, PyObject
*args
) {
7449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7450 SWIG_TypeClientData(SWIGTYPE_p_wxLog
, obj
);
7452 return Py_BuildValue((char *)"");
7454 static PyObject
*_wrap_new_LogStderr(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7455 PyObject
*resultobj
;
7456 wxLogStderr
*result
;
7461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogStderr",kwnames
)) goto fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 result
= (wxLogStderr
*)new wxLogStderr();
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogStderr
, 1);
7476 static PyObject
* LogStderr_swigregister(PyObject
*, PyObject
*args
) {
7478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7479 SWIG_TypeClientData(SWIGTYPE_p_wxLogStderr
, obj
);
7481 return Py_BuildValue((char *)"");
7483 static PyObject
*_wrap_new_LogTextCtrl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxTextCtrl
*arg1
= (wxTextCtrl
*) 0 ;
7486 wxLogTextCtrl
*result
;
7487 PyObject
* obj0
= 0 ;
7489 (char *) "pTextCtrl", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogTextCtrl",kwnames
,&obj0
)) goto fail
;
7493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextCtrl
,
7494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7497 result
= (wxLogTextCtrl
*)new wxLogTextCtrl(arg1
);
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogTextCtrl
, 1);
7509 static PyObject
* LogTextCtrl_swigregister(PyObject
*, PyObject
*args
) {
7511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7512 SWIG_TypeClientData(SWIGTYPE_p_wxLogTextCtrl
, obj
);
7514 return Py_BuildValue((char *)"");
7516 static PyObject
*_wrap_new_LogGui(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
;
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogGui",kwnames
)) goto fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (wxLogGui
*)new wxLogGui();
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogGui
, 1);
7538 static PyObject
* LogGui_swigregister(PyObject
*, PyObject
*args
) {
7540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7541 SWIG_TypeClientData(SWIGTYPE_p_wxLogGui
, obj
);
7543 return Py_BuildValue((char *)"");
7545 static PyObject
*_wrap_new_LogWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7546 PyObject
*resultobj
;
7547 wxFrame
*arg1
= (wxFrame
*) 0 ;
7548 wxString
*arg2
= 0 ;
7549 bool arg3
= (bool) True
;
7550 bool arg4
= (bool) True
;
7551 wxLogWindow
*result
;
7552 bool temp2
= False
;
7553 PyObject
* obj0
= 0 ;
7554 PyObject
* obj1
= 0 ;
7555 PyObject
* obj2
= 0 ;
7556 PyObject
* obj3
= 0 ;
7558 (char *) "pParent",(char *) "szTitle",(char *) "bShow",(char *) "bPassToOld", NULL
7561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_LogWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
7563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7565 arg2
= wxString_in_helper(obj1
);
7566 if (arg2
== NULL
) SWIG_fail
;
7570 arg3
= (bool) SWIG_AsBool(obj2
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7574 arg4
= (bool) SWIG_AsBool(obj3
);
7575 if (PyErr_Occurred()) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (wxLogWindow
*)new wxLogWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogWindow
, 1);
7599 static PyObject
*_wrap_LogWindow_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7600 PyObject
*resultobj
;
7601 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7602 bool arg2
= (bool) True
;
7603 PyObject
* obj0
= 0 ;
7604 PyObject
* obj1
= 0 ;
7606 (char *) "self",(char *) "bShow", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:LogWindow_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
7610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7613 arg2
= (bool) SWIG_AsBool(obj1
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7620 wxPyEndAllowThreads(__tstate
);
7621 if (PyErr_Occurred()) SWIG_fail
;
7623 Py_INCREF(Py_None
); resultobj
= Py_None
;
7630 static PyObject
*_wrap_LogWindow_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
;
7632 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7634 PyObject
* obj0
= 0 ;
7636 (char *) "self", NULL
7639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetFrame",kwnames
,&obj0
)) goto fail
;
7640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 result
= (wxFrame
*)((wxLogWindow
const *)arg1
)->GetFrame();
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7650 resultobj
= wxPyMake_wxObject(result
);
7658 static PyObject
*_wrap_LogWindow_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7659 PyObject
*resultobj
;
7660 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7664 (char *) "self", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_GetOldLog",kwnames
,&obj0
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7672 result
= (wxLog
*)((wxLogWindow
const *)arg1
)->GetOldLog();
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7677 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7684 static PyObject
*_wrap_LogWindow_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7685 PyObject
*resultobj
;
7686 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWindow_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (bool)((wxLogWindow
const *)arg1
)->IsPassingMessages();
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7710 static PyObject
*_wrap_LogWindow_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7711 PyObject
*resultobj
;
7712 wxLogWindow
*arg1
= (wxLogWindow
*) 0 ;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7717 (char *) "self",(char *) "bDoPass", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogWindow_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogWindow
,
7722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7723 arg2
= (bool) SWIG_AsBool(obj1
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 (arg1
)->PassMessages(arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 Py_INCREF(Py_None
); resultobj
= Py_None
;
7739 static PyObject
* LogWindow_swigregister(PyObject
*, PyObject
*args
) {
7741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7742 SWIG_TypeClientData(SWIGTYPE_p_wxLogWindow
, obj
);
7744 return Py_BuildValue((char *)"");
7746 static PyObject
*_wrap_new_LogChain(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7747 PyObject
*resultobj
;
7748 wxLog
*arg1
= (wxLog
*) 0 ;
7750 PyObject
* obj0
= 0 ;
7752 (char *) "logger", NULL
7755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_LogChain",kwnames
,&obj0
)) goto fail
;
7756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLog
,
7757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7760 result
= (wxLogChain
*)new wxLogChain(arg1
);
7762 wxPyEndAllowThreads(__tstate
);
7763 if (PyErr_Occurred()) SWIG_fail
;
7765 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogChain
, 1);
7772 static PyObject
*_wrap_LogChain_SetLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7773 PyObject
*resultobj
;
7774 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7775 wxLog
*arg2
= (wxLog
*) 0 ;
7776 PyObject
* obj0
= 0 ;
7777 PyObject
* obj1
= 0 ;
7779 (char *) "self",(char *) "logger", NULL
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_SetLog",kwnames
,&obj0
,&obj1
)) goto fail
;
7783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLog
,
7786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7789 (arg1
)->SetLog(arg2
);
7791 wxPyEndAllowThreads(__tstate
);
7792 if (PyErr_Occurred()) SWIG_fail
;
7794 Py_INCREF(Py_None
); resultobj
= Py_None
;
7801 static PyObject
*_wrap_LogChain_PassMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7802 PyObject
*resultobj
;
7803 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7805 PyObject
* obj0
= 0 ;
7806 PyObject
* obj1
= 0 ;
7808 (char *) "self",(char *) "bDoPass", NULL
7811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogChain_PassMessages",kwnames
,&obj0
,&obj1
)) goto fail
;
7812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7814 arg2
= (bool) SWIG_AsBool(obj1
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7818 (arg1
)->PassMessages(arg2
);
7820 wxPyEndAllowThreads(__tstate
);
7821 if (PyErr_Occurred()) SWIG_fail
;
7823 Py_INCREF(Py_None
); resultobj
= Py_None
;
7830 static PyObject
*_wrap_LogChain_IsPassingMessages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7831 PyObject
*resultobj
;
7832 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7834 PyObject
* obj0
= 0 ;
7836 (char *) "self", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_IsPassingMessages",kwnames
,&obj0
)) goto fail
;
7840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7844 result
= (bool)(arg1
)->IsPassingMessages();
7846 wxPyEndAllowThreads(__tstate
);
7847 if (PyErr_Occurred()) SWIG_fail
;
7849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7856 static PyObject
*_wrap_LogChain_GetOldLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7857 PyObject
*resultobj
;
7858 wxLogChain
*arg1
= (wxLogChain
*) 0 ;
7860 PyObject
* obj0
= 0 ;
7862 (char *) "self", NULL
7865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogChain_GetOldLog",kwnames
,&obj0
)) goto fail
;
7866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogChain
,
7867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7870 result
= (wxLog
*)(arg1
)->GetOldLog();
7872 wxPyEndAllowThreads(__tstate
);
7873 if (PyErr_Occurred()) SWIG_fail
;
7875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLog
, 0);
7882 static PyObject
* LogChain_swigregister(PyObject
*, PyObject
*args
) {
7884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7885 SWIG_TypeClientData(SWIGTYPE_p_wxLogChain
, obj
);
7887 return Py_BuildValue((char *)"");
7889 static PyObject
*_wrap_SysErrorCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7890 PyObject
*resultobj
;
7891 unsigned long result
;
7896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":SysErrorCode",kwnames
)) goto fail
;
7898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7899 result
= (unsigned long)wxSysErrorCode();
7901 wxPyEndAllowThreads(__tstate
);
7902 if (PyErr_Occurred()) SWIG_fail
;
7904 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
7911 static PyObject
*_wrap_SysErrorMsg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 unsigned long arg1
= (unsigned long) 0 ;
7915 PyObject
* obj0
= 0 ;
7917 (char *) "nErrCode", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SysErrorMsg",kwnames
,&obj0
)) goto fail
;
7922 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
7923 if (PyErr_Occurred()) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= wxSysErrorMsg(arg1
);
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7945 static PyObject
*_wrap_LogFatalError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7946 PyObject
*resultobj
;
7947 wxString
*arg1
= 0 ;
7948 bool temp1
= False
;
7949 PyObject
* obj0
= 0 ;
7951 (char *) "msg", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogFatalError",kwnames
,&obj0
)) goto fail
;
7956 arg1
= wxString_in_helper(obj0
);
7957 if (arg1
== NULL
) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 wxLogFatalError((wxString
const &)*arg1
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 Py_INCREF(Py_None
); resultobj
= Py_None
;
7982 static PyObject
*_wrap_LogError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxString
*arg1
= 0 ;
7985 bool temp1
= False
;
7986 PyObject
* obj0
= 0 ;
7988 (char *) "msg", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogError",kwnames
,&obj0
)) goto fail
;
7993 arg1
= wxString_in_helper(obj0
);
7994 if (arg1
== NULL
) SWIG_fail
;
7998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7999 wxLogError((wxString
const &)*arg1
);
8001 wxPyEndAllowThreads(__tstate
);
8002 if (PyErr_Occurred()) SWIG_fail
;
8004 Py_INCREF(Py_None
); resultobj
= Py_None
;
8019 static PyObject
*_wrap_LogWarning(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8021 wxString
*arg1
= 0 ;
8022 bool temp1
= False
;
8023 PyObject
* obj0
= 0 ;
8025 (char *) "msg", NULL
8028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogWarning",kwnames
,&obj0
)) goto fail
;
8030 arg1
= wxString_in_helper(obj0
);
8031 if (arg1
== NULL
) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 wxLogWarning((wxString
const &)*arg1
);
8038 wxPyEndAllowThreads(__tstate
);
8039 if (PyErr_Occurred()) SWIG_fail
;
8041 Py_INCREF(Py_None
); resultobj
= Py_None
;
8056 static PyObject
*_wrap_LogMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8057 PyObject
*resultobj
;
8058 wxString
*arg1
= 0 ;
8059 bool temp1
= False
;
8060 PyObject
* obj0
= 0 ;
8062 (char *) "msg", NULL
8065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogMessage",kwnames
,&obj0
)) goto fail
;
8067 arg1
= wxString_in_helper(obj0
);
8068 if (arg1
== NULL
) SWIG_fail
;
8072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8073 wxLogMessage((wxString
const &)*arg1
);
8075 wxPyEndAllowThreads(__tstate
);
8076 if (PyErr_Occurred()) SWIG_fail
;
8078 Py_INCREF(Py_None
); resultobj
= Py_None
;
8093 static PyObject
*_wrap_LogInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8094 PyObject
*resultobj
;
8095 wxString
*arg1
= 0 ;
8096 bool temp1
= False
;
8097 PyObject
* obj0
= 0 ;
8099 (char *) "msg", NULL
8102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogInfo",kwnames
,&obj0
)) goto fail
;
8104 arg1
= wxString_in_helper(obj0
);
8105 if (arg1
== NULL
) SWIG_fail
;
8109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8110 wxLogInfo((wxString
const &)*arg1
);
8112 wxPyEndAllowThreads(__tstate
);
8113 if (PyErr_Occurred()) SWIG_fail
;
8115 Py_INCREF(Py_None
); resultobj
= Py_None
;
8130 static PyObject
*_wrap_LogDebug(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxString
*arg1
= 0 ;
8133 bool temp1
= False
;
8134 PyObject
* obj0
= 0 ;
8136 (char *) "msg", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogDebug",kwnames
,&obj0
)) goto fail
;
8141 arg1
= wxString_in_helper(obj0
);
8142 if (arg1
== NULL
) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 wxLogDebug((wxString
const &)*arg1
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 Py_INCREF(Py_None
); resultobj
= Py_None
;
8167 static PyObject
*_wrap_LogVerbose(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxString
*arg1
= 0 ;
8170 bool temp1
= False
;
8171 PyObject
* obj0
= 0 ;
8173 (char *) "msg", NULL
8176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogVerbose",kwnames
,&obj0
)) goto fail
;
8178 arg1
= wxString_in_helper(obj0
);
8179 if (arg1
== NULL
) SWIG_fail
;
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 wxLogVerbose((wxString
const &)*arg1
);
8186 wxPyEndAllowThreads(__tstate
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8189 Py_INCREF(Py_None
); resultobj
= Py_None
;
8204 static PyObject
*_wrap_LogStatus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8205 PyObject
*resultobj
;
8206 wxString
*arg1
= 0 ;
8207 bool temp1
= False
;
8208 PyObject
* obj0
= 0 ;
8210 (char *) "msg", NULL
8213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogStatus",kwnames
,&obj0
)) goto fail
;
8215 arg1
= wxString_in_helper(obj0
);
8216 if (arg1
== NULL
) SWIG_fail
;
8220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8221 wxLogStatus((wxString
const &)*arg1
);
8223 wxPyEndAllowThreads(__tstate
);
8224 if (PyErr_Occurred()) SWIG_fail
;
8226 Py_INCREF(Py_None
); resultobj
= Py_None
;
8241 static PyObject
*_wrap_LogStatusFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8242 PyObject
*resultobj
;
8243 wxFrame
*arg1
= (wxFrame
*) 0 ;
8244 wxString
*arg2
= 0 ;
8245 bool temp2
= False
;
8246 PyObject
* obj0
= 0 ;
8247 PyObject
* obj1
= 0 ;
8249 (char *) "pFrame",(char *) "msg", NULL
8252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogStatusFrame",kwnames
,&obj0
,&obj1
)) goto fail
;
8253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFrame
,
8254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8256 arg2
= wxString_in_helper(obj1
);
8257 if (arg2
== NULL
) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 wxLogStatus(arg1
,(wxString
const &)*arg2
);
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8267 Py_INCREF(Py_None
); resultobj
= Py_None
;
8282 static PyObject
*_wrap_LogSysError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8283 PyObject
*resultobj
;
8284 wxString
*arg1
= 0 ;
8285 bool temp1
= False
;
8286 PyObject
* obj0
= 0 ;
8288 (char *) "msg", NULL
8291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LogSysError",kwnames
,&obj0
)) goto fail
;
8293 arg1
= wxString_in_helper(obj0
);
8294 if (arg1
== NULL
) SWIG_fail
;
8298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8299 wxLogSysError((wxString
const &)*arg1
);
8301 wxPyEndAllowThreads(__tstate
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 Py_INCREF(Py_None
); resultobj
= Py_None
;
8319 static PyObject
*_wrap_LogTrace__SWIG_0(PyObject
*, PyObject
*args
) {
8320 PyObject
*resultobj
;
8321 unsigned long arg1
;
8322 wxString
*arg2
= 0 ;
8323 bool temp2
= False
;
8324 PyObject
* obj0
= 0 ;
8325 PyObject
* obj1
= 0 ;
8327 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8328 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8329 if (PyErr_Occurred()) SWIG_fail
;
8331 arg2
= wxString_in_helper(obj1
);
8332 if (arg2
== NULL
) SWIG_fail
;
8336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8337 wxLogTrace(arg1
,(wxString
const &)*arg2
);
8339 wxPyEndAllowThreads(__tstate
);
8340 if (PyErr_Occurred()) SWIG_fail
;
8342 Py_INCREF(Py_None
); resultobj
= Py_None
;
8357 static PyObject
*_wrap_LogTrace__SWIG_1(PyObject
*, PyObject
*args
) {
8358 PyObject
*resultobj
;
8359 wxString
*arg1
= 0 ;
8360 wxString
*arg2
= 0 ;
8361 bool temp1
= False
;
8362 bool temp2
= False
;
8363 PyObject
* obj0
= 0 ;
8364 PyObject
* obj1
= 0 ;
8366 if(!PyArg_ParseTuple(args
,(char *)"OO:LogTrace",&obj0
,&obj1
)) goto fail
;
8368 arg1
= wxString_in_helper(obj0
);
8369 if (arg1
== NULL
) SWIG_fail
;
8373 arg2
= wxString_in_helper(obj1
);
8374 if (arg2
== NULL
) SWIG_fail
;
8378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8379 wxLogTrace((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8381 wxPyEndAllowThreads(__tstate
);
8382 if (PyErr_Occurred()) SWIG_fail
;
8384 Py_INCREF(Py_None
); resultobj
= Py_None
;
8407 static PyObject
*_wrap_LogTrace(PyObject
*self
, PyObject
*args
) {
8412 argc
= PyObject_Length(args
);
8413 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
8414 argv
[ii
] = PyTuple_GetItem(args
,ii
);
8419 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
8423 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8426 return _wrap_LogTrace__SWIG_1(self
,args
);
8432 _v
= SWIG_CheckUnsignedLong(argv
[0]);
8435 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
8438 return _wrap_LogTrace__SWIG_0(self
,args
);
8443 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'LogTrace'");
8448 static PyObject
*_wrap_LogGeneric(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8449 PyObject
*resultobj
;
8450 unsigned long arg1
;
8451 wxString
*arg2
= 0 ;
8452 bool temp2
= False
;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8456 (char *) "level",(char *) "msg", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LogGeneric",kwnames
,&obj0
,&obj1
)) goto fail
;
8460 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
8461 if (PyErr_Occurred()) SWIG_fail
;
8463 arg2
= wxString_in_helper(obj1
);
8464 if (arg2
== NULL
) SWIG_fail
;
8468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8469 wxLogGeneric(arg1
,(wxString
const &)*arg2
);
8471 wxPyEndAllowThreads(__tstate
);
8472 if (PyErr_Occurred()) SWIG_fail
;
8474 Py_INCREF(Py_None
); resultobj
= Py_None
;
8489 static PyObject
*_wrap_SafeShowMessage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
;
8491 wxString
*arg1
= 0 ;
8492 wxString
*arg2
= 0 ;
8493 bool temp1
= False
;
8494 bool temp2
= False
;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8498 (char *) "title",(char *) "text", NULL
8501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SafeShowMessage",kwnames
,&obj0
,&obj1
)) goto fail
;
8503 arg1
= wxString_in_helper(obj0
);
8504 if (arg1
== NULL
) SWIG_fail
;
8508 arg2
= wxString_in_helper(obj1
);
8509 if (arg2
== NULL
) SWIG_fail
;
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8514 wxSafeShowMessage((wxString
const &)*arg1
,(wxString
const &)*arg2
);
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 Py_INCREF(Py_None
); resultobj
= Py_None
;
8542 static PyObject
*_wrap_new_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8543 PyObject
*resultobj
;
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LogNull",kwnames
)) goto fail
;
8551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8552 result
= (wxLogNull
*)new wxLogNull();
8554 wxPyEndAllowThreads(__tstate
);
8555 if (PyErr_Occurred()) SWIG_fail
;
8557 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLogNull
, 1);
8564 static PyObject
*_wrap_delete_LogNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8565 PyObject
*resultobj
;
8566 wxLogNull
*arg1
= (wxLogNull
*) 0 ;
8567 PyObject
* obj0
= 0 ;
8569 (char *) "self", NULL
8572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_LogNull",kwnames
,&obj0
)) goto fail
;
8573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLogNull
,
8574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8579 wxPyEndAllowThreads(__tstate
);
8580 if (PyErr_Occurred()) SWIG_fail
;
8582 Py_INCREF(Py_None
); resultobj
= Py_None
;
8589 static PyObject
* LogNull_swigregister(PyObject
*, PyObject
*args
) {
8591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8592 SWIG_TypeClientData(SWIGTYPE_p_wxLogNull
, obj
);
8594 return Py_BuildValue((char *)"");
8596 static PyObject
*_wrap_new_PyLog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyLog",kwnames
)) goto fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 result
= (wxPyLog
*)new wxPyLog();
8608 wxPyEndAllowThreads(__tstate
);
8609 if (PyErr_Occurred()) SWIG_fail
;
8611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyLog
, 1);
8618 static PyObject
*_wrap_PyLog__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8619 PyObject
*resultobj
;
8620 wxPyLog
*arg1
= (wxPyLog
*) 0 ;
8621 PyObject
*arg2
= (PyObject
*) 0 ;
8622 PyObject
*arg3
= (PyObject
*) 0 ;
8623 PyObject
* obj0
= 0 ;
8624 PyObject
* obj1
= 0 ;
8625 PyObject
* obj2
= 0 ;
8627 (char *) "self",(char *) "self",(char *) "_class", NULL
8630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyLog__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyLog
,
8632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8639 wxPyEndAllowThreads(__tstate
);
8640 if (PyErr_Occurred()) SWIG_fail
;
8642 Py_INCREF(Py_None
); resultobj
= Py_None
;
8649 static PyObject
* PyLog_swigregister(PyObject
*, PyObject
*args
) {
8651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8652 SWIG_TypeClientData(SWIGTYPE_p_wxPyLog
, obj
);
8654 return Py_BuildValue((char *)"");
8656 static PyObject
*_wrap_Process_Kill(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8659 int arg2
= (int) wxSIGTERM
;
8661 PyObject
* obj0
= 0 ;
8662 PyObject
* obj1
= 0 ;
8664 (char *) "pid",(char *) "sig", NULL
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Kill",kwnames
,&obj0
,&obj1
)) goto fail
;
8668 arg1
= (int) SWIG_AsInt(obj0
);
8669 if (PyErr_Occurred()) SWIG_fail
;
8671 arg2
= (wxSignal
) SWIG_AsInt(obj1
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 result
= (int)wxPyProcess::Kill(arg1
,(wxSignal
)arg2
);
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 resultobj
= SWIG_FromInt((int)result
);
8688 static PyObject
*_wrap_Process_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8692 PyObject
* obj0
= 0 ;
8694 (char *) "pid", NULL
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Exists",kwnames
,&obj0
)) goto fail
;
8698 arg1
= (int) SWIG_AsInt(obj0
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8702 result
= (bool)wxPyProcess::Exists(arg1
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8714 static PyObject
*_wrap_Process_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8715 PyObject
*resultobj
;
8716 wxString
*arg1
= 0 ;
8717 int arg2
= (int) wxEXEC_ASYNC
;
8718 wxPyProcess
*result
;
8719 bool temp1
= False
;
8720 PyObject
* obj0
= 0 ;
8721 PyObject
* obj1
= 0 ;
8723 (char *) "cmd",(char *) "flags", NULL
8726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Process_Open",kwnames
,&obj0
,&obj1
)) goto fail
;
8728 arg1
= wxString_in_helper(obj0
);
8729 if (arg1
== NULL
) SWIG_fail
;
8733 arg2
= (int) SWIG_AsInt(obj1
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8738 result
= (wxPyProcess
*)wxPyProcess::Open((wxString
const &)*arg1
,arg2
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 0);
8758 static PyObject
*_wrap_new_Process(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxEvtHandler
*arg1
= (wxEvtHandler
*) NULL
;
8761 int arg2
= (int) -1 ;
8762 wxPyProcess
*result
;
8763 PyObject
* obj0
= 0 ;
8764 PyObject
* obj1
= 0 ;
8766 (char *) "parent",(char *) "id", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Process",kwnames
,&obj0
,&obj1
)) goto fail
;
8771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
8772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8775 arg2
= (int) SWIG_AsInt(obj1
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 result
= (wxPyProcess
*)new wxPyProcess(arg1
,arg2
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyProcess
, 1);
8792 static PyObject
*_wrap_Process__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8795 PyObject
*arg2
= (PyObject
*) 0 ;
8796 PyObject
*arg3
= (PyObject
*) 0 ;
8797 PyObject
* obj0
= 0 ;
8798 PyObject
* obj1
= 0 ;
8799 PyObject
* obj2
= 0 ;
8801 (char *) "self",(char *) "self",(char *) "_class", NULL
8804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 (arg1
)->_setCallbackInfo(arg2
,arg3
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 Py_INCREF(Py_None
); resultobj
= Py_None
;
8823 static PyObject
*_wrap_Process_base_OnTerminate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8830 PyObject
* obj2
= 0 ;
8832 (char *) "self",(char *) "pid",(char *) "status", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Process_base_OnTerminate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8838 arg2
= (int) SWIG_AsInt(obj1
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8840 arg3
= (int) SWIG_AsInt(obj2
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 (arg1
)->base_OnTerminate(arg2
,arg3
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 Py_INCREF(Py_None
); resultobj
= Py_None
;
8856 static PyObject
*_wrap_Process_Redirect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8858 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8859 PyObject
* obj0
= 0 ;
8861 (char *) "self", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Redirect",kwnames
,&obj0
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 Py_INCREF(Py_None
); resultobj
= Py_None
;
8881 static PyObject
*_wrap_Process_IsRedirected(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8885 PyObject
* obj0
= 0 ;
8887 (char *) "self", NULL
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsRedirected",kwnames
,&obj0
)) goto fail
;
8891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 result
= (bool)(arg1
)->IsRedirected();
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8907 static PyObject
*_wrap_Process_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8909 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8910 PyObject
* obj0
= 0 ;
8912 (char *) "self", NULL
8915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_Detach",kwnames
,&obj0
)) goto fail
;
8916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 Py_INCREF(Py_None
); resultobj
= Py_None
;
8932 static PyObject
*_wrap_Process_GetInputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8935 wxInputStream
*result
;
8936 PyObject
* obj0
= 0 ;
8938 (char *) "self", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetInputStream",kwnames
,&obj0
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8946 result
= (wxInputStream
*)(arg1
)->GetInputStream();
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8952 wxPyInputStream
* _ptr
= NULL
;
8955 _ptr
= new wxPyInputStream(result
);
8957 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8965 static PyObject
*_wrap_Process_GetErrorStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8966 PyObject
*resultobj
;
8967 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
8968 wxInputStream
*result
;
8969 PyObject
* obj0
= 0 ;
8971 (char *) "self", NULL
8974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetErrorStream",kwnames
,&obj0
)) goto fail
;
8975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
8976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 result
= (wxInputStream
*)(arg1
)->GetErrorStream();
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8985 wxPyInputStream
* _ptr
= NULL
;
8988 _ptr
= new wxPyInputStream(result
);
8990 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
8998 static PyObject
*_wrap_Process_GetOutputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8999 PyObject
*resultobj
;
9000 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9001 wxOutputStream
*result
;
9002 PyObject
* obj0
= 0 ;
9004 (char *) "self", NULL
9007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_GetOutputStream",kwnames
,&obj0
)) goto fail
;
9008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9012 result
= (wxOutputStream
*)(arg1
)->GetOutputStream();
9014 wxPyEndAllowThreads(__tstate
);
9015 if (PyErr_Occurred()) SWIG_fail
;
9017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxOutputStream
, 0);
9024 static PyObject
*_wrap_Process_CloseOutput(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9026 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9027 PyObject
* obj0
= 0 ;
9029 (char *) "self", NULL
9032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_CloseOutput",kwnames
,&obj0
)) goto fail
;
9033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9037 (arg1
)->CloseOutput();
9039 wxPyEndAllowThreads(__tstate
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 Py_INCREF(Py_None
); resultobj
= Py_None
;
9049 static PyObject
*_wrap_Process_IsInputOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9050 PyObject
*resultobj
;
9051 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9053 PyObject
* obj0
= 0 ;
9055 (char *) "self", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputOpened",kwnames
,&obj0
)) goto fail
;
9059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9063 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputOpened();
9065 wxPyEndAllowThreads(__tstate
);
9066 if (PyErr_Occurred()) SWIG_fail
;
9068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9075 static PyObject
*_wrap_Process_IsInputAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9076 PyObject
*resultobj
;
9077 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9079 PyObject
* obj0
= 0 ;
9081 (char *) "self", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsInputAvailable",kwnames
,&obj0
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9089 result
= (bool)((wxPyProcess
const *)arg1
)->IsInputAvailable();
9091 wxPyEndAllowThreads(__tstate
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9101 static PyObject
*_wrap_Process_IsErrorAvailable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9102 PyObject
*resultobj
;
9103 wxPyProcess
*arg1
= (wxPyProcess
*) 0 ;
9105 PyObject
* obj0
= 0 ;
9107 (char *) "self", NULL
9110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Process_IsErrorAvailable",kwnames
,&obj0
)) goto fail
;
9111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyProcess
,
9112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9115 result
= (bool)((wxPyProcess
const *)arg1
)->IsErrorAvailable();
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9127 static PyObject
* Process_swigregister(PyObject
*, PyObject
*args
) {
9129 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9130 SWIG_TypeClientData(SWIGTYPE_p_wxPyProcess
, obj
);
9132 return Py_BuildValue((char *)"");
9134 static PyObject
*_wrap_new_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 int arg1
= (int) 0 ;
9137 int arg2
= (int) 0 ;
9138 int arg3
= (int) 0 ;
9139 wxProcessEvent
*result
;
9140 PyObject
* obj0
= 0 ;
9141 PyObject
* obj1
= 0 ;
9142 PyObject
* obj2
= 0 ;
9144 (char *) "id",(char *) "pid",(char *) "exitcode", NULL
9147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ProcessEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9149 arg1
= (int) SWIG_AsInt(obj0
);
9150 if (PyErr_Occurred()) SWIG_fail
;
9153 arg2
= (int) SWIG_AsInt(obj1
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9157 arg3
= (int) SWIG_AsInt(obj2
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (wxProcessEvent
*)new wxProcessEvent(arg1
,arg2
,arg3
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxProcessEvent
, 1);
9174 static PyObject
*_wrap_ProcessEvent_GetPid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9176 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9178 PyObject
* obj0
= 0 ;
9180 (char *) "self", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetPid",kwnames
,&obj0
)) goto fail
;
9184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (int)(arg1
)->GetPid();
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 resultobj
= SWIG_FromInt((int)result
);
9200 static PyObject
*_wrap_ProcessEvent_GetExitCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9204 PyObject
* obj0
= 0 ;
9206 (char *) "self", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_GetExitCode",kwnames
,&obj0
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9214 result
= (int)(arg1
)->GetExitCode();
9216 wxPyEndAllowThreads(__tstate
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 resultobj
= SWIG_FromInt((int)result
);
9226 static PyObject
*_wrap_ProcessEvent_m_pid_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9227 PyObject
*resultobj
;
9228 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9230 PyObject
* obj0
= 0 ;
9231 PyObject
* obj1
= 0 ;
9233 (char *) "self",(char *) "m_pid", NULL
9236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_pid_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9239 arg2
= (int) SWIG_AsInt(obj1
);
9240 if (PyErr_Occurred()) SWIG_fail
;
9241 if (arg1
) (arg1
)->m_pid
= arg2
;
9243 Py_INCREF(Py_None
); resultobj
= Py_None
;
9250 static PyObject
*_wrap_ProcessEvent_m_pid_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9251 PyObject
*resultobj
;
9252 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9254 PyObject
* obj0
= 0 ;
9256 (char *) "self", NULL
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_pid_get",kwnames
,&obj0
)) goto fail
;
9260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9262 result
= (int) ((arg1
)->m_pid
);
9264 resultobj
= SWIG_FromInt((int)result
);
9271 static PyObject
*_wrap_ProcessEvent_m_exitcode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9272 PyObject
*resultobj
;
9273 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9275 PyObject
* obj0
= 0 ;
9276 PyObject
* obj1
= 0 ;
9278 (char *) "self",(char *) "m_exitcode", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ProcessEvent_m_exitcode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
9282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9284 arg2
= (int) SWIG_AsInt(obj1
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9286 if (arg1
) (arg1
)->m_exitcode
= arg2
;
9288 Py_INCREF(Py_None
); resultobj
= Py_None
;
9295 static PyObject
*_wrap_ProcessEvent_m_exitcode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9296 PyObject
*resultobj
;
9297 wxProcessEvent
*arg1
= (wxProcessEvent
*) 0 ;
9299 PyObject
* obj0
= 0 ;
9301 (char *) "self", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ProcessEvent_m_exitcode_get",kwnames
,&obj0
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxProcessEvent
,
9306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9307 result
= (int) ((arg1
)->m_exitcode
);
9309 resultobj
= SWIG_FromInt((int)result
);
9316 static PyObject
* ProcessEvent_swigregister(PyObject
*, PyObject
*args
) {
9318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9319 SWIG_TypeClientData(SWIGTYPE_p_wxProcessEvent
, obj
);
9321 return Py_BuildValue((char *)"");
9323 static PyObject
*_wrap_Execute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9324 PyObject
*resultobj
;
9325 wxString
*arg1
= 0 ;
9326 int arg2
= (int) wxEXEC_ASYNC
;
9327 wxPyProcess
*arg3
= (wxPyProcess
*) NULL
;
9329 bool temp1
= False
;
9330 PyObject
* obj0
= 0 ;
9331 PyObject
* obj1
= 0 ;
9332 PyObject
* obj2
= 0 ;
9334 (char *) "command",(char *) "flags",(char *) "process", NULL
9337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Execute",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9339 arg1
= wxString_in_helper(obj0
);
9340 if (arg1
== NULL
) SWIG_fail
;
9344 arg2
= (int) SWIG_AsInt(obj1
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9348 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxPyProcess
,
9349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 result
= (long)wxExecute((wxString
const &)*arg1
,arg2
,arg3
);
9355 wxPyEndAllowThreads(__tstate
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= SWIG_FromLong((long)result
);
9373 static PyObject
*_wrap_new_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 int arg1
= (int) wxJOYSTICK1
;
9377 PyObject
* obj0
= 0 ;
9379 (char *) "joystick", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Joystick",kwnames
,&obj0
)) goto fail
;
9384 arg1
= (int) SWIG_AsInt(obj0
);
9385 if (PyErr_Occurred()) SWIG_fail
;
9388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9389 result
= (wxJoystick
*)new wxJoystick(arg1
);
9391 wxPyEndAllowThreads(__tstate
);
9392 if (PyErr_Occurred()) SWIG_fail
;
9394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystick
, 1);
9401 static PyObject
*_wrap_delete_Joystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9404 PyObject
* obj0
= 0 ;
9406 (char *) "self", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Joystick",kwnames
,&obj0
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 Py_INCREF(Py_None
); resultobj
= Py_None
;
9426 static PyObject
*_wrap_Joystick_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9427 PyObject
*resultobj
;
9428 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9430 PyObject
* obj0
= 0 ;
9432 (char *) "self", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPosition",kwnames
,&obj0
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (arg1
)->GetPosition();
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9446 wxPoint
* resultptr
;
9447 resultptr
= new wxPoint((wxPoint
&) result
);
9448 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
9456 static PyObject
*_wrap_Joystick_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9457 PyObject
*resultobj
;
9458 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9460 PyObject
* obj0
= 0 ;
9462 (char *) "self", NULL
9465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZPosition",kwnames
,&obj0
)) goto fail
;
9466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (int)(arg1
)->GetZPosition();
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= SWIG_FromInt((int)result
);
9482 static PyObject
*_wrap_Joystick_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9483 PyObject
*resultobj
;
9484 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9486 PyObject
* obj0
= 0 ;
9488 (char *) "self", NULL
9491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetButtonState",kwnames
,&obj0
)) goto fail
;
9492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9496 result
= (int)(arg1
)->GetButtonState();
9498 wxPyEndAllowThreads(__tstate
);
9499 if (PyErr_Occurred()) SWIG_fail
;
9501 resultobj
= SWIG_FromInt((int)result
);
9508 static PyObject
*_wrap_Joystick_GetPOVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9509 PyObject
*resultobj
;
9510 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9512 PyObject
* obj0
= 0 ;
9514 (char *) "self", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVPosition",kwnames
,&obj0
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9522 result
= (int)(arg1
)->GetPOVPosition();
9524 wxPyEndAllowThreads(__tstate
);
9525 if (PyErr_Occurred()) SWIG_fail
;
9527 resultobj
= SWIG_FromInt((int)result
);
9534 static PyObject
*_wrap_Joystick_GetPOVCTSPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9538 PyObject
* obj0
= 0 ;
9540 (char *) "self", NULL
9543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPOVCTSPosition",kwnames
,&obj0
)) goto fail
;
9544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9548 result
= (int)(arg1
)->GetPOVCTSPosition();
9550 wxPyEndAllowThreads(__tstate
);
9551 if (PyErr_Occurred()) SWIG_fail
;
9553 resultobj
= SWIG_FromInt((int)result
);
9560 static PyObject
*_wrap_Joystick_GetRudderPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9566 (char *) "self", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderPosition",kwnames
,&obj0
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (int)(arg1
)->GetRudderPosition();
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= SWIG_FromInt((int)result
);
9586 static PyObject
*_wrap_Joystick_GetUPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9587 PyObject
*resultobj
;
9588 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9590 PyObject
* obj0
= 0 ;
9592 (char *) "self", NULL
9595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUPosition",kwnames
,&obj0
)) goto fail
;
9596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9600 result
= (int)(arg1
)->GetUPosition();
9602 wxPyEndAllowThreads(__tstate
);
9603 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= SWIG_FromInt((int)result
);
9612 static PyObject
*_wrap_Joystick_GetVPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9613 PyObject
*resultobj
;
9614 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9616 PyObject
* obj0
= 0 ;
9618 (char *) "self", NULL
9621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVPosition",kwnames
,&obj0
)) goto fail
;
9622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (int)(arg1
)->GetVPosition();
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= SWIG_FromInt((int)result
);
9638 static PyObject
*_wrap_Joystick_GetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9642 PyObject
* obj0
= 0 ;
9644 (char *) "self", NULL
9647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMovementThreshold",kwnames
,&obj0
)) goto fail
;
9648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 result
= (int)(arg1
)->GetMovementThreshold();
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 resultobj
= SWIG_FromInt((int)result
);
9664 static PyObject
*_wrap_Joystick_SetMovementThreshold(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
;
9666 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9668 PyObject
* obj0
= 0 ;
9669 PyObject
* obj1
= 0 ;
9671 (char *) "self",(char *) "threshold", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Joystick_SetMovementThreshold",kwnames
,&obj0
,&obj1
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9677 arg2
= (int) SWIG_AsInt(obj1
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9681 (arg1
)->SetMovementThreshold(arg2
);
9683 wxPyEndAllowThreads(__tstate
);
9684 if (PyErr_Occurred()) SWIG_fail
;
9686 Py_INCREF(Py_None
); resultobj
= Py_None
;
9693 static PyObject
*_wrap_Joystick_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9694 PyObject
*resultobj
;
9695 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9697 PyObject
* obj0
= 0 ;
9699 (char *) "self", NULL
9702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_IsOk",kwnames
,&obj0
)) goto fail
;
9703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (bool)(arg1
)->IsOk();
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9719 static PyObject
*_wrap_Joystick_GetNumberJoysticks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9720 PyObject
*resultobj
;
9721 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9723 PyObject
* obj0
= 0 ;
9725 (char *) "self", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberJoysticks",kwnames
,&obj0
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9733 result
= (int)(arg1
)->GetNumberJoysticks();
9735 wxPyEndAllowThreads(__tstate
);
9736 if (PyErr_Occurred()) SWIG_fail
;
9738 resultobj
= SWIG_FromInt((int)result
);
9745 static PyObject
*_wrap_Joystick_GetManufacturerId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9746 PyObject
*resultobj
;
9747 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9749 PyObject
* obj0
= 0 ;
9751 (char *) "self", NULL
9754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetManufacturerId",kwnames
,&obj0
)) goto fail
;
9755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9759 result
= (int)(arg1
)->GetManufacturerId();
9761 wxPyEndAllowThreads(__tstate
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9764 resultobj
= SWIG_FromInt((int)result
);
9771 static PyObject
*_wrap_Joystick_GetProductId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "self", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductId",kwnames
,&obj0
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 result
= (int)(arg1
)->GetProductId();
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 resultobj
= SWIG_FromInt((int)result
);
9797 static PyObject
*_wrap_Joystick_GetProductName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "self", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetProductName",kwnames
,&obj0
)) goto fail
;
9807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9811 result
= (arg1
)->GetProductName();
9813 wxPyEndAllowThreads(__tstate
);
9814 if (PyErr_Occurred()) SWIG_fail
;
9818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9829 static PyObject
*_wrap_Joystick_GetXMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9833 PyObject
* obj0
= 0 ;
9835 (char *) "self", NULL
9838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMin",kwnames
,&obj0
)) goto fail
;
9839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9843 result
= (int)(arg1
)->GetXMin();
9845 wxPyEndAllowThreads(__tstate
);
9846 if (PyErr_Occurred()) SWIG_fail
;
9848 resultobj
= SWIG_FromInt((int)result
);
9855 static PyObject
*_wrap_Joystick_GetYMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9856 PyObject
*resultobj
;
9857 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9859 PyObject
* obj0
= 0 ;
9861 (char *) "self", NULL
9864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMin",kwnames
,&obj0
)) goto fail
;
9865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9869 result
= (int)(arg1
)->GetYMin();
9871 wxPyEndAllowThreads(__tstate
);
9872 if (PyErr_Occurred()) SWIG_fail
;
9874 resultobj
= SWIG_FromInt((int)result
);
9881 static PyObject
*_wrap_Joystick_GetZMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
;
9883 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9885 PyObject
* obj0
= 0 ;
9887 (char *) "self", NULL
9890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMin",kwnames
,&obj0
)) goto fail
;
9891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9895 result
= (int)(arg1
)->GetZMin();
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9900 resultobj
= SWIG_FromInt((int)result
);
9907 static PyObject
*_wrap_Joystick_GetXMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9908 PyObject
*resultobj
;
9909 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9911 PyObject
* obj0
= 0 ;
9913 (char *) "self", NULL
9916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetXMax",kwnames
,&obj0
)) goto fail
;
9917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (int)(arg1
)->GetXMax();
9923 wxPyEndAllowThreads(__tstate
);
9924 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= SWIG_FromInt((int)result
);
9933 static PyObject
*_wrap_Joystick_GetYMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9937 PyObject
* obj0
= 0 ;
9939 (char *) "self", NULL
9942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetYMax",kwnames
,&obj0
)) goto fail
;
9943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9947 result
= (int)(arg1
)->GetYMax();
9949 wxPyEndAllowThreads(__tstate
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 resultobj
= SWIG_FromInt((int)result
);
9959 static PyObject
*_wrap_Joystick_GetZMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9960 PyObject
*resultobj
;
9961 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9963 PyObject
* obj0
= 0 ;
9965 (char *) "self", NULL
9968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetZMax",kwnames
,&obj0
)) goto fail
;
9969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9973 result
= (int)(arg1
)->GetZMax();
9975 wxPyEndAllowThreads(__tstate
);
9976 if (PyErr_Occurred()) SWIG_fail
;
9978 resultobj
= SWIG_FromInt((int)result
);
9985 static PyObject
*_wrap_Joystick_GetNumberButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberButtons",kwnames
,&obj0
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
9996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (int)(arg1
)->GetNumberButtons();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10004 resultobj
= SWIG_FromInt((int)result
);
10011 static PyObject
*_wrap_Joystick_GetNumberAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10012 PyObject
*resultobj
;
10013 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10015 PyObject
* obj0
= 0 ;
10016 char *kwnames
[] = {
10017 (char *) "self", NULL
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetNumberAxes",kwnames
,&obj0
)) goto fail
;
10021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 result
= (int)(arg1
)->GetNumberAxes();
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10030 resultobj
= SWIG_FromInt((int)result
);
10037 static PyObject
*_wrap_Joystick_GetMaxButtons(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10038 PyObject
*resultobj
;
10039 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10041 PyObject
* obj0
= 0 ;
10042 char *kwnames
[] = {
10043 (char *) "self", NULL
10046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxButtons",kwnames
,&obj0
)) goto fail
;
10047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10051 result
= (int)(arg1
)->GetMaxButtons();
10053 wxPyEndAllowThreads(__tstate
);
10054 if (PyErr_Occurred()) SWIG_fail
;
10056 resultobj
= SWIG_FromInt((int)result
);
10063 static PyObject
*_wrap_Joystick_GetMaxAxes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10064 PyObject
*resultobj
;
10065 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 char *kwnames
[] = {
10069 (char *) "self", NULL
10072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetMaxAxes",kwnames
,&obj0
)) goto fail
;
10073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10077 result
= (int)(arg1
)->GetMaxAxes();
10079 wxPyEndAllowThreads(__tstate
);
10080 if (PyErr_Occurred()) SWIG_fail
;
10082 resultobj
= SWIG_FromInt((int)result
);
10089 static PyObject
*_wrap_Joystick_GetPollingMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10093 PyObject
* obj0
= 0 ;
10094 char *kwnames
[] = {
10095 (char *) "self", NULL
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMin",kwnames
,&obj0
)) goto fail
;
10099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10103 result
= (int)(arg1
)->GetPollingMin();
10105 wxPyEndAllowThreads(__tstate
);
10106 if (PyErr_Occurred()) SWIG_fail
;
10108 resultobj
= SWIG_FromInt((int)result
);
10115 static PyObject
*_wrap_Joystick_GetPollingMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10116 PyObject
*resultobj
;
10117 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10119 PyObject
* obj0
= 0 ;
10120 char *kwnames
[] = {
10121 (char *) "self", NULL
10124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetPollingMax",kwnames
,&obj0
)) goto fail
;
10125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10129 result
= (int)(arg1
)->GetPollingMax();
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_FromInt((int)result
);
10141 static PyObject
*_wrap_Joystick_GetRudderMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
;
10143 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10145 PyObject
* obj0
= 0 ;
10146 char *kwnames
[] = {
10147 (char *) "self", NULL
10150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMin",kwnames
,&obj0
)) goto fail
;
10151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (int)(arg1
)->GetRudderMin();
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= SWIG_FromInt((int)result
);
10167 static PyObject
*_wrap_Joystick_GetRudderMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10168 PyObject
*resultobj
;
10169 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10171 PyObject
* obj0
= 0 ;
10172 char *kwnames
[] = {
10173 (char *) "self", NULL
10176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetRudderMax",kwnames
,&obj0
)) goto fail
;
10177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 result
= (int)(arg1
)->GetRudderMax();
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10186 resultobj
= SWIG_FromInt((int)result
);
10193 static PyObject
*_wrap_Joystick_GetUMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
;
10195 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10197 PyObject
* obj0
= 0 ;
10198 char *kwnames
[] = {
10199 (char *) "self", NULL
10202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMin",kwnames
,&obj0
)) goto fail
;
10203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 result
= (int)(arg1
)->GetUMin();
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_FromInt((int)result
);
10219 static PyObject
*_wrap_Joystick_GetUMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "self", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetUMax",kwnames
,&obj0
)) goto fail
;
10229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (int)(arg1
)->GetUMax();
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= SWIG_FromInt((int)result
);
10245 static PyObject
*_wrap_Joystick_GetVMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10249 PyObject
* obj0
= 0 ;
10250 char *kwnames
[] = {
10251 (char *) "self", NULL
10254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMin",kwnames
,&obj0
)) goto fail
;
10255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= (int)(arg1
)->GetVMin();
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= SWIG_FromInt((int)result
);
10271 static PyObject
*_wrap_Joystick_GetVMax(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
;
10273 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10275 PyObject
* obj0
= 0 ;
10276 char *kwnames
[] = {
10277 (char *) "self", NULL
10280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_GetVMax",kwnames
,&obj0
)) goto fail
;
10281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10285 result
= (int)(arg1
)->GetVMax();
10287 wxPyEndAllowThreads(__tstate
);
10288 if (PyErr_Occurred()) SWIG_fail
;
10290 resultobj
= SWIG_FromInt((int)result
);
10297 static PyObject
*_wrap_Joystick_HasRudder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10298 PyObject
*resultobj
;
10299 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10301 PyObject
* obj0
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasRudder",kwnames
,&obj0
)) goto fail
;
10307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (bool)(arg1
)->HasRudder();
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10323 static PyObject
*_wrap_Joystick_HasZ(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10324 PyObject
*resultobj
;
10325 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10327 PyObject
* obj0
= 0 ;
10328 char *kwnames
[] = {
10329 (char *) "self", NULL
10332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasZ",kwnames
,&obj0
)) goto fail
;
10333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10337 result
= (bool)(arg1
)->HasZ();
10339 wxPyEndAllowThreads(__tstate
);
10340 if (PyErr_Occurred()) SWIG_fail
;
10342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10349 static PyObject
*_wrap_Joystick_HasU(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10350 PyObject
*resultobj
;
10351 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10353 PyObject
* obj0
= 0 ;
10354 char *kwnames
[] = {
10355 (char *) "self", NULL
10358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasU",kwnames
,&obj0
)) goto fail
;
10359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10363 result
= (bool)(arg1
)->HasU();
10365 wxPyEndAllowThreads(__tstate
);
10366 if (PyErr_Occurred()) SWIG_fail
;
10368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10375 static PyObject
*_wrap_Joystick_HasV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10376 PyObject
*resultobj
;
10377 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10379 PyObject
* obj0
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasV",kwnames
,&obj0
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (bool)(arg1
)->HasV();
10391 wxPyEndAllowThreads(__tstate
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10401 static PyObject
*_wrap_Joystick_HasPOV(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10402 PyObject
*resultobj
;
10403 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10405 PyObject
* obj0
= 0 ;
10406 char *kwnames
[] = {
10407 (char *) "self", NULL
10410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV",kwnames
,&obj0
)) goto fail
;
10411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10415 result
= (bool)(arg1
)->HasPOV();
10417 wxPyEndAllowThreads(__tstate
);
10418 if (PyErr_Occurred()) SWIG_fail
;
10420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10427 static PyObject
*_wrap_Joystick_HasPOV4Dir(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10428 PyObject
*resultobj
;
10429 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10431 PyObject
* obj0
= 0 ;
10432 char *kwnames
[] = {
10433 (char *) "self", NULL
10436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOV4Dir",kwnames
,&obj0
)) goto fail
;
10437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10441 result
= (bool)(arg1
)->HasPOV4Dir();
10443 wxPyEndAllowThreads(__tstate
);
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10453 static PyObject
*_wrap_Joystick_HasPOVCTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10454 PyObject
*resultobj
;
10455 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10457 PyObject
* obj0
= 0 ;
10458 char *kwnames
[] = {
10459 (char *) "self", NULL
10462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_HasPOVCTS",kwnames
,&obj0
)) goto fail
;
10463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (bool)(arg1
)->HasPOVCTS();
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10479 static PyObject
*_wrap_Joystick_SetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10482 wxWindow
*arg2
= (wxWindow
*) 0 ;
10483 int arg3
= (int) 0 ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 PyObject
* obj2
= 0 ;
10488 char *kwnames
[] = {
10489 (char *) "self",(char *) "win",(char *) "pollingFreq", NULL
10492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Joystick_SetCapture",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
10496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10498 arg3
= (int) SWIG_AsInt(obj2
);
10499 if (PyErr_Occurred()) SWIG_fail
;
10502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10503 result
= (bool)(arg1
)->SetCapture(arg2
,arg3
);
10505 wxPyEndAllowThreads(__tstate
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10515 static PyObject
*_wrap_Joystick_ReleaseCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10516 PyObject
*resultobj
;
10517 wxJoystick
*arg1
= (wxJoystick
*) 0 ;
10519 PyObject
* obj0
= 0 ;
10520 char *kwnames
[] = {
10521 (char *) "self", NULL
10524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Joystick_ReleaseCapture",kwnames
,&obj0
)) goto fail
;
10525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystick
,
10526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10529 result
= (bool)(arg1
)->ReleaseCapture();
10531 wxPyEndAllowThreads(__tstate
);
10532 if (PyErr_Occurred()) SWIG_fail
;
10534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10541 static PyObject
* Joystick_swigregister(PyObject
*, PyObject
*args
) {
10543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10544 SWIG_TypeClientData(SWIGTYPE_p_wxJoystick
, obj
);
10546 return Py_BuildValue((char *)"");
10548 static PyObject
*_wrap_JoystickEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10549 PyObject
*resultobj
;
10550 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10551 wxPoint
*arg2
= (wxPoint
*) 0 ;
10552 PyObject
* obj0
= 0 ;
10553 PyObject
* obj1
= 0 ;
10554 char *kwnames
[] = {
10555 (char *) "self",(char *) "m_pos", NULL
10558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10561 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
10562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10563 if (arg1
) (arg1
)->m_pos
= *arg2
;
10565 Py_INCREF(Py_None
); resultobj
= Py_None
;
10572 static PyObject
*_wrap_JoystickEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
;
10574 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10576 PyObject
* obj0
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10584 result
= (wxPoint
*)& ((arg1
)->m_pos
);
10586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
10593 static PyObject
*_wrap_JoystickEvent_m_zPosition_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self",(char *) "m_zPosition", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_zPosition_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10606 arg2
= (int) SWIG_AsInt(obj1
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10608 if (arg1
) (arg1
)->m_zPosition
= arg2
;
10610 Py_INCREF(Py_None
); resultobj
= Py_None
;
10617 static PyObject
*_wrap_JoystickEvent_m_zPosition_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10618 PyObject
*resultobj
;
10619 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10621 PyObject
* obj0
= 0 ;
10622 char *kwnames
[] = {
10623 (char *) "self", NULL
10626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_zPosition_get",kwnames
,&obj0
)) goto fail
;
10627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10629 result
= (int) ((arg1
)->m_zPosition
);
10631 resultobj
= SWIG_FromInt((int)result
);
10638 static PyObject
*_wrap_JoystickEvent_m_buttonChange_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
;
10640 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self",(char *) "m_buttonChange", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonChange_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10651 arg2
= (int) SWIG_AsInt(obj1
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10653 if (arg1
) (arg1
)->m_buttonChange
= arg2
;
10655 Py_INCREF(Py_None
); resultobj
= Py_None
;
10662 static PyObject
*_wrap_JoystickEvent_m_buttonChange_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10663 PyObject
*resultobj
;
10664 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10666 PyObject
* obj0
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonChange_get",kwnames
,&obj0
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10674 result
= (int) ((arg1
)->m_buttonChange
);
10676 resultobj
= SWIG_FromInt((int)result
);
10683 static PyObject
*_wrap_JoystickEvent_m_buttonState_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self",(char *) "m_buttonState", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_buttonState_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10696 arg2
= (int) SWIG_AsInt(obj1
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10698 if (arg1
) (arg1
)->m_buttonState
= arg2
;
10700 Py_INCREF(Py_None
); resultobj
= Py_None
;
10707 static PyObject
*_wrap_JoystickEvent_m_buttonState_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10711 PyObject
* obj0
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "self", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_buttonState_get",kwnames
,&obj0
)) goto fail
;
10717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10719 result
= (int) ((arg1
)->m_buttonState
);
10721 resultobj
= SWIG_FromInt((int)result
);
10728 static PyObject
*_wrap_JoystickEvent_m_joyStick_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10729 PyObject
*resultobj
;
10730 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10732 PyObject
* obj0
= 0 ;
10733 PyObject
* obj1
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self",(char *) "m_joyStick", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_m_joyStick_set",kwnames
,&obj0
,&obj1
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10741 arg2
= (int) SWIG_AsInt(obj1
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10743 if (arg1
) (arg1
)->m_joyStick
= arg2
;
10745 Py_INCREF(Py_None
); resultobj
= Py_None
;
10752 static PyObject
*_wrap_JoystickEvent_m_joyStick_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10753 PyObject
*resultobj
;
10754 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10756 PyObject
* obj0
= 0 ;
10757 char *kwnames
[] = {
10758 (char *) "self", NULL
10761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_m_joyStick_get",kwnames
,&obj0
)) goto fail
;
10762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10764 result
= (int) ((arg1
)->m_joyStick
);
10766 resultobj
= SWIG_FromInt((int)result
);
10773 static PyObject
*_wrap_new_JoystickEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10776 int arg2
= (int) 0 ;
10777 int arg3
= (int) wxJOYSTICK1
;
10778 int arg4
= (int) 0 ;
10779 wxJoystickEvent
*result
;
10780 PyObject
* obj0
= 0 ;
10781 PyObject
* obj1
= 0 ;
10782 PyObject
* obj2
= 0 ;
10783 PyObject
* obj3
= 0 ;
10784 char *kwnames
[] = {
10785 (char *) "type",(char *) "state",(char *) "joystick",(char *) "change", NULL
10788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_JoystickEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10790 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10794 arg2
= (int) SWIG_AsInt(obj1
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10798 arg3
= (int) SWIG_AsInt(obj2
);
10799 if (PyErr_Occurred()) SWIG_fail
;
10802 arg4
= (int) SWIG_AsInt(obj3
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10807 result
= (wxJoystickEvent
*)new wxJoystickEvent(arg1
,arg2
,arg3
,arg4
);
10809 wxPyEndAllowThreads(__tstate
);
10810 if (PyErr_Occurred()) SWIG_fail
;
10812 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJoystickEvent
, 1);
10819 static PyObject
*_wrap_JoystickEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10820 PyObject
*resultobj
;
10821 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10823 PyObject
* obj0
= 0 ;
10824 char *kwnames
[] = {
10825 (char *) "self", NULL
10828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
10829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 result
= ((wxJoystickEvent
const *)arg1
)->GetPosition();
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10839 wxPoint
* resultptr
;
10840 resultptr
= new wxPoint((wxPoint
&) result
);
10841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
10849 static PyObject
*_wrap_JoystickEvent_GetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10853 PyObject
* obj0
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetZPosition",kwnames
,&obj0
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 result
= (int)((wxJoystickEvent
const *)arg1
)->GetZPosition();
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 resultobj
= SWIG_FromInt((int)result
);
10875 static PyObject
*_wrap_JoystickEvent_GetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10879 PyObject
* obj0
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonState",kwnames
,&obj0
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10889 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonState();
10891 wxPyEndAllowThreads(__tstate
);
10892 if (PyErr_Occurred()) SWIG_fail
;
10894 resultobj
= SWIG_FromInt((int)result
);
10901 static PyObject
*_wrap_JoystickEvent_GetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10902 PyObject
*resultobj
;
10903 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10905 PyObject
* obj0
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetButtonChange",kwnames
,&obj0
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10915 result
= (int)((wxJoystickEvent
const *)arg1
)->GetButtonChange();
10917 wxPyEndAllowThreads(__tstate
);
10918 if (PyErr_Occurred()) SWIG_fail
;
10920 resultobj
= SWIG_FromInt((int)result
);
10927 static PyObject
*_wrap_JoystickEvent_GetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10928 PyObject
*resultobj
;
10929 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10931 PyObject
* obj0
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_GetJoystick",kwnames
,&obj0
)) goto fail
;
10937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (int)((wxJoystickEvent
const *)arg1
)->GetJoystick();
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= SWIG_FromInt((int)result
);
10953 static PyObject
*_wrap_JoystickEvent_SetJoystick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10957 PyObject
* obj0
= 0 ;
10958 PyObject
* obj1
= 0 ;
10959 char *kwnames
[] = {
10960 (char *) "self",(char *) "stick", NULL
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetJoystick",kwnames
,&obj0
,&obj1
)) goto fail
;
10964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10966 arg2
= (int) SWIG_AsInt(obj1
);
10967 if (PyErr_Occurred()) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 (arg1
)->SetJoystick(arg2
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 Py_INCREF(Py_None
); resultobj
= Py_None
;
10982 static PyObject
*_wrap_JoystickEvent_SetButtonState(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 PyObject
* obj1
= 0 ;
10988 char *kwnames
[] = {
10989 (char *) "self",(char *) "state", NULL
10992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonState",kwnames
,&obj0
,&obj1
)) goto fail
;
10993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
10994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10995 arg2
= (int) SWIG_AsInt(obj1
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10999 (arg1
)->SetButtonState(arg2
);
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11004 Py_INCREF(Py_None
); resultobj
= Py_None
;
11011 static PyObject
*_wrap_JoystickEvent_SetButtonChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
;
11013 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11015 PyObject
* obj0
= 0 ;
11016 PyObject
* obj1
= 0 ;
11017 char *kwnames
[] = {
11018 (char *) "self",(char *) "change", NULL
11021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetButtonChange",kwnames
,&obj0
,&obj1
)) goto fail
;
11022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11024 arg2
= (int) SWIG_AsInt(obj1
);
11025 if (PyErr_Occurred()) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 (arg1
)->SetButtonChange(arg2
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11033 Py_INCREF(Py_None
); resultobj
= Py_None
;
11040 static PyObject
*_wrap_JoystickEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11043 wxPoint
*arg2
= 0 ;
11045 PyObject
* obj0
= 0 ;
11046 PyObject
* obj1
= 0 ;
11047 char *kwnames
[] = {
11048 (char *) "self",(char *) "pos", NULL
11051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11065 Py_INCREF(Py_None
); resultobj
= Py_None
;
11072 static PyObject
*_wrap_JoystickEvent_SetZPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11076 PyObject
* obj0
= 0 ;
11077 PyObject
* obj1
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "self",(char *) "zPos", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:JoystickEvent_SetZPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11085 arg2
= (int) SWIG_AsInt(obj1
);
11086 if (PyErr_Occurred()) SWIG_fail
;
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 (arg1
)->SetZPosition(arg2
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11094 Py_INCREF(Py_None
); resultobj
= Py_None
;
11101 static PyObject
*_wrap_JoystickEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
;
11103 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11105 PyObject
* obj0
= 0 ;
11106 char *kwnames
[] = {
11107 (char *) "self", NULL
11110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsButton();
11117 wxPyEndAllowThreads(__tstate
);
11118 if (PyErr_Occurred()) SWIG_fail
;
11120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11127 static PyObject
*_wrap_JoystickEvent_IsMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11128 PyObject
*resultobj
;
11129 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11131 PyObject
* obj0
= 0 ;
11132 char *kwnames
[] = {
11133 (char *) "self", NULL
11136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsMove",kwnames
,&obj0
)) goto fail
;
11137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11141 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsMove();
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11153 static PyObject
*_wrap_JoystickEvent_IsZMove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11154 PyObject
*resultobj
;
11155 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11157 PyObject
* obj0
= 0 ;
11158 char *kwnames
[] = {
11159 (char *) "self", NULL
11162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:JoystickEvent_IsZMove",kwnames
,&obj0
)) goto fail
;
11163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11167 result
= (bool)((wxJoystickEvent
const *)arg1
)->IsZMove();
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11179 static PyObject
*_wrap_JoystickEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
;
11181 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11182 int arg2
= (int) wxJOY_BUTTON_ANY
;
11184 PyObject
* obj0
= 0 ;
11185 PyObject
* obj1
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "self",(char *) "but", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11194 arg2
= (int) SWIG_AsInt(obj1
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11199 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonDown(arg2
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11211 static PyObject
*_wrap_JoystickEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
;
11213 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11214 int arg2
= (int) wxJOY_BUTTON_ANY
;
11216 PyObject
* obj0
= 0 ;
11217 PyObject
* obj1
= 0 ;
11218 char *kwnames
[] = {
11219 (char *) "self",(char *) "but", NULL
11222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
11223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11226 arg2
= (int) SWIG_AsInt(obj1
);
11227 if (PyErr_Occurred()) SWIG_fail
;
11230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11231 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonUp(arg2
);
11233 wxPyEndAllowThreads(__tstate
);
11234 if (PyErr_Occurred()) SWIG_fail
;
11236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11243 static PyObject
*_wrap_JoystickEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11244 PyObject
*resultobj
;
11245 wxJoystickEvent
*arg1
= (wxJoystickEvent
*) 0 ;
11246 int arg2
= (int) wxJOY_BUTTON_ANY
;
11248 PyObject
* obj0
= 0 ;
11249 PyObject
* obj1
= 0 ;
11250 char *kwnames
[] = {
11251 (char *) "self",(char *) "but", NULL
11254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:JoystickEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
11255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxJoystickEvent
,
11256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11258 arg2
= (int) SWIG_AsInt(obj1
);
11259 if (PyErr_Occurred()) SWIG_fail
;
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 result
= (bool)((wxJoystickEvent
const *)arg1
)->ButtonIsDown(arg2
);
11265 wxPyEndAllowThreads(__tstate
);
11266 if (PyErr_Occurred()) SWIG_fail
;
11268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11275 static PyObject
* JoystickEvent_swigregister(PyObject
*, PyObject
*args
) {
11277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11278 SWIG_TypeClientData(SWIGTYPE_p_wxJoystickEvent
, obj
);
11280 return Py_BuildValue((char *)"");
11282 static PyObject
*_wrap_new_Sound__SWIG_0(PyObject
*, PyObject
*args
) {
11283 PyObject
*resultobj
;
11286 if(!PyArg_ParseTuple(args
,(char *)":new_Sound")) goto fail
;
11288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11289 result
= (wxSound
*)new wxSound();
11291 wxPyEndAllowThreads(__tstate
);
11292 if (PyErr_Occurred()) SWIG_fail
;
11294 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11301 static PyObject
*_wrap_new_Sound__SWIG_1(PyObject
*, PyObject
*args
) {
11302 PyObject
*resultobj
;
11303 wxString
*arg1
= 0 ;
11304 bool arg2
= (bool) false ;
11306 bool temp1
= False
;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11310 if(!PyArg_ParseTuple(args
,(char *)"O|O:new_Sound",&obj0
,&obj1
)) goto fail
;
11312 arg1
= wxString_in_helper(obj0
);
11313 if (arg1
== NULL
) SWIG_fail
;
11317 arg2
= (bool) SWIG_AsBool(obj1
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (wxSound
*)new wxSound((wxString
const &)*arg1
,arg2
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11342 static PyObject
*_wrap_new_Sound__SWIG_2(PyObject
*, PyObject
*args
) {
11343 PyObject
*resultobj
;
11345 wxByte
*arg2
= (wxByte
*) 0 ;
11347 PyObject
* obj0
= 0 ;
11348 PyObject
* obj1
= 0 ;
11350 if(!PyArg_ParseTuple(args
,(char *)"OO:new_Sound",&obj0
,&obj1
)) goto fail
;
11351 arg1
= (int) SWIG_AsInt(obj0
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11353 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxByte
,
11354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11357 result
= (wxSound
*)new wxSound(arg1
,(wxByte
const *)arg2
);
11359 wxPyEndAllowThreads(__tstate
);
11360 if (PyErr_Occurred()) SWIG_fail
;
11362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSound
, 1);
11369 static PyObject
*_wrap_new_Sound(PyObject
*self
, PyObject
*args
) {
11374 argc
= PyObject_Length(args
);
11375 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
11376 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11379 return _wrap_new_Sound__SWIG_0(self
,args
);
11381 if ((argc
>= 1) && (argc
<= 2)) {
11384 _v
= PyString_Check(argv
[0]) || PyUnicode_Check(argv
[0]);
11388 return _wrap_new_Sound__SWIG_1(self
,args
);
11390 _v
= SWIG_CheckBool(argv
[1]);
11392 return _wrap_new_Sound__SWIG_1(self
,args
);
11398 _v
= SWIG_CheckInt(argv
[0]);
11402 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11410 return _wrap_new_Sound__SWIG_2(self
,args
);
11415 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'new_Sound'");
11420 static PyObject
*_wrap_delete_Sound(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11421 PyObject
*resultobj
;
11422 wxSound
*arg1
= (wxSound
*) 0 ;
11423 PyObject
* obj0
= 0 ;
11424 char *kwnames
[] = {
11425 (char *) "self", NULL
11428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Sound",kwnames
,&obj0
)) goto fail
;
11429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11435 wxPyEndAllowThreads(__tstate
);
11436 if (PyErr_Occurred()) SWIG_fail
;
11438 Py_INCREF(Py_None
); resultobj
= Py_None
;
11445 static PyObject
*_wrap_Sound_Create__SWIG_0(PyObject
*, PyObject
*args
) {
11446 PyObject
*resultobj
;
11447 wxSound
*arg1
= (wxSound
*) 0 ;
11448 wxString
*arg2
= 0 ;
11449 bool arg3
= (bool) false ;
11451 bool temp2
= False
;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 PyObject
* obj2
= 0 ;
11456 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11460 arg2
= wxString_in_helper(obj1
);
11461 if (arg2
== NULL
) SWIG_fail
;
11465 arg3
= (bool) SWIG_AsBool(obj2
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (bool)(arg1
)->Create((wxString
const &)*arg2
,arg3
);
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11490 static PyObject
*_wrap_Sound_Create__SWIG_1(PyObject
*, PyObject
*args
) {
11491 PyObject
*resultobj
;
11492 wxSound
*arg1
= (wxSound
*) 0 ;
11494 wxByte
*arg3
= (wxByte
*) 0 ;
11496 PyObject
* obj0
= 0 ;
11497 PyObject
* obj1
= 0 ;
11498 PyObject
* obj2
= 0 ;
11500 if(!PyArg_ParseTuple(args
,(char *)"OOO:Sound_Create",&obj0
,&obj1
,&obj2
)) goto fail
;
11501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11503 arg2
= (int) SWIG_AsInt(obj1
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11505 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxByte
,
11506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11509 result
= (bool)wxSound_Create__SWIG_1(arg1
,arg2
,(wxByte
const *)arg3
);
11511 wxPyEndAllowThreads(__tstate
);
11512 if (PyErr_Occurred()) SWIG_fail
;
11514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11521 static PyObject
*_wrap_Sound_Create(PyObject
*self
, PyObject
*args
) {
11526 argc
= PyObject_Length(args
);
11527 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
11528 argv
[ii
] = PyTuple_GetItem(args
,ii
);
11530 if ((argc
>= 2) && (argc
<= 3)) {
11534 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11543 _v
= PyString_Check(argv
[1]) || PyUnicode_Check(argv
[1]);
11547 return _wrap_Sound_Create__SWIG_0(self
,args
);
11549 _v
= SWIG_CheckBool(argv
[2]);
11551 return _wrap_Sound_Create__SWIG_0(self
,args
);
11560 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxSound
, 0) == -1) {
11568 _v
= SWIG_CheckInt(argv
[1]);
11572 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxByte
, 0) == -1) {
11580 return _wrap_Sound_Create__SWIG_1(self
,args
);
11586 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Sound_Create'");
11591 static PyObject
*_wrap_Sound_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
;
11593 wxSound
*arg1
= (wxSound
*) 0 ;
11595 PyObject
* obj0
= 0 ;
11596 char *kwnames
[] = {
11597 (char *) "self", NULL
11600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sound_IsOk",kwnames
,&obj0
)) goto fail
;
11601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11605 result
= (bool)(arg1
)->IsOk();
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11617 static PyObject
*_wrap_Sound_Play(PyObject
*, PyObject
*args
) {
11618 PyObject
*resultobj
;
11619 wxSound
*arg1
= (wxSound
*) 0 ;
11620 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11625 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_Play",&obj0
,&obj1
)) goto fail
;
11626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSound
,
11627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11629 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11634 result
= (bool)((wxSound
const *)arg1
)->Play(arg2
);
11636 wxPyEndAllowThreads(__tstate
);
11637 if (PyErr_Occurred()) SWIG_fail
;
11639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11646 static PyObject
*_wrap_Sound_PlaySound(PyObject
*, PyObject
*args
) {
11647 PyObject
*resultobj
;
11648 wxString
*arg1
= 0 ;
11649 unsigned int arg2
= (unsigned int) wxSOUND_ASYNC
;
11651 bool temp1
= False
;
11652 PyObject
* obj0
= 0 ;
11653 PyObject
* obj1
= 0 ;
11655 if(!PyArg_ParseTuple(args
,(char *)"O|O:Sound_PlaySound",&obj0
,&obj1
)) goto fail
;
11657 arg1
= wxString_in_helper(obj0
);
11658 if (arg1
== NULL
) SWIG_fail
;
11662 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
11663 if (PyErr_Occurred()) SWIG_fail
;
11666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11667 result
= (bool)wxSound::Play((wxString
const &)*arg1
,arg2
);
11669 wxPyEndAllowThreads(__tstate
);
11670 if (PyErr_Occurred()) SWIG_fail
;
11672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11687 static PyObject
*_wrap_Sound_Stop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 char *kwnames
[] = {
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Sound_Stop",kwnames
)) goto fail
;
11695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 wxPyEndAllowThreads(__tstate
);
11699 if (PyErr_Occurred()) SWIG_fail
;
11701 Py_INCREF(Py_None
); resultobj
= Py_None
;
11708 static PyObject
* Sound_swigregister(PyObject
*, PyObject
*args
) {
11710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11711 SWIG_TypeClientData(SWIGTYPE_p_wxSound
, obj
);
11713 return Py_BuildValue((char *)"");
11715 static PyObject
*_wrap_new_FileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11716 PyObject
*resultobj
;
11717 wxString
*arg1
= 0 ;
11718 wxString
*arg2
= 0 ;
11719 wxString
*arg3
= 0 ;
11720 wxString
*arg4
= 0 ;
11721 wxFileTypeInfo
*result
;
11722 bool temp1
= False
;
11723 bool temp2
= False
;
11724 bool temp3
= False
;
11725 bool temp4
= False
;
11726 PyObject
* obj0
= 0 ;
11727 PyObject
* obj1
= 0 ;
11728 PyObject
* obj2
= 0 ;
11729 PyObject
* obj3
= 0 ;
11730 char *kwnames
[] = {
11731 (char *) "mimeType",(char *) "openCmd",(char *) "printCmd",(char *) "desc", NULL
11734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:new_FileTypeInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11736 arg1
= wxString_in_helper(obj0
);
11737 if (arg1
== NULL
) SWIG_fail
;
11741 arg2
= wxString_in_helper(obj1
);
11742 if (arg2
== NULL
) SWIG_fail
;
11746 arg3
= wxString_in_helper(obj2
);
11747 if (arg3
== NULL
) SWIG_fail
;
11751 arg4
= wxString_in_helper(obj3
);
11752 if (arg4
== NULL
) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11801 static PyObject
*_wrap_new_FileTypeInfoSequence(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11802 PyObject
*resultobj
;
11803 wxArrayString
*arg1
= 0 ;
11804 wxFileTypeInfo
*result
;
11805 bool temp1
= False
;
11806 PyObject
* obj0
= 0 ;
11807 char *kwnames
[] = {
11808 (char *) "sArray", NULL
11811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileTypeInfoSequence",kwnames
,&obj0
)) goto fail
;
11813 if (! PySequence_Check(obj0
)) {
11814 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
11817 arg1
= new wxArrayString
;
11819 int i
, len
=PySequence_Length(obj0
);
11820 for (i
=0; i
<len
; i
++) {
11821 PyObject
* item
= PySequence_GetItem(obj0
, i
);
11823 PyObject
* str
= PyObject_Unicode(item
);
11825 PyObject
* str
= PyObject_Str(item
);
11827 arg1
->Add(Py2wxString(str
));
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 result
= (wxFileTypeInfo
*)new wxFileTypeInfo((wxArrayString
const &)*arg1
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11841 if (temp1
) delete arg1
;
11846 if (temp1
) delete arg1
;
11852 static PyObject
*_wrap_new_NullFileTypeInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
;
11854 wxFileTypeInfo
*result
;
11855 char *kwnames
[] = {
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NullFileTypeInfo",kwnames
)) goto fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (wxFileTypeInfo
*)new wxFileTypeInfo();
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileTypeInfo
, 1);
11874 static PyObject
*_wrap_FileTypeInfo_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11878 PyObject
* obj0
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_IsValid",kwnames
,&obj0
)) goto fail
;
11884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (bool)((wxFileTypeInfo
const *)arg1
)->IsValid();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11900 static PyObject
*_wrap_FileTypeInfo_SetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11903 wxString
*arg2
= 0 ;
11904 int arg3
= (int) 0 ;
11905 bool temp2
= False
;
11906 PyObject
* obj0
= 0 ;
11907 PyObject
* obj1
= 0 ;
11908 PyObject
* obj2
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "iconFile",(char *) "iconIndex", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileTypeInfo_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
11914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11917 arg2
= wxString_in_helper(obj1
);
11918 if (arg2
== NULL
) SWIG_fail
;
11922 arg3
= (int) SWIG_AsInt(obj2
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11927 (arg1
)->SetIcon((wxString
const &)*arg2
,arg3
);
11929 wxPyEndAllowThreads(__tstate
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11932 Py_INCREF(Py_None
); resultobj
= Py_None
;
11947 static PyObject
*_wrap_FileTypeInfo_SetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11948 PyObject
*resultobj
;
11949 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11950 wxString
*arg2
= 0 ;
11951 bool temp2
= False
;
11952 PyObject
* obj0
= 0 ;
11953 PyObject
* obj1
= 0 ;
11954 char *kwnames
[] = {
11955 (char *) "self",(char *) "shortDesc", NULL
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileTypeInfo_SetShortDesc",kwnames
,&obj0
,&obj1
)) goto fail
;
11959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11962 arg2
= wxString_in_helper(obj1
);
11963 if (arg2
== NULL
) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->SetShortDesc((wxString
const &)*arg2
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 Py_INCREF(Py_None
); resultobj
= Py_None
;
11988 static PyObject
*_wrap_FileTypeInfo_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
;
11990 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
11992 PyObject
* obj0
= 0 ;
11993 char *kwnames
[] = {
11994 (char *) "self", NULL
11997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetMimeType",kwnames
,&obj0
)) goto fail
;
11998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
11999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12003 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetMimeType();
12004 result
= (wxString
*) &_result_ref
;
12007 wxPyEndAllowThreads(__tstate
);
12008 if (PyErr_Occurred()) SWIG_fail
;
12012 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12014 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12023 static PyObject
*_wrap_FileTypeInfo_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12027 PyObject
* obj0
= 0 ;
12028 char *kwnames
[] = {
12029 (char *) "self", NULL
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetOpenCommand",kwnames
,&obj0
)) goto fail
;
12033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetOpenCommand();
12039 result
= (wxString
*) &_result_ref
;
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12049 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12058 static PyObject
*_wrap_FileTypeInfo_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetPrintCommand",kwnames
,&obj0
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetPrintCommand();
12074 result
= (wxString
*) &_result_ref
;
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12082 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12084 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12093 static PyObject
*_wrap_FileTypeInfo_GetShortDesc(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12094 PyObject
*resultobj
;
12095 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12097 PyObject
* obj0
= 0 ;
12098 char *kwnames
[] = {
12099 (char *) "self", NULL
12102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetShortDesc",kwnames
,&obj0
)) goto fail
;
12103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetShortDesc();
12109 result
= (wxString
*) &_result_ref
;
12112 wxPyEndAllowThreads(__tstate
);
12113 if (PyErr_Occurred()) SWIG_fail
;
12117 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12119 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12128 static PyObject
*_wrap_FileTypeInfo_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12129 PyObject
*resultobj
;
12130 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12132 PyObject
* obj0
= 0 ;
12133 char *kwnames
[] = {
12134 (char *) "self", NULL
12137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetDescription",kwnames
,&obj0
)) goto fail
;
12138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetDescription();
12144 result
= (wxString
*) &_result_ref
;
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12152 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12154 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12163 static PyObject
*_wrap_FileTypeInfo_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12166 wxArrayString
*result
;
12167 PyObject
* obj0
= 0 ;
12168 char *kwnames
[] = {
12169 (char *) "self", NULL
12172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensions",kwnames
,&obj0
)) goto fail
;
12173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 wxArrayString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetExtensions();
12179 result
= (wxArrayString
*) &_result_ref
;
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= wxArrayString2PyList_helper(*result
);
12194 static PyObject
*_wrap_FileTypeInfo_GetExtensionsCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12198 PyObject
* obj0
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetExtensionsCount",kwnames
,&obj0
)) goto fail
;
12204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetExtensionsCount();
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= SWIG_FromInt((int)result
);
12220 static PyObject
*_wrap_FileTypeInfo_GetIconFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12224 PyObject
* obj0
= 0 ;
12225 char *kwnames
[] = {
12226 (char *) "self", NULL
12229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconFile",kwnames
,&obj0
)) goto fail
;
12230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 wxString
const &_result_ref
= ((wxFileTypeInfo
const *)arg1
)->GetIconFile();
12236 result
= (wxString
*) &_result_ref
;
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12244 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
12246 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
12255 static PyObject
*_wrap_FileTypeInfo_GetIconIndex(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12256 PyObject
*resultobj
;
12257 wxFileTypeInfo
*arg1
= (wxFileTypeInfo
*) 0 ;
12259 PyObject
* obj0
= 0 ;
12260 char *kwnames
[] = {
12261 (char *) "self", NULL
12264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileTypeInfo_GetIconIndex",kwnames
,&obj0
)) goto fail
;
12265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (int)((wxFileTypeInfo
const *)arg1
)->GetIconIndex();
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= SWIG_FromInt((int)result
);
12281 static PyObject
* FileTypeInfo_swigregister(PyObject
*, PyObject
*args
) {
12283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12284 SWIG_TypeClientData(SWIGTYPE_p_wxFileTypeInfo
, obj
);
12286 return Py_BuildValue((char *)"");
12288 static PyObject
*_wrap_new_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12289 PyObject
*resultobj
;
12290 wxFileTypeInfo
*arg1
= 0 ;
12291 wxFileType
*result
;
12292 PyObject
* obj0
= 0 ;
12293 char *kwnames
[] = {
12294 (char *) "ftInfo", NULL
12297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_FileType",kwnames
,&obj0
)) goto fail
;
12298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileTypeInfo
,
12299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12301 if (arg1
== NULL
) {
12302 PyErr_SetString(PyExc_TypeError
,"null reference");
12306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12307 result
= (wxFileType
*)new wxFileType((wxFileTypeInfo
const &)*arg1
);
12309 wxPyEndAllowThreads(__tstate
);
12310 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
12319 static PyObject
*_wrap_delete_FileType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12320 PyObject
*resultobj
;
12321 wxFileType
*arg1
= (wxFileType
*) 0 ;
12322 PyObject
* obj0
= 0 ;
12323 char *kwnames
[] = {
12324 (char *) "self", NULL
12327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileType",kwnames
,&obj0
)) goto fail
;
12328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12334 wxPyEndAllowThreads(__tstate
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12337 Py_INCREF(Py_None
); resultobj
= Py_None
;
12344 static PyObject
*_wrap_FileType_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12345 PyObject
*resultobj
;
12346 wxFileType
*arg1
= (wxFileType
*) 0 ;
12348 PyObject
* obj0
= 0 ;
12349 char *kwnames
[] = {
12350 (char *) "self", NULL
12353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeType",kwnames
,&obj0
)) goto fail
;
12354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 result
= (PyObject
*)wxFileType_GetMimeType(arg1
);
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 resultobj
= result
;
12370 static PyObject
*_wrap_FileType_GetMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12371 PyObject
*resultobj
;
12372 wxFileType
*arg1
= (wxFileType
*) 0 ;
12374 PyObject
* obj0
= 0 ;
12375 char *kwnames
[] = {
12376 (char *) "self", NULL
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetMimeTypes",kwnames
,&obj0
)) goto fail
;
12380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= (PyObject
*)wxFileType_GetMimeTypes(arg1
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= result
;
12396 static PyObject
*_wrap_FileType_GetExtensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12397 PyObject
*resultobj
;
12398 wxFileType
*arg1
= (wxFileType
*) 0 ;
12400 PyObject
* obj0
= 0 ;
12401 char *kwnames
[] = {
12402 (char *) "self", NULL
12405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetExtensions",kwnames
,&obj0
)) goto fail
;
12406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (PyObject
*)wxFileType_GetExtensions(arg1
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= result
;
12422 static PyObject
*_wrap_FileType_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxFileType
*arg1
= (wxFileType
*) 0 ;
12426 PyObject
* obj0
= 0 ;
12427 char *kwnames
[] = {
12428 (char *) "self", NULL
12431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIcon",kwnames
,&obj0
)) goto fail
;
12432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12436 result
= (wxIcon
*)wxFileType_GetIcon(arg1
);
12438 wxPyEndAllowThreads(__tstate
);
12439 if (PyErr_Occurred()) SWIG_fail
;
12441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIcon
, 1);
12448 static PyObject
*_wrap_FileType_GetIconInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12449 PyObject
*resultobj
;
12450 wxFileType
*arg1
= (wxFileType
*) 0 ;
12452 PyObject
* obj0
= 0 ;
12453 char *kwnames
[] = {
12454 (char *) "self", NULL
12457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetIconInfo",kwnames
,&obj0
)) goto fail
;
12458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (PyObject
*)wxFileType_GetIconInfo(arg1
);
12464 wxPyEndAllowThreads(__tstate
);
12465 if (PyErr_Occurred()) SWIG_fail
;
12467 resultobj
= result
;
12474 static PyObject
*_wrap_FileType_GetDescription(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxFileType
*arg1
= (wxFileType
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_GetDescription",kwnames
,&obj0
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (PyObject
*)wxFileType_GetDescription(arg1
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= result
;
12500 static PyObject
*_wrap_FileType_GetOpenCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxFileType
*arg1
= (wxFileType
*) 0 ;
12503 wxString
*arg2
= 0 ;
12504 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12505 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12507 bool temp2
= False
;
12508 bool temp3
= False
;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 PyObject
* obj2
= 0 ;
12512 char *kwnames
[] = {
12513 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetOpenCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12520 arg2
= wxString_in_helper(obj1
);
12521 if (arg2
== NULL
) SWIG_fail
;
12526 arg3
= wxString_in_helper(obj2
);
12527 if (arg3
== NULL
) SWIG_fail
;
12532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12533 result
= (PyObject
*)wxFileType_GetOpenCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12535 wxPyEndAllowThreads(__tstate
);
12536 if (PyErr_Occurred()) SWIG_fail
;
12538 resultobj
= result
;
12561 static PyObject
*_wrap_FileType_GetPrintCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
;
12563 wxFileType
*arg1
= (wxFileType
*) 0 ;
12564 wxString
*arg2
= 0 ;
12565 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12566 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12568 bool temp2
= False
;
12569 bool temp3
= False
;
12570 PyObject
* obj0
= 0 ;
12571 PyObject
* obj1
= 0 ;
12572 PyObject
* obj2
= 0 ;
12573 char *kwnames
[] = {
12574 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetPrintCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12581 arg2
= wxString_in_helper(obj1
);
12582 if (arg2
== NULL
) SWIG_fail
;
12587 arg3
= wxString_in_helper(obj2
);
12588 if (arg3
== NULL
) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= (PyObject
*)wxFileType_GetPrintCommand(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= result
;
12622 static PyObject
*_wrap_FileType_GetAllCommands(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12623 PyObject
*resultobj
;
12624 wxFileType
*arg1
= (wxFileType
*) 0 ;
12625 wxString
*arg2
= 0 ;
12626 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12627 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12629 bool temp2
= False
;
12630 bool temp3
= False
;
12631 PyObject
* obj0
= 0 ;
12632 PyObject
* obj1
= 0 ;
12633 PyObject
* obj2
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "self",(char *) "filename",(char *) "mimetype", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_GetAllCommands",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12642 arg2
= wxString_in_helper(obj1
);
12643 if (arg2
== NULL
) SWIG_fail
;
12648 arg3
= wxString_in_helper(obj2
);
12649 if (arg3
== NULL
) SWIG_fail
;
12654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12655 result
= (PyObject
*)wxFileType_GetAllCommands(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12657 wxPyEndAllowThreads(__tstate
);
12658 if (PyErr_Occurred()) SWIG_fail
;
12660 resultobj
= result
;
12683 static PyObject
*_wrap_FileType_SetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxFileType
*arg1
= (wxFileType
*) 0 ;
12686 wxString
*arg2
= 0 ;
12687 wxString
*arg3
= 0 ;
12688 bool arg4
= (bool) True
;
12690 bool temp2
= False
;
12691 bool temp3
= False
;
12692 PyObject
* obj0
= 0 ;
12693 PyObject
* obj1
= 0 ;
12694 PyObject
* obj2
= 0 ;
12695 PyObject
* obj3
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self",(char *) "cmd",(char *) "verb",(char *) "overwriteprompt", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:FileType_SetCommand",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12704 arg2
= wxString_in_helper(obj1
);
12705 if (arg2
== NULL
) SWIG_fail
;
12709 arg3
= wxString_in_helper(obj2
);
12710 if (arg3
== NULL
) SWIG_fail
;
12714 arg4
= (bool) SWIG_AsBool(obj3
);
12715 if (PyErr_Occurred()) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 result
= (bool)(arg1
)->SetCommand((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12747 static PyObject
*_wrap_FileType_SetDefaultIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12748 PyObject
*resultobj
;
12749 wxFileType
*arg1
= (wxFileType
*) 0 ;
12750 wxString
const &arg2_defvalue
= wxPyEmptyString
;
12751 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
12752 int arg3
= (int) 0 ;
12754 bool temp2
= False
;
12755 PyObject
* obj0
= 0 ;
12756 PyObject
* obj1
= 0 ;
12757 PyObject
* obj2
= 0 ;
12758 char *kwnames
[] = {
12759 (char *) "self",(char *) "cmd",(char *) "index", NULL
12762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:FileType_SetDefaultIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 arg2
= wxString_in_helper(obj1
);
12768 if (arg2
== NULL
) SWIG_fail
;
12773 arg3
= (int) SWIG_AsInt(obj2
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12778 result
= (bool)(arg1
)->SetDefaultIcon((wxString
const &)*arg2
,arg3
);
12780 wxPyEndAllowThreads(__tstate
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12798 static PyObject
*_wrap_FileType_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxFileType
*arg1
= (wxFileType
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileType_Unassociate",kwnames
,&obj0
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileType
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (bool)(arg1
)->Unassociate();
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12824 static PyObject
*_wrap_FileType_ExpandCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxString
*arg1
= 0 ;
12827 wxString
*arg2
= 0 ;
12828 wxString
const &arg3_defvalue
= wxPyEmptyString
;
12829 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
12831 bool temp1
= False
;
12832 bool temp2
= False
;
12833 bool temp3
= False
;
12834 PyObject
* obj0
= 0 ;
12835 PyObject
* obj1
= 0 ;
12836 PyObject
* obj2
= 0 ;
12837 char *kwnames
[] = {
12838 (char *) "command",(char *) "filename",(char *) "mimetype", NULL
12841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileType_ExpandCommand",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
12843 arg1
= wxString_in_helper(obj0
);
12844 if (arg1
== NULL
) SWIG_fail
;
12848 arg2
= wxString_in_helper(obj1
);
12849 if (arg2
== NULL
) SWIG_fail
;
12854 arg3
= wxString_in_helper(obj2
);
12855 if (arg3
== NULL
) SWIG_fail
;
12860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12861 result
= FileType_ExpandCommand((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
);
12863 wxPyEndAllowThreads(__tstate
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12903 static PyObject
* FileType_swigregister(PyObject
*, PyObject
*args
) {
12905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12906 SWIG_TypeClientData(SWIGTYPE_p_wxFileType
, obj
);
12908 return Py_BuildValue((char *)"");
12910 static int _wrap_TheMimeTypesManager_set(PyObject
*) {
12911 PyErr_SetString(PyExc_TypeError
,"Variable TheMimeTypesManager is read-only.");
12916 static PyObject
*_wrap_TheMimeTypesManager_get() {
12919 pyobj
= SWIG_NewPointerObj((void *)(wxTheMimeTypesManager
), SWIGTYPE_p_wxMimeTypesManager
, 0);
12924 static PyObject
*_wrap_MimeTypesManager_IsOfType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12925 PyObject
*resultobj
;
12926 wxString
*arg1
= 0 ;
12927 wxString
*arg2
= 0 ;
12929 bool temp1
= False
;
12930 bool temp2
= False
;
12931 PyObject
* obj0
= 0 ;
12932 PyObject
* obj1
= 0 ;
12933 char *kwnames
[] = {
12934 (char *) "mimeType",(char *) "wildcard", NULL
12937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_IsOfType",kwnames
,&obj0
,&obj1
)) goto fail
;
12939 arg1
= wxString_in_helper(obj0
);
12940 if (arg1
== NULL
) SWIG_fail
;
12944 arg2
= wxString_in_helper(obj1
);
12945 if (arg2
== NULL
) SWIG_fail
;
12949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12950 result
= (bool)wxMimeTypesManager::IsOfType((wxString
const &)*arg1
,(wxString
const &)*arg2
);
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12978 static PyObject
*_wrap_new_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
;
12980 wxMimeTypesManager
*result
;
12981 char *kwnames
[] = {
12985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MimeTypesManager",kwnames
)) goto fail
;
12987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12988 result
= (wxMimeTypesManager
*)new wxMimeTypesManager();
12990 wxPyEndAllowThreads(__tstate
);
12991 if (PyErr_Occurred()) SWIG_fail
;
12993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMimeTypesManager
, 1);
13000 static PyObject
*_wrap_MimeTypesManager_Initialize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13001 PyObject
*resultobj
;
13002 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13003 int arg2
= (int) wxMAILCAP_ALL
;
13004 wxString
const &arg3_defvalue
= wxPyEmptyString
;
13005 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
13006 bool temp3
= False
;
13007 PyObject
* obj0
= 0 ;
13008 PyObject
* obj1
= 0 ;
13009 PyObject
* obj2
= 0 ;
13010 char *kwnames
[] = {
13011 (char *) "self",(char *) "mailcapStyle",(char *) "extraDir", NULL
13014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:MimeTypesManager_Initialize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13018 arg2
= (int) SWIG_AsInt(obj1
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13023 arg3
= wxString_in_helper(obj2
);
13024 if (arg3
== NULL
) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 (arg1
)->Initialize(arg2
,(wxString
const &)*arg3
);
13032 wxPyEndAllowThreads(__tstate
);
13033 if (PyErr_Occurred()) SWIG_fail
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13050 static PyObject
*_wrap_MimeTypesManager_ClearData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13051 PyObject
*resultobj
;
13052 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13053 PyObject
* obj0
= 0 ;
13054 char *kwnames
[] = {
13055 (char *) "self", NULL
13058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_ClearData",kwnames
,&obj0
)) goto fail
;
13059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13063 (arg1
)->ClearData();
13065 wxPyEndAllowThreads(__tstate
);
13066 if (PyErr_Occurred()) SWIG_fail
;
13068 Py_INCREF(Py_None
); resultobj
= Py_None
;
13075 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13076 PyObject
*resultobj
;
13077 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13078 wxString
*arg2
= 0 ;
13079 wxFileType
*result
;
13080 bool temp2
= False
;
13081 PyObject
* obj0
= 0 ;
13082 PyObject
* obj1
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self",(char *) "ext", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 arg2
= wxString_in_helper(obj1
);
13092 if (arg2
== NULL
) SWIG_fail
;
13096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13097 result
= (wxFileType
*)(arg1
)->GetFileTypeFromExtension((wxString
const &)*arg2
);
13099 wxPyEndAllowThreads(__tstate
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13117 static PyObject
*_wrap_MimeTypesManager_GetFileTypeFromMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13118 PyObject
*resultobj
;
13119 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13120 wxString
*arg2
= 0 ;
13121 wxFileType
*result
;
13122 bool temp2
= False
;
13123 PyObject
* obj0
= 0 ;
13124 PyObject
* obj1
= 0 ;
13125 char *kwnames
[] = {
13126 (char *) "self",(char *) "mimeType", NULL
13129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_GetFileTypeFromMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
13130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13133 arg2
= wxString_in_helper(obj1
);
13134 if (arg2
== NULL
) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (wxFileType
*)(arg1
)->GetFileTypeFromMimeType((wxString
const &)*arg2
);
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13159 static PyObject
*_wrap_MimeTypesManager_ReadMailcap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13160 PyObject
*resultobj
;
13161 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13162 wxString
*arg2
= 0 ;
13163 bool arg3
= (bool) False
;
13165 bool temp2
= False
;
13166 PyObject
* obj0
= 0 ;
13167 PyObject
* obj1
= 0 ;
13168 PyObject
* obj2
= 0 ;
13169 char *kwnames
[] = {
13170 (char *) "self",(char *) "filename",(char *) "fallback", NULL
13173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MimeTypesManager_ReadMailcap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13177 arg2
= wxString_in_helper(obj1
);
13178 if (arg2
== NULL
) SWIG_fail
;
13182 arg3
= (bool) SWIG_AsBool(obj2
);
13183 if (PyErr_Occurred()) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 result
= (bool)(arg1
)->ReadMailcap((wxString
const &)*arg2
,arg3
);
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13207 static PyObject
*_wrap_MimeTypesManager_ReadMimeTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13210 wxString
*arg2
= 0 ;
13212 bool temp2
= False
;
13213 PyObject
* obj0
= 0 ;
13214 PyObject
* obj1
= 0 ;
13215 char *kwnames
[] = {
13216 (char *) "self",(char *) "filename", NULL
13219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_ReadMimeTypes",kwnames
,&obj0
,&obj1
)) goto fail
;
13220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13223 arg2
= wxString_in_helper(obj1
);
13224 if (arg2
== NULL
) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13229 result
= (bool)(arg1
)->ReadMimeTypes((wxString
const &)*arg2
);
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13249 static PyObject
*_wrap_MimeTypesManager_EnumAllFileTypes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MimeTypesManager_EnumAllFileTypes",kwnames
,&obj0
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (PyObject
*)wxMimeTypesManager_EnumAllFileTypes(arg1
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= result
;
13275 static PyObject
*_wrap_MimeTypesManager_AddFallback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13278 wxFileTypeInfo
*arg2
= 0 ;
13279 PyObject
* obj0
= 0 ;
13280 PyObject
* obj1
= 0 ;
13281 char *kwnames
[] = {
13282 (char *) "self",(char *) "ft", NULL
13285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_AddFallback",kwnames
,&obj0
,&obj1
)) goto fail
;
13286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13289 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13291 if (arg2
== NULL
) {
13292 PyErr_SetString(PyExc_TypeError
,"null reference");
13296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13297 (arg1
)->AddFallback((wxFileTypeInfo
const &)*arg2
);
13299 wxPyEndAllowThreads(__tstate
);
13300 if (PyErr_Occurred()) SWIG_fail
;
13302 Py_INCREF(Py_None
); resultobj
= Py_None
;
13309 static PyObject
*_wrap_MimeTypesManager_Associate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13310 PyObject
*resultobj
;
13311 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13312 wxFileTypeInfo
*arg2
= 0 ;
13313 wxFileType
*result
;
13314 PyObject
* obj0
= 0 ;
13315 PyObject
* obj1
= 0 ;
13316 char *kwnames
[] = {
13317 (char *) "self",(char *) "ftInfo", NULL
13320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Associate",kwnames
,&obj0
,&obj1
)) goto fail
;
13321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileTypeInfo
,
13324 SWIG_POINTER_EXCEPTION
| 0)) == -1)
13326 if (arg2
== NULL
) {
13327 PyErr_SetString(PyExc_TypeError
,"null reference");
13331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13332 result
= (wxFileType
*)(arg1
)->Associate((wxFileTypeInfo
const &)*arg2
);
13334 wxPyEndAllowThreads(__tstate
);
13335 if (PyErr_Occurred()) SWIG_fail
;
13337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileType
, 1);
13344 static PyObject
*_wrap_MimeTypesManager_Unassociate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13345 PyObject
*resultobj
;
13346 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13347 wxFileType
*arg2
= (wxFileType
*) 0 ;
13349 PyObject
* obj0
= 0 ;
13350 PyObject
* obj1
= 0 ;
13351 char *kwnames
[] = {
13352 (char *) "self",(char *) "ft", NULL
13355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MimeTypesManager_Unassociate",kwnames
,&obj0
,&obj1
)) goto fail
;
13356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13358 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileType
,
13359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13362 result
= (bool)(arg1
)->Unassociate(arg2
);
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13374 static PyObject
*_wrap_delete_MimeTypesManager(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13375 PyObject
*resultobj
;
13376 wxMimeTypesManager
*arg1
= (wxMimeTypesManager
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 char *kwnames
[] = {
13379 (char *) "self", NULL
13382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_MimeTypesManager",kwnames
,&obj0
)) goto fail
;
13383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMimeTypesManager
,
13384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 Py_INCREF(Py_None
); resultobj
= Py_None
;
13399 static PyObject
* MimeTypesManager_swigregister(PyObject
*, PyObject
*args
) {
13401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13402 SWIG_TypeClientData(SWIGTYPE_p_wxMimeTypesManager
, obj
);
13404 return Py_BuildValue((char *)"");
13406 static int _wrap_ART_TOOLBAR_set(PyObject
*) {
13407 PyErr_SetString(PyExc_TypeError
,"Variable ART_TOOLBAR is read-only.");
13412 static PyObject
*_wrap_ART_TOOLBAR_get() {
13417 pyobj
= PyUnicode_FromWideChar((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13419 pyobj
= PyString_FromStringAndSize((&wxPyART_TOOLBAR
)->c_str(), (&wxPyART_TOOLBAR
)->Len());
13426 static int _wrap_ART_MENU_set(PyObject
*) {
13427 PyErr_SetString(PyExc_TypeError
,"Variable ART_MENU is read-only.");
13432 static PyObject
*_wrap_ART_MENU_get() {
13437 pyobj
= PyUnicode_FromWideChar((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13439 pyobj
= PyString_FromStringAndSize((&wxPyART_MENU
)->c_str(), (&wxPyART_MENU
)->Len());
13446 static int _wrap_ART_FRAME_ICON_set(PyObject
*) {
13447 PyErr_SetString(PyExc_TypeError
,"Variable ART_FRAME_ICON is read-only.");
13452 static PyObject
*_wrap_ART_FRAME_ICON_get() {
13457 pyobj
= PyUnicode_FromWideChar((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13459 pyobj
= PyString_FromStringAndSize((&wxPyART_FRAME_ICON
)->c_str(), (&wxPyART_FRAME_ICON
)->Len());
13466 static int _wrap_ART_CMN_DIALOG_set(PyObject
*) {
13467 PyErr_SetString(PyExc_TypeError
,"Variable ART_CMN_DIALOG is read-only.");
13472 static PyObject
*_wrap_ART_CMN_DIALOG_get() {
13477 pyobj
= PyUnicode_FromWideChar((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13479 pyobj
= PyString_FromStringAndSize((&wxPyART_CMN_DIALOG
)->c_str(), (&wxPyART_CMN_DIALOG
)->Len());
13486 static int _wrap_ART_HELP_BROWSER_set(PyObject
*) {
13487 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BROWSER is read-only.");
13492 static PyObject
*_wrap_ART_HELP_BROWSER_get() {
13497 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13499 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BROWSER
)->c_str(), (&wxPyART_HELP_BROWSER
)->Len());
13506 static int _wrap_ART_MESSAGE_BOX_set(PyObject
*) {
13507 PyErr_SetString(PyExc_TypeError
,"Variable ART_MESSAGE_BOX is read-only.");
13512 static PyObject
*_wrap_ART_MESSAGE_BOX_get() {
13517 pyobj
= PyUnicode_FromWideChar((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13519 pyobj
= PyString_FromStringAndSize((&wxPyART_MESSAGE_BOX
)->c_str(), (&wxPyART_MESSAGE_BOX
)->Len());
13526 static int _wrap_ART_OTHER_set(PyObject
*) {
13527 PyErr_SetString(PyExc_TypeError
,"Variable ART_OTHER is read-only.");
13532 static PyObject
*_wrap_ART_OTHER_get() {
13537 pyobj
= PyUnicode_FromWideChar((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13539 pyobj
= PyString_FromStringAndSize((&wxPyART_OTHER
)->c_str(), (&wxPyART_OTHER
)->Len());
13546 static int _wrap_ART_ADD_BOOKMARK_set(PyObject
*) {
13547 PyErr_SetString(PyExc_TypeError
,"Variable ART_ADD_BOOKMARK is read-only.");
13552 static PyObject
*_wrap_ART_ADD_BOOKMARK_get() {
13557 pyobj
= PyUnicode_FromWideChar((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13559 pyobj
= PyString_FromStringAndSize((&wxPyART_ADD_BOOKMARK
)->c_str(), (&wxPyART_ADD_BOOKMARK
)->Len());
13566 static int _wrap_ART_DEL_BOOKMARK_set(PyObject
*) {
13567 PyErr_SetString(PyExc_TypeError
,"Variable ART_DEL_BOOKMARK is read-only.");
13572 static PyObject
*_wrap_ART_DEL_BOOKMARK_get() {
13577 pyobj
= PyUnicode_FromWideChar((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13579 pyobj
= PyString_FromStringAndSize((&wxPyART_DEL_BOOKMARK
)->c_str(), (&wxPyART_DEL_BOOKMARK
)->Len());
13586 static int _wrap_ART_HELP_SIDE_PANEL_set(PyObject
*) {
13587 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SIDE_PANEL is read-only.");
13592 static PyObject
*_wrap_ART_HELP_SIDE_PANEL_get() {
13597 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13599 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SIDE_PANEL
)->c_str(), (&wxPyART_HELP_SIDE_PANEL
)->Len());
13606 static int _wrap_ART_HELP_SETTINGS_set(PyObject
*) {
13607 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_SETTINGS is read-only.");
13612 static PyObject
*_wrap_ART_HELP_SETTINGS_get() {
13617 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13619 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_SETTINGS
)->c_str(), (&wxPyART_HELP_SETTINGS
)->Len());
13626 static int _wrap_ART_HELP_BOOK_set(PyObject
*) {
13627 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_BOOK is read-only.");
13632 static PyObject
*_wrap_ART_HELP_BOOK_get() {
13637 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13639 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_BOOK
)->c_str(), (&wxPyART_HELP_BOOK
)->Len());
13646 static int _wrap_ART_HELP_FOLDER_set(PyObject
*) {
13647 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_FOLDER is read-only.");
13652 static PyObject
*_wrap_ART_HELP_FOLDER_get() {
13657 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13659 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_FOLDER
)->c_str(), (&wxPyART_HELP_FOLDER
)->Len());
13666 static int _wrap_ART_HELP_PAGE_set(PyObject
*) {
13667 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP_PAGE is read-only.");
13672 static PyObject
*_wrap_ART_HELP_PAGE_get() {
13677 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13679 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP_PAGE
)->c_str(), (&wxPyART_HELP_PAGE
)->Len());
13686 static int _wrap_ART_GO_BACK_set(PyObject
*) {
13687 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_BACK is read-only.");
13692 static PyObject
*_wrap_ART_GO_BACK_get() {
13697 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13699 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_BACK
)->c_str(), (&wxPyART_GO_BACK
)->Len());
13706 static int _wrap_ART_GO_FORWARD_set(PyObject
*) {
13707 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_FORWARD is read-only.");
13712 static PyObject
*_wrap_ART_GO_FORWARD_get() {
13717 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13719 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_FORWARD
)->c_str(), (&wxPyART_GO_FORWARD
)->Len());
13726 static int _wrap_ART_GO_UP_set(PyObject
*) {
13727 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_UP is read-only.");
13732 static PyObject
*_wrap_ART_GO_UP_get() {
13737 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13739 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_UP
)->c_str(), (&wxPyART_GO_UP
)->Len());
13746 static int _wrap_ART_GO_DOWN_set(PyObject
*) {
13747 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DOWN is read-only.");
13752 static PyObject
*_wrap_ART_GO_DOWN_get() {
13757 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13759 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DOWN
)->c_str(), (&wxPyART_GO_DOWN
)->Len());
13766 static int _wrap_ART_GO_TO_PARENT_set(PyObject
*) {
13767 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_TO_PARENT is read-only.");
13772 static PyObject
*_wrap_ART_GO_TO_PARENT_get() {
13777 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13779 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_TO_PARENT
)->c_str(), (&wxPyART_GO_TO_PARENT
)->Len());
13786 static int _wrap_ART_GO_HOME_set(PyObject
*) {
13787 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_HOME is read-only.");
13792 static PyObject
*_wrap_ART_GO_HOME_get() {
13797 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13799 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_HOME
)->c_str(), (&wxPyART_GO_HOME
)->Len());
13806 static int _wrap_ART_FILE_OPEN_set(PyObject
*) {
13807 PyErr_SetString(PyExc_TypeError
,"Variable ART_FILE_OPEN is read-only.");
13812 static PyObject
*_wrap_ART_FILE_OPEN_get() {
13817 pyobj
= PyUnicode_FromWideChar((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13819 pyobj
= PyString_FromStringAndSize((&wxPyART_FILE_OPEN
)->c_str(), (&wxPyART_FILE_OPEN
)->Len());
13826 static int _wrap_ART_PRINT_set(PyObject
*) {
13827 PyErr_SetString(PyExc_TypeError
,"Variable ART_PRINT is read-only.");
13832 static PyObject
*_wrap_ART_PRINT_get() {
13837 pyobj
= PyUnicode_FromWideChar((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13839 pyobj
= PyString_FromStringAndSize((&wxPyART_PRINT
)->c_str(), (&wxPyART_PRINT
)->Len());
13846 static int _wrap_ART_HELP_set(PyObject
*) {
13847 PyErr_SetString(PyExc_TypeError
,"Variable ART_HELP is read-only.");
13852 static PyObject
*_wrap_ART_HELP_get() {
13857 pyobj
= PyUnicode_FromWideChar((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13859 pyobj
= PyString_FromStringAndSize((&wxPyART_HELP
)->c_str(), (&wxPyART_HELP
)->Len());
13866 static int _wrap_ART_TIP_set(PyObject
*) {
13867 PyErr_SetString(PyExc_TypeError
,"Variable ART_TIP is read-only.");
13872 static PyObject
*_wrap_ART_TIP_get() {
13877 pyobj
= PyUnicode_FromWideChar((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13879 pyobj
= PyString_FromStringAndSize((&wxPyART_TIP
)->c_str(), (&wxPyART_TIP
)->Len());
13886 static int _wrap_ART_REPORT_VIEW_set(PyObject
*) {
13887 PyErr_SetString(PyExc_TypeError
,"Variable ART_REPORT_VIEW is read-only.");
13892 static PyObject
*_wrap_ART_REPORT_VIEW_get() {
13897 pyobj
= PyUnicode_FromWideChar((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13899 pyobj
= PyString_FromStringAndSize((&wxPyART_REPORT_VIEW
)->c_str(), (&wxPyART_REPORT_VIEW
)->Len());
13906 static int _wrap_ART_LIST_VIEW_set(PyObject
*) {
13907 PyErr_SetString(PyExc_TypeError
,"Variable ART_LIST_VIEW is read-only.");
13912 static PyObject
*_wrap_ART_LIST_VIEW_get() {
13917 pyobj
= PyUnicode_FromWideChar((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13919 pyobj
= PyString_FromStringAndSize((&wxPyART_LIST_VIEW
)->c_str(), (&wxPyART_LIST_VIEW
)->Len());
13926 static int _wrap_ART_NEW_DIR_set(PyObject
*) {
13927 PyErr_SetString(PyExc_TypeError
,"Variable ART_NEW_DIR is read-only.");
13932 static PyObject
*_wrap_ART_NEW_DIR_get() {
13937 pyobj
= PyUnicode_FromWideChar((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13939 pyobj
= PyString_FromStringAndSize((&wxPyART_NEW_DIR
)->c_str(), (&wxPyART_NEW_DIR
)->Len());
13946 static int _wrap_ART_FOLDER_set(PyObject
*) {
13947 PyErr_SetString(PyExc_TypeError
,"Variable ART_FOLDER is read-only.");
13952 static PyObject
*_wrap_ART_FOLDER_get() {
13957 pyobj
= PyUnicode_FromWideChar((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13959 pyobj
= PyString_FromStringAndSize((&wxPyART_FOLDER
)->c_str(), (&wxPyART_FOLDER
)->Len());
13966 static int _wrap_ART_GO_DIR_UP_set(PyObject
*) {
13967 PyErr_SetString(PyExc_TypeError
,"Variable ART_GO_DIR_UP is read-only.");
13972 static PyObject
*_wrap_ART_GO_DIR_UP_get() {
13977 pyobj
= PyUnicode_FromWideChar((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13979 pyobj
= PyString_FromStringAndSize((&wxPyART_GO_DIR_UP
)->c_str(), (&wxPyART_GO_DIR_UP
)->Len());
13986 static int _wrap_ART_EXECUTABLE_FILE_set(PyObject
*) {
13987 PyErr_SetString(PyExc_TypeError
,"Variable ART_EXECUTABLE_FILE is read-only.");
13992 static PyObject
*_wrap_ART_EXECUTABLE_FILE_get() {
13997 pyobj
= PyUnicode_FromWideChar((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
13999 pyobj
= PyString_FromStringAndSize((&wxPyART_EXECUTABLE_FILE
)->c_str(), (&wxPyART_EXECUTABLE_FILE
)->Len());
14006 static int _wrap_ART_NORMAL_FILE_set(PyObject
*) {
14007 PyErr_SetString(PyExc_TypeError
,"Variable ART_NORMAL_FILE is read-only.");
14012 static PyObject
*_wrap_ART_NORMAL_FILE_get() {
14017 pyobj
= PyUnicode_FromWideChar((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14019 pyobj
= PyString_FromStringAndSize((&wxPyART_NORMAL_FILE
)->c_str(), (&wxPyART_NORMAL_FILE
)->Len());
14026 static int _wrap_ART_TICK_MARK_set(PyObject
*) {
14027 PyErr_SetString(PyExc_TypeError
,"Variable ART_TICK_MARK is read-only.");
14032 static PyObject
*_wrap_ART_TICK_MARK_get() {
14037 pyobj
= PyUnicode_FromWideChar((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14039 pyobj
= PyString_FromStringAndSize((&wxPyART_TICK_MARK
)->c_str(), (&wxPyART_TICK_MARK
)->Len());
14046 static int _wrap_ART_CROSS_MARK_set(PyObject
*) {
14047 PyErr_SetString(PyExc_TypeError
,"Variable ART_CROSS_MARK is read-only.");
14052 static PyObject
*_wrap_ART_CROSS_MARK_get() {
14057 pyobj
= PyUnicode_FromWideChar((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14059 pyobj
= PyString_FromStringAndSize((&wxPyART_CROSS_MARK
)->c_str(), (&wxPyART_CROSS_MARK
)->Len());
14066 static int _wrap_ART_ERROR_set(PyObject
*) {
14067 PyErr_SetString(PyExc_TypeError
,"Variable ART_ERROR is read-only.");
14072 static PyObject
*_wrap_ART_ERROR_get() {
14077 pyobj
= PyUnicode_FromWideChar((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14079 pyobj
= PyString_FromStringAndSize((&wxPyART_ERROR
)->c_str(), (&wxPyART_ERROR
)->Len());
14086 static int _wrap_ART_QUESTION_set(PyObject
*) {
14087 PyErr_SetString(PyExc_TypeError
,"Variable ART_QUESTION is read-only.");
14092 static PyObject
*_wrap_ART_QUESTION_get() {
14097 pyobj
= PyUnicode_FromWideChar((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14099 pyobj
= PyString_FromStringAndSize((&wxPyART_QUESTION
)->c_str(), (&wxPyART_QUESTION
)->Len());
14106 static int _wrap_ART_WARNING_set(PyObject
*) {
14107 PyErr_SetString(PyExc_TypeError
,"Variable ART_WARNING is read-only.");
14112 static PyObject
*_wrap_ART_WARNING_get() {
14117 pyobj
= PyUnicode_FromWideChar((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14119 pyobj
= PyString_FromStringAndSize((&wxPyART_WARNING
)->c_str(), (&wxPyART_WARNING
)->Len());
14126 static int _wrap_ART_INFORMATION_set(PyObject
*) {
14127 PyErr_SetString(PyExc_TypeError
,"Variable ART_INFORMATION is read-only.");
14132 static PyObject
*_wrap_ART_INFORMATION_get() {
14137 pyobj
= PyUnicode_FromWideChar((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14139 pyobj
= PyString_FromStringAndSize((&wxPyART_INFORMATION
)->c_str(), (&wxPyART_INFORMATION
)->Len());
14146 static int _wrap_ART_MISSING_IMAGE_set(PyObject
*) {
14147 PyErr_SetString(PyExc_TypeError
,"Variable ART_MISSING_IMAGE is read-only.");
14152 static PyObject
*_wrap_ART_MISSING_IMAGE_get() {
14157 pyobj
= PyUnicode_FromWideChar((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14159 pyobj
= PyString_FromStringAndSize((&wxPyART_MISSING_IMAGE
)->c_str(), (&wxPyART_MISSING_IMAGE
)->Len());
14166 static PyObject
*_wrap_new_ArtProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14167 PyObject
*resultobj
;
14168 wxPyArtProvider
*result
;
14169 char *kwnames
[] = {
14173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ArtProvider",kwnames
)) goto fail
;
14175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14176 result
= (wxPyArtProvider
*)new wxPyArtProvider();
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyArtProvider
, 1);
14188 static PyObject
*_wrap_ArtProvider__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14189 PyObject
*resultobj
;
14190 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14191 PyObject
*arg2
= (PyObject
*) 0 ;
14192 PyObject
*arg3
= (PyObject
*) 0 ;
14193 PyObject
* obj0
= 0 ;
14194 PyObject
* obj1
= 0 ;
14195 PyObject
* obj2
= 0 ;
14196 char *kwnames
[] = {
14197 (char *) "self",(char *) "self",(char *) "_class", NULL
14200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ArtProvider__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14207 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 Py_INCREF(Py_None
); resultobj
= Py_None
;
14219 static PyObject
*_wrap_ArtProvider_PushProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
;
14221 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14222 PyObject
* obj0
= 0 ;
14223 char *kwnames
[] = {
14224 (char *) "provider", NULL
14227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_PushProvider",kwnames
,&obj0
)) goto fail
;
14228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14232 wxPyArtProvider::PushProvider(arg1
);
14234 wxPyEndAllowThreads(__tstate
);
14235 if (PyErr_Occurred()) SWIG_fail
;
14237 Py_INCREF(Py_None
); resultobj
= Py_None
;
14244 static PyObject
*_wrap_ArtProvider_PopProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14247 char *kwnames
[] = {
14251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ArtProvider_PopProvider",kwnames
)) goto fail
;
14253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14254 result
= (bool)wxPyArtProvider::PopProvider();
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14266 static PyObject
*_wrap_ArtProvider_RemoveProvider(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
;
14268 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14270 PyObject
* obj0
= 0 ;
14271 char *kwnames
[] = {
14272 (char *) "provider", NULL
14275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_RemoveProvider",kwnames
,&obj0
)) goto fail
;
14276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14280 result
= (bool)wxPyArtProvider::RemoveProvider(arg1
);
14282 wxPyEndAllowThreads(__tstate
);
14283 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14292 static PyObject
*_wrap_ArtProvider_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14293 PyObject
*resultobj
;
14294 wxString
*arg1
= 0 ;
14295 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14296 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14297 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14298 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14300 bool temp1
= False
;
14301 bool temp2
= False
;
14303 PyObject
* obj0
= 0 ;
14304 PyObject
* obj1
= 0 ;
14305 PyObject
* obj2
= 0 ;
14306 char *kwnames
[] = {
14307 (char *) "id",(char *) "client",(char *) "size", NULL
14310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14312 arg1
= wxString_in_helper(obj0
);
14313 if (arg1
== NULL
) SWIG_fail
;
14318 arg2
= wxString_in_helper(obj1
);
14319 if (arg2
== NULL
) SWIG_fail
;
14326 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= wxPyArtProvider::GetBitmap((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14333 wxPyEndAllowThreads(__tstate
);
14334 if (PyErr_Occurred()) SWIG_fail
;
14337 wxBitmap
* resultptr
;
14338 resultptr
= new wxBitmap((wxBitmap
&) result
);
14339 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
14363 static PyObject
*_wrap_ArtProvider_GetIcon(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14364 PyObject
*resultobj
;
14365 wxString
*arg1
= 0 ;
14366 wxString
const &arg2_defvalue
= wxPyART_OTHER
;
14367 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
14368 wxSize
const &arg3_defvalue
= wxDefaultSize
;
14369 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
14371 bool temp1
= False
;
14372 bool temp2
= False
;
14374 PyObject
* obj0
= 0 ;
14375 PyObject
* obj1
= 0 ;
14376 PyObject
* obj2
= 0 ;
14377 char *kwnames
[] = {
14378 (char *) "id",(char *) "client",(char *) "size", NULL
14381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:ArtProvider_GetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
14383 arg1
= wxString_in_helper(obj0
);
14384 if (arg1
== NULL
) SWIG_fail
;
14389 arg2
= wxString_in_helper(obj1
);
14390 if (arg2
== NULL
) SWIG_fail
;
14397 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= wxPyArtProvider::GetIcon((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxSize
const &)*arg3
);
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14408 wxIcon
* resultptr
;
14409 resultptr
= new wxIcon((wxIcon
&) result
);
14410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxIcon
, 1);
14434 static PyObject
*_wrap_ArtProvider_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14435 PyObject
*resultobj
;
14436 wxPyArtProvider
*arg1
= (wxPyArtProvider
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ArtProvider_Destroy",kwnames
,&obj0
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyArtProvider
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 wxPyArtProvider_Destroy(arg1
);
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14452 Py_INCREF(Py_None
); resultobj
= Py_None
;
14459 static PyObject
* ArtProvider_swigregister(PyObject
*, PyObject
*args
) {
14461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14462 SWIG_TypeClientData(SWIGTYPE_p_wxPyArtProvider
, obj
);
14464 return Py_BuildValue((char *)"");
14466 static PyObject
*_wrap_delete_ConfigBase(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14469 PyObject
* obj0
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigBase",kwnames
,&obj0
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14484 Py_INCREF(Py_None
); resultobj
= Py_None
;
14491 static PyObject
*_wrap_ConfigBase_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14494 wxConfigBase
*result
;
14495 PyObject
* obj0
= 0 ;
14496 char *kwnames
[] = {
14497 (char *) "config", NULL
14500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_Set",kwnames
,&obj0
)) goto fail
;
14501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14505 result
= (wxConfigBase
*)wxConfigBase::Set(arg1
);
14507 wxPyEndAllowThreads(__tstate
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14517 static PyObject
*_wrap_ConfigBase_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14518 PyObject
*resultobj
;
14519 bool arg1
= (bool) True
;
14520 wxConfigBase
*result
;
14521 PyObject
* obj0
= 0 ;
14522 char *kwnames
[] = {
14523 (char *) "createOnDemand", NULL
14526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ConfigBase_Get",kwnames
,&obj0
)) goto fail
;
14528 arg1
= (bool) SWIG_AsBool(obj0
);
14529 if (PyErr_Occurred()) SWIG_fail
;
14532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14533 result
= (wxConfigBase
*)wxConfigBase::Get(arg1
);
14535 wxPyEndAllowThreads(__tstate
);
14536 if (PyErr_Occurred()) SWIG_fail
;
14538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14545 static PyObject
*_wrap_ConfigBase_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14546 PyObject
*resultobj
;
14547 wxConfigBase
*result
;
14548 char *kwnames
[] = {
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_Create",kwnames
)) goto fail
;
14554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14555 result
= (wxConfigBase
*)wxConfigBase::Create();
14557 wxPyEndAllowThreads(__tstate
);
14558 if (PyErr_Occurred()) SWIG_fail
;
14560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigBase
, 0);
14567 static PyObject
*_wrap_ConfigBase_DontCreateOnDemand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 char *kwnames
[] = {
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":ConfigBase_DontCreateOnDemand",kwnames
)) goto fail
;
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 wxConfigBase::DontCreateOnDemand();
14578 wxPyEndAllowThreads(__tstate
);
14579 if (PyErr_Occurred()) SWIG_fail
;
14581 Py_INCREF(Py_None
); resultobj
= Py_None
;
14588 static PyObject
*_wrap_ConfigBase_SetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14591 wxString
*arg2
= 0 ;
14592 bool temp2
= False
;
14593 PyObject
* obj0
= 0 ;
14594 PyObject
* obj1
= 0 ;
14595 char *kwnames
[] = {
14596 (char *) "self",(char *) "path", NULL
14599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetPath",kwnames
,&obj0
,&obj1
)) goto fail
;
14600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14603 arg2
= wxString_in_helper(obj1
);
14604 if (arg2
== NULL
) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 (arg1
)->SetPath((wxString
const &)*arg2
);
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 Py_INCREF(Py_None
); resultobj
= Py_None
;
14629 static PyObject
*_wrap_ConfigBase_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
;
14631 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14633 PyObject
* obj0
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetPath",kwnames
,&obj0
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14644 wxString
const &_result_ref
= ((wxConfigBase
const *)arg1
)->GetPath();
14645 result
= (wxString
*) &_result_ref
;
14648 wxPyEndAllowThreads(__tstate
);
14649 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
14655 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
14664 static PyObject
*_wrap_ConfigBase_GetFirstGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 char *kwnames
[] = {
14670 (char *) "self", NULL
14673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstGroup",kwnames
,&obj0
)) goto fail
;
14674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14678 result
= (PyObject
*)wxConfigBase_GetFirstGroup(arg1
);
14680 wxPyEndAllowThreads(__tstate
);
14681 if (PyErr_Occurred()) SWIG_fail
;
14683 resultobj
= result
;
14690 static PyObject
*_wrap_ConfigBase_GetNextGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14691 PyObject
*resultobj
;
14692 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14695 PyObject
* obj0
= 0 ;
14696 PyObject
* obj1
= 0 ;
14697 char *kwnames
[] = {
14698 (char *) "self",(char *) "index", NULL
14701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14704 arg2
= (long) SWIG_AsLong(obj1
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14708 result
= (PyObject
*)wxConfigBase_GetNextGroup(arg1
,arg2
);
14710 wxPyEndAllowThreads(__tstate
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14713 resultobj
= result
;
14720 static PyObject
*_wrap_ConfigBase_GetFirstEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14721 PyObject
*resultobj
;
14722 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14724 PyObject
* obj0
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetFirstEntry",kwnames
,&obj0
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14734 result
= (PyObject
*)wxConfigBase_GetFirstEntry(arg1
);
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= result
;
14746 static PyObject
*_wrap_ConfigBase_GetNextEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14751 PyObject
* obj0
= 0 ;
14752 PyObject
* obj1
= 0 ;
14753 char *kwnames
[] = {
14754 (char *) "self",(char *) "index", NULL
14757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetNextEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14760 arg2
= (long) SWIG_AsLong(obj1
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (PyObject
*)wxConfigBase_GetNextEntry(arg1
,arg2
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= result
;
14776 static PyObject
*_wrap_ConfigBase_GetNumberOfEntries(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14779 bool arg2
= (bool) False
;
14781 PyObject
* obj0
= 0 ;
14782 PyObject
* obj1
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self",(char *) "recursive", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfEntries",kwnames
,&obj0
,&obj1
)) goto fail
;
14788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14791 arg2
= (bool) SWIG_AsBool(obj1
);
14792 if (PyErr_Occurred()) SWIG_fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfEntries(arg2
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14808 static PyObject
*_wrap_ConfigBase_GetNumberOfGroups(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14809 PyObject
*resultobj
;
14810 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14811 bool arg2
= (bool) False
;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "self",(char *) "recursive", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_GetNumberOfGroups",kwnames
,&obj0
,&obj1
)) goto fail
;
14820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14823 arg2
= (bool) SWIG_AsBool(obj1
);
14824 if (PyErr_Occurred()) SWIG_fail
;
14827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14828 result
= (size_t)((wxConfigBase
const *)arg1
)->GetNumberOfGroups(arg2
);
14830 wxPyEndAllowThreads(__tstate
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14833 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
14840 static PyObject
*_wrap_ConfigBase_HasGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14843 wxString
*arg2
= 0 ;
14845 bool temp2
= False
;
14846 PyObject
* obj0
= 0 ;
14847 PyObject
* obj1
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self",(char *) "name", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
14853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14856 arg2
= wxString_in_helper(obj1
);
14857 if (arg2
== NULL
) SWIG_fail
;
14861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14862 result
= (bool)((wxConfigBase
const *)arg1
)->HasGroup((wxString
const &)*arg2
);
14864 wxPyEndAllowThreads(__tstate
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14882 static PyObject
*_wrap_ConfigBase_HasEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14883 PyObject
*resultobj
;
14884 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14885 wxString
*arg2
= 0 ;
14887 bool temp2
= False
;
14888 PyObject
* obj0
= 0 ;
14889 PyObject
* obj1
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "self",(char *) "name", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_HasEntry",kwnames
,&obj0
,&obj1
)) goto fail
;
14895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 arg2
= wxString_in_helper(obj1
);
14899 if (arg2
== NULL
) SWIG_fail
;
14903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14904 result
= (bool)((wxConfigBase
const *)arg1
)->HasEntry((wxString
const &)*arg2
);
14906 wxPyEndAllowThreads(__tstate
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14924 static PyObject
*_wrap_ConfigBase_Exists(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14927 wxString
*arg2
= 0 ;
14929 bool temp2
= False
;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 char *kwnames
[] = {
14933 (char *) "self",(char *) "name", NULL
14936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_Exists",kwnames
,&obj0
,&obj1
)) goto fail
;
14937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14940 arg2
= wxString_in_helper(obj1
);
14941 if (arg2
== NULL
) SWIG_fail
;
14945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14946 result
= (bool)((wxConfigBase
const *)arg1
)->Exists((wxString
const &)*arg2
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14966 static PyObject
*_wrap_ConfigBase_GetEntryType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14967 PyObject
*resultobj
;
14968 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
14969 wxString
*arg2
= 0 ;
14971 bool temp2
= False
;
14972 PyObject
* obj0
= 0 ;
14973 PyObject
* obj1
= 0 ;
14974 char *kwnames
[] = {
14975 (char *) "self",(char *) "name", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_GetEntryType",kwnames
,&obj0
,&obj1
)) goto fail
;
14979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
14980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14982 arg2
= wxString_in_helper(obj1
);
14983 if (arg2
== NULL
) SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 result
= (int)((wxConfigBase
const *)arg1
)->GetEntryType((wxString
const &)*arg2
);
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= SWIG_FromInt((int)result
);
15008 static PyObject
*_wrap_ConfigBase_Read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
;
15010 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15011 wxString
*arg2
= 0 ;
15012 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15013 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15015 bool temp2
= False
;
15016 bool temp3
= False
;
15017 PyObject
* obj0
= 0 ;
15018 PyObject
* obj1
= 0 ;
15019 PyObject
* obj2
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_Read",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15028 arg2
= wxString_in_helper(obj1
);
15029 if (arg2
== NULL
) SWIG_fail
;
15034 arg3
= wxString_in_helper(obj2
);
15035 if (arg3
== NULL
) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= (arg1
)->Read((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15050 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15075 static PyObject
*_wrap_ConfigBase_ReadInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15076 PyObject
*resultobj
;
15077 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15078 wxString
*arg2
= 0 ;
15079 long arg3
= (long) 0 ;
15081 bool temp2
= False
;
15082 PyObject
* obj0
= 0 ;
15083 PyObject
* obj1
= 0 ;
15084 PyObject
* obj2
= 0 ;
15085 char *kwnames
[] = {
15086 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15093 arg2
= wxString_in_helper(obj1
);
15094 if (arg2
== NULL
) SWIG_fail
;
15098 arg3
= (long) SWIG_AsLong(obj2
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (long)wxConfigBase_ReadInt(arg1
,(wxString
const &)*arg2
,arg3
);
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_FromLong((long)result
);
15123 static PyObject
*_wrap_ConfigBase_ReadFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15126 wxString
*arg2
= 0 ;
15127 double arg3
= (double) 0.0 ;
15129 bool temp2
= False
;
15130 PyObject
* obj0
= 0 ;
15131 PyObject
* obj1
= 0 ;
15132 PyObject
* obj2
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 arg2
= wxString_in_helper(obj1
);
15142 if (arg2
== NULL
) SWIG_fail
;
15146 arg3
= (double) SWIG_AsDouble(obj2
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (double)wxConfigBase_ReadFloat(arg1
,(wxString
const &)*arg2
,arg3
);
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= SWIG_FromDouble((double)result
);
15171 static PyObject
*_wrap_ConfigBase_ReadBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
;
15173 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15174 wxString
*arg2
= 0 ;
15175 bool arg3
= (bool) False
;
15177 bool temp2
= False
;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 PyObject
* obj2
= 0 ;
15181 char *kwnames
[] = {
15182 (char *) "self",(char *) "key",(char *) "defaultVal", NULL
15185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_ReadBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15189 arg2
= wxString_in_helper(obj1
);
15190 if (arg2
== NULL
) SWIG_fail
;
15194 arg3
= (bool) SWIG_AsBool(obj2
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15199 result
= (bool)wxConfigBase_ReadBool(arg1
,(wxString
const &)*arg2
,arg3
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15219 static PyObject
*_wrap_ConfigBase_Write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15220 PyObject
*resultobj
;
15221 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15222 wxString
*arg2
= 0 ;
15223 wxString
*arg3
= 0 ;
15225 bool temp2
= False
;
15226 bool temp3
= False
;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 PyObject
* obj2
= 0 ;
15230 char *kwnames
[] = {
15231 (char *) "self",(char *) "key",(char *) "value", NULL
15234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_Write",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15238 arg2
= wxString_in_helper(obj1
);
15239 if (arg2
== NULL
) SWIG_fail
;
15243 arg3
= wxString_in_helper(obj2
);
15244 if (arg3
== NULL
) SWIG_fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15277 static PyObject
*_wrap_ConfigBase_WriteInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15278 PyObject
*resultobj
;
15279 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15280 wxString
*arg2
= 0 ;
15283 bool temp2
= False
;
15284 PyObject
* obj0
= 0 ;
15285 PyObject
* obj1
= 0 ;
15286 PyObject
* obj2
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self",(char *) "key",(char *) "value", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15295 arg2
= wxString_in_helper(obj1
);
15296 if (arg2
== NULL
) SWIG_fail
;
15299 arg3
= (long) SWIG_AsLong(obj2
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15303 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15305 wxPyEndAllowThreads(__tstate
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15323 static PyObject
*_wrap_ConfigBase_WriteFloat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15326 wxString
*arg2
= 0 ;
15329 bool temp2
= False
;
15330 PyObject
* obj0
= 0 ;
15331 PyObject
* obj1
= 0 ;
15332 PyObject
* obj2
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self",(char *) "key",(char *) "value", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteFloat",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15341 arg2
= wxString_in_helper(obj1
);
15342 if (arg2
== NULL
) SWIG_fail
;
15345 arg3
= (double) SWIG_AsDouble(obj2
);
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15369 static PyObject
*_wrap_ConfigBase_WriteBool(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15370 PyObject
*resultobj
;
15371 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15372 wxString
*arg2
= 0 ;
15375 bool temp2
= False
;
15376 PyObject
* obj0
= 0 ;
15377 PyObject
* obj1
= 0 ;
15378 PyObject
* obj2
= 0 ;
15379 char *kwnames
[] = {
15380 (char *) "self",(char *) "key",(char *) "value", NULL
15383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_WriteBool",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15387 arg2
= wxString_in_helper(obj1
);
15388 if (arg2
== NULL
) SWIG_fail
;
15391 arg3
= (bool) SWIG_AsBool(obj2
);
15392 if (PyErr_Occurred()) SWIG_fail
;
15394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15395 result
= (bool)(arg1
)->Write((wxString
const &)*arg2
,arg3
);
15397 wxPyEndAllowThreads(__tstate
);
15398 if (PyErr_Occurred()) SWIG_fail
;
15400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15415 static PyObject
*_wrap_ConfigBase_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
;
15417 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15418 bool arg2
= (bool) False
;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self",(char *) "currentOnly", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_Flush",kwnames
,&obj0
,&obj1
)) goto fail
;
15427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15430 arg2
= (bool) SWIG_AsBool(obj1
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (bool)(arg1
)->Flush(arg2
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15447 static PyObject
*_wrap_ConfigBase_RenameEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15450 wxString
*arg2
= 0 ;
15451 wxString
*arg3
= 0 ;
15453 bool temp2
= False
;
15454 bool temp3
= False
;
15455 PyObject
* obj0
= 0 ;
15456 PyObject
* obj1
= 0 ;
15457 PyObject
* obj2
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15466 arg2
= wxString_in_helper(obj1
);
15467 if (arg2
== NULL
) SWIG_fail
;
15471 arg3
= wxString_in_helper(obj2
);
15472 if (arg3
== NULL
) SWIG_fail
;
15476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15477 result
= (bool)(arg1
)->RenameEntry((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15479 wxPyEndAllowThreads(__tstate
);
15480 if (PyErr_Occurred()) SWIG_fail
;
15482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15505 static PyObject
*_wrap_ConfigBase_RenameGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15508 wxString
*arg2
= 0 ;
15509 wxString
*arg3
= 0 ;
15511 bool temp2
= False
;
15512 bool temp3
= False
;
15513 PyObject
* obj0
= 0 ;
15514 PyObject
* obj1
= 0 ;
15515 PyObject
* obj2
= 0 ;
15516 char *kwnames
[] = {
15517 (char *) "self",(char *) "oldName",(char *) "newName", NULL
15520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ConfigBase_RenameGroup",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15524 arg2
= wxString_in_helper(obj1
);
15525 if (arg2
== NULL
) SWIG_fail
;
15529 arg3
= wxString_in_helper(obj2
);
15530 if (arg3
== NULL
) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 result
= (bool)(arg1
)->RenameGroup((wxString
const &)*arg2
,(wxString
const &)*arg3
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15563 static PyObject
*_wrap_ConfigBase_DeleteEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15566 wxString
*arg2
= 0 ;
15567 bool arg3
= (bool) True
;
15569 bool temp2
= False
;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 PyObject
* obj2
= 0 ;
15573 char *kwnames
[] = {
15574 (char *) "self",(char *) "key",(char *) "deleteGroupIfEmpty", NULL
15577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ConfigBase_DeleteEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
15578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15581 arg2
= wxString_in_helper(obj1
);
15582 if (arg2
== NULL
) SWIG_fail
;
15586 arg3
= (bool) SWIG_AsBool(obj2
);
15587 if (PyErr_Occurred()) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (bool)(arg1
)->DeleteEntry((wxString
const &)*arg2
,arg3
);
15593 wxPyEndAllowThreads(__tstate
);
15594 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15611 static PyObject
*_wrap_ConfigBase_DeleteGroup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15613 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15614 wxString
*arg2
= 0 ;
15616 bool temp2
= False
;
15617 PyObject
* obj0
= 0 ;
15618 PyObject
* obj1
= 0 ;
15619 char *kwnames
[] = {
15620 (char *) "self",(char *) "key", NULL
15623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_DeleteGroup",kwnames
,&obj0
,&obj1
)) goto fail
;
15624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15627 arg2
= wxString_in_helper(obj1
);
15628 if (arg2
== NULL
) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (bool)(arg1
)->DeleteGroup((wxString
const &)*arg2
);
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15653 static PyObject
*_wrap_ConfigBase_DeleteAll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15654 PyObject
*resultobj
;
15655 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15657 PyObject
* obj0
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "self", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_DeleteAll",kwnames
,&obj0
)) goto fail
;
15663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (bool)(arg1
)->DeleteAll();
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15679 static PyObject
*_wrap_ConfigBase_SetExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15680 PyObject
*resultobj
;
15681 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15682 bool arg2
= (bool) True
;
15683 PyObject
* obj0
= 0 ;
15684 PyObject
* obj1
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self",(char *) "doIt", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15693 arg2
= (bool) SWIG_AsBool(obj1
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15698 (arg1
)->SetExpandEnvVars(arg2
);
15700 wxPyEndAllowThreads(__tstate
);
15701 if (PyErr_Occurred()) SWIG_fail
;
15703 Py_INCREF(Py_None
); resultobj
= Py_None
;
15710 static PyObject
*_wrap_ConfigBase_IsExpandingEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15714 PyObject
* obj0
= 0 ;
15715 char *kwnames
[] = {
15716 (char *) "self", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsExpandingEnvVars",kwnames
,&obj0
)) goto fail
;
15720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15724 result
= (bool)((wxConfigBase
const *)arg1
)->IsExpandingEnvVars();
15726 wxPyEndAllowThreads(__tstate
);
15727 if (PyErr_Occurred()) SWIG_fail
;
15729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15736 static PyObject
*_wrap_ConfigBase_SetRecordDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15737 PyObject
*resultobj
;
15738 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15739 bool arg2
= (bool) True
;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 char *kwnames
[] = {
15743 (char *) "self",(char *) "doIt", NULL
15746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ConfigBase_SetRecordDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
15747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15750 arg2
= (bool) SWIG_AsBool(obj1
);
15751 if (PyErr_Occurred()) SWIG_fail
;
15754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15755 (arg1
)->SetRecordDefaults(arg2
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 Py_INCREF(Py_None
); resultobj
= Py_None
;
15767 static PyObject
*_wrap_ConfigBase_IsRecordingDefaults(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15768 PyObject
*resultobj
;
15769 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15771 PyObject
* obj0
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_IsRecordingDefaults",kwnames
,&obj0
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= (bool)((wxConfigBase
const *)arg1
)->IsRecordingDefaults();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15793 static PyObject
*_wrap_ConfigBase_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15794 PyObject
*resultobj
;
15795 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15796 wxString
*arg2
= 0 ;
15798 bool temp2
= False
;
15799 PyObject
* obj0
= 0 ;
15800 PyObject
* obj1
= 0 ;
15801 char *kwnames
[] = {
15802 (char *) "self",(char *) "str", NULL
15805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_ExpandEnvVars",kwnames
,&obj0
,&obj1
)) goto fail
;
15806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15809 arg2
= wxString_in_helper(obj1
);
15810 if (arg2
== NULL
) SWIG_fail
;
15814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 result
= ((wxConfigBase
const *)arg1
)->ExpandEnvVars((wxString
const &)*arg2
);
15817 wxPyEndAllowThreads(__tstate
);
15818 if (PyErr_Occurred()) SWIG_fail
;
15822 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15824 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15841 static PyObject
*_wrap_ConfigBase_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15842 PyObject
*resultobj
;
15843 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15845 PyObject
* obj0
= 0 ;
15846 char *kwnames
[] = {
15847 (char *) "self", NULL
15850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetAppName",kwnames
,&obj0
)) goto fail
;
15851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15855 result
= ((wxConfigBase
const *)arg1
)->GetAppName();
15857 wxPyEndAllowThreads(__tstate
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15873 static PyObject
*_wrap_ConfigBase_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15877 PyObject
* obj0
= 0 ;
15878 char *kwnames
[] = {
15879 (char *) "self", NULL
15882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetVendorName",kwnames
,&obj0
)) goto fail
;
15883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15887 result
= ((wxConfigBase
const *)arg1
)->GetVendorName();
15889 wxPyEndAllowThreads(__tstate
);
15890 if (PyErr_Occurred()) SWIG_fail
;
15894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15905 static PyObject
*_wrap_ConfigBase_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15908 wxString
*arg2
= 0 ;
15909 bool temp2
= False
;
15910 PyObject
* obj0
= 0 ;
15911 PyObject
* obj1
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "self",(char *) "appName", NULL
15916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
15917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15920 arg2
= wxString_in_helper(obj1
);
15921 if (arg2
== NULL
) SWIG_fail
;
15925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15926 (arg1
)->SetAppName((wxString
const &)*arg2
);
15928 wxPyEndAllowThreads(__tstate
);
15929 if (PyErr_Occurred()) SWIG_fail
;
15931 Py_INCREF(Py_None
); resultobj
= Py_None
;
15946 static PyObject
*_wrap_ConfigBase_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15947 PyObject
*resultobj
;
15948 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15949 wxString
*arg2
= 0 ;
15950 bool temp2
= False
;
15951 PyObject
* obj0
= 0 ;
15952 PyObject
* obj1
= 0 ;
15953 char *kwnames
[] = {
15954 (char *) "self",(char *) "vendorName", NULL
15957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
15958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15961 arg2
= wxString_in_helper(obj1
);
15962 if (arg2
== NULL
) SWIG_fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 (arg1
)->SetVendorName((wxString
const &)*arg2
);
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 Py_INCREF(Py_None
); resultobj
= Py_None
;
15987 static PyObject
*_wrap_ConfigBase_SetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15988 PyObject
*resultobj
;
15989 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
15991 PyObject
* obj0
= 0 ;
15992 PyObject
* obj1
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self",(char *) "style", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ConfigBase_SetStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
15999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16000 arg2
= (long) SWIG_AsLong(obj1
);
16001 if (PyErr_Occurred()) SWIG_fail
;
16003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16004 (arg1
)->SetStyle(arg2
);
16006 wxPyEndAllowThreads(__tstate
);
16007 if (PyErr_Occurred()) SWIG_fail
;
16009 Py_INCREF(Py_None
); resultobj
= Py_None
;
16016 static PyObject
*_wrap_ConfigBase_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16017 PyObject
*resultobj
;
16018 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 char *kwnames
[] = {
16022 (char *) "self", NULL
16025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigBase_GetStyle",kwnames
,&obj0
)) goto fail
;
16026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16030 result
= (long)((wxConfigBase
const *)arg1
)->GetStyle();
16032 wxPyEndAllowThreads(__tstate
);
16033 if (PyErr_Occurred()) SWIG_fail
;
16035 resultobj
= SWIG_FromLong((long)result
);
16042 static PyObject
* ConfigBase_swigregister(PyObject
*, PyObject
*args
) {
16044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16045 SWIG_TypeClientData(SWIGTYPE_p_wxConfigBase
, obj
);
16047 return Py_BuildValue((char *)"");
16049 static PyObject
*_wrap_new_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16052 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16053 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16054 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16055 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16056 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16057 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16058 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16059 long arg5
= (long) 0 ;
16061 bool temp1
= False
;
16062 bool temp2
= False
;
16063 bool temp3
= False
;
16064 bool temp4
= False
;
16065 PyObject
* obj0
= 0 ;
16066 PyObject
* obj1
= 0 ;
16067 PyObject
* obj2
= 0 ;
16068 PyObject
* obj3
= 0 ;
16069 PyObject
* obj4
= 0 ;
16070 char *kwnames
[] = {
16071 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_Config",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16077 arg1
= wxString_in_helper(obj0
);
16078 if (arg1
== NULL
) SWIG_fail
;
16084 arg2
= wxString_in_helper(obj1
);
16085 if (arg2
== NULL
) SWIG_fail
;
16091 arg3
= wxString_in_helper(obj2
);
16092 if (arg3
== NULL
) SWIG_fail
;
16098 arg4
= wxString_in_helper(obj3
);
16099 if (arg4
== NULL
) SWIG_fail
;
16104 arg5
= (long) SWIG_AsLong(obj4
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16109 result
= (wxConfig
*)new wxConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfig
, 1);
16153 static PyObject
*_wrap_delete_Config(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16154 PyObject
*resultobj
;
16155 wxConfig
*arg1
= (wxConfig
*) 0 ;
16156 PyObject
* obj0
= 0 ;
16157 char *kwnames
[] = {
16158 (char *) "self", NULL
16161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Config",kwnames
,&obj0
)) goto fail
;
16162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfig
,
16163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 wxPyEndAllowThreads(__tstate
);
16169 if (PyErr_Occurred()) SWIG_fail
;
16171 Py_INCREF(Py_None
); resultobj
= Py_None
;
16178 static PyObject
* Config_swigregister(PyObject
*, PyObject
*args
) {
16180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16181 SWIG_TypeClientData(SWIGTYPE_p_wxConfig
, obj
);
16183 return Py_BuildValue((char *)"");
16185 static PyObject
*_wrap_new_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16186 PyObject
*resultobj
;
16187 wxString
const &arg1_defvalue
= wxPyEmptyString
;
16188 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
16189 wxString
const &arg2_defvalue
= wxPyEmptyString
;
16190 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16191 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16192 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16195 long arg5
= (long) wxCONFIG_USE_LOCAL_FILE
|wxCONFIG_USE_GLOBAL_FILE
;
16196 wxFileConfig
*result
;
16197 bool temp1
= False
;
16198 bool temp2
= False
;
16199 bool temp3
= False
;
16200 bool temp4
= False
;
16201 PyObject
* obj0
= 0 ;
16202 PyObject
* obj1
= 0 ;
16203 PyObject
* obj2
= 0 ;
16204 PyObject
* obj3
= 0 ;
16205 PyObject
* obj4
= 0 ;
16206 char *kwnames
[] = {
16207 (char *) "appName",(char *) "vendorName",(char *) "localFilename",(char *) "globalFilename",(char *) "style", NULL
16210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOO:new_FileConfig",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
16213 arg1
= wxString_in_helper(obj0
);
16214 if (arg1
== NULL
) SWIG_fail
;
16220 arg2
= wxString_in_helper(obj1
);
16221 if (arg2
== NULL
) SWIG_fail
;
16227 arg3
= wxString_in_helper(obj2
);
16228 if (arg3
== NULL
) SWIG_fail
;
16234 arg4
= wxString_in_helper(obj3
);
16235 if (arg4
== NULL
) SWIG_fail
;
16240 arg5
= (long) SWIG_AsLong(obj4
);
16241 if (PyErr_Occurred()) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 result
= (wxFileConfig
*)new wxFileConfig((wxString
const &)*arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileConfig
, 1);
16289 static PyObject
*_wrap_delete_FileConfig(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16290 PyObject
*resultobj
;
16291 wxFileConfig
*arg1
= (wxFileConfig
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileConfig",kwnames
,&obj0
)) goto fail
;
16298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileConfig
,
16299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16304 wxPyEndAllowThreads(__tstate
);
16305 if (PyErr_Occurred()) SWIG_fail
;
16307 Py_INCREF(Py_None
); resultobj
= Py_None
;
16314 static PyObject
* FileConfig_swigregister(PyObject
*, PyObject
*args
) {
16316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16317 SWIG_TypeClientData(SWIGTYPE_p_wxFileConfig
, obj
);
16319 return Py_BuildValue((char *)"");
16321 static PyObject
*_wrap_new_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
;
16323 wxConfigBase
*arg1
= (wxConfigBase
*) 0 ;
16324 wxString
*arg2
= 0 ;
16325 wxConfigPathChanger
*result
;
16326 bool temp2
= False
;
16327 PyObject
* obj0
= 0 ;
16328 PyObject
* obj1
= 0 ;
16329 char *kwnames
[] = {
16330 (char *) "config",(char *) "entry", NULL
16333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_ConfigPathChanger",kwnames
,&obj0
,&obj1
)) goto fail
;
16334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigBase
,
16335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16337 arg2
= wxString_in_helper(obj1
);
16338 if (arg2
== NULL
) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 result
= (wxConfigPathChanger
*)new wxConfigPathChanger((wxConfigBase
const *)arg1
,(wxString
const &)*arg2
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxConfigPathChanger
, 1);
16363 static PyObject
*_wrap_delete_ConfigPathChanger(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16366 PyObject
* obj0
= 0 ;
16367 char *kwnames
[] = {
16368 (char *) "self", NULL
16371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ConfigPathChanger",kwnames
,&obj0
)) goto fail
;
16372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 wxPyEndAllowThreads(__tstate
);
16379 if (PyErr_Occurred()) SWIG_fail
;
16381 Py_INCREF(Py_None
); resultobj
= Py_None
;
16388 static PyObject
*_wrap_ConfigPathChanger_Name(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16389 PyObject
*resultobj
;
16390 wxConfigPathChanger
*arg1
= (wxConfigPathChanger
*) 0 ;
16392 PyObject
* obj0
= 0 ;
16393 char *kwnames
[] = {
16394 (char *) "self", NULL
16397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ConfigPathChanger_Name",kwnames
,&obj0
)) goto fail
;
16398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxConfigPathChanger
,
16399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 wxString
const &_result_ref
= ((wxConfigPathChanger
const *)arg1
)->Name();
16404 result
= (wxString
*) &_result_ref
;
16407 wxPyEndAllowThreads(__tstate
);
16408 if (PyErr_Occurred()) SWIG_fail
;
16412 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
16414 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
16423 static PyObject
* ConfigPathChanger_swigregister(PyObject
*, PyObject
*args
) {
16425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16426 SWIG_TypeClientData(SWIGTYPE_p_wxConfigPathChanger
, obj
);
16428 return Py_BuildValue((char *)"");
16430 static PyObject
*_wrap_ExpandEnvVars(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16431 PyObject
*resultobj
;
16432 wxString
*arg1
= 0 ;
16434 bool temp1
= False
;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "sz", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ExpandEnvVars",kwnames
,&obj0
)) goto fail
;
16442 arg1
= wxString_in_helper(obj0
);
16443 if (arg1
== NULL
) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 result
= wxExpandEnvVars((wxString
const &)*arg1
);
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16474 static int _wrap_DateFormatStr_set(PyObject
*) {
16475 PyErr_SetString(PyExc_TypeError
,"Variable DateFormatStr is read-only.");
16480 static PyObject
*_wrap_DateFormatStr_get() {
16485 pyobj
= PyUnicode_FromWideChar((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16487 pyobj
= PyString_FromStringAndSize((&wxPyDateFormatStr
)->c_str(), (&wxPyDateFormatStr
)->Len());
16494 static int _wrap_TimeSpanFormatStr_set(PyObject
*) {
16495 PyErr_SetString(PyExc_TypeError
,"Variable TimeSpanFormatStr is read-only.");
16500 static PyObject
*_wrap_TimeSpanFormatStr_get() {
16505 pyobj
= PyUnicode_FromWideChar((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16507 pyobj
= PyString_FromStringAndSize((&wxPyTimeSpanFormatStr
)->c_str(), (&wxPyTimeSpanFormatStr
)->Len());
16514 static PyObject
*_wrap_DateTime_SetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16515 PyObject
*resultobj
;
16517 PyObject
* obj0
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "country", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetCountry",kwnames
,&obj0
)) goto fail
;
16523 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 wxDateTime::SetCountry((wxDateTime::Country
)arg1
);
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 Py_INCREF(Py_None
); resultobj
= Py_None
;
16539 static PyObject
*_wrap_DateTime_GetCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16542 char *kwnames
[] = {
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_GetCountry",kwnames
)) goto fail
;
16548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16549 result
= (int)wxDateTime::GetCountry();
16551 wxPyEndAllowThreads(__tstate
);
16552 if (PyErr_Occurred()) SWIG_fail
;
16554 resultobj
= SWIG_FromInt((int)result
);
16561 static PyObject
*_wrap_DateTime_IsWestEuropeanCountry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16562 PyObject
*resultobj
;
16563 int arg1
= (int) wxDateTime::Country_Default
;
16565 PyObject
* obj0
= 0 ;
16566 char *kwnames
[] = {
16567 (char *) "country", NULL
16570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_IsWestEuropeanCountry",kwnames
,&obj0
)) goto fail
;
16572 arg1
= (wxDateTime::Country
) SWIG_AsInt(obj0
);
16573 if (PyErr_Occurred()) SWIG_fail
;
16576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16577 result
= (bool)wxDateTime::IsWestEuropeanCountry((wxDateTime::Country
)arg1
);
16579 wxPyEndAllowThreads(__tstate
);
16580 if (PyErr_Occurred()) SWIG_fail
;
16582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16589 static PyObject
*_wrap_DateTime_GetCurrentYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16590 PyObject
*resultobj
;
16591 int arg1
= (int) wxDateTime::Gregorian
;
16593 PyObject
* obj0
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "cal", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentYear",kwnames
,&obj0
)) goto fail
;
16600 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16601 if (PyErr_Occurred()) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 result
= (int)wxDateTime::GetCurrentYear((wxDateTime::Calendar
)arg1
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_FromInt((int)result
);
16617 static PyObject
*_wrap_DateTime_ConvertYearToBC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16621 PyObject
* obj0
= 0 ;
16622 char *kwnames
[] = {
16623 (char *) "year", NULL
16626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ConvertYearToBC",kwnames
,&obj0
)) goto fail
;
16627 arg1
= (int) SWIG_AsInt(obj0
);
16628 if (PyErr_Occurred()) SWIG_fail
;
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 result
= (int)wxDateTime::ConvertYearToBC(arg1
);
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16636 resultobj
= SWIG_FromInt((int)result
);
16643 static PyObject
*_wrap_DateTime_GetCurrentMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
;
16645 int arg1
= (int) wxDateTime::Gregorian
;
16647 PyObject
* obj0
= 0 ;
16648 char *kwnames
[] = {
16649 (char *) "cal", NULL
16652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCurrentMonth",kwnames
,&obj0
)) goto fail
;
16654 arg1
= (wxDateTime::Calendar
) SWIG_AsInt(obj0
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 result
= (int)wxDateTime::GetCurrentMonth((wxDateTime::Calendar
)arg1
);
16661 wxPyEndAllowThreads(__tstate
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16664 resultobj
= SWIG_FromInt((int)result
);
16671 static PyObject
*_wrap_DateTime_IsLeapYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16672 PyObject
*resultobj
;
16673 int arg1
= (int) wxDateTime::Inv_Year
;
16674 int arg2
= (int) wxDateTime::Gregorian
;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "year",(char *) "cal", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsLeapYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16684 arg1
= (int) SWIG_AsInt(obj0
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16688 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16689 if (PyErr_Occurred()) SWIG_fail
;
16692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16693 result
= (bool)wxDateTime::IsLeapYear(arg1
,(wxDateTime::Calendar
)arg2
);
16695 wxPyEndAllowThreads(__tstate
);
16696 if (PyErr_Occurred()) SWIG_fail
;
16698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16705 static PyObject
*_wrap_DateTime_GetCentury(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16706 PyObject
*resultobj
;
16707 int arg1
= (int) wxDateTime::Inv_Year
;
16709 PyObject
* obj0
= 0 ;
16710 char *kwnames
[] = {
16711 (char *) "year", NULL
16714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:DateTime_GetCentury",kwnames
,&obj0
)) goto fail
;
16716 arg1
= (int) SWIG_AsInt(obj0
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (int)wxDateTime::GetCentury(arg1
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16726 resultobj
= SWIG_FromInt((int)result
);
16733 static PyObject
*_wrap_DateTime_GetNumberOfDaysinYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16736 int arg2
= (int) wxDateTime::Gregorian
;
16738 PyObject
* obj0
= 0 ;
16739 PyObject
* obj1
= 0 ;
16740 char *kwnames
[] = {
16741 (char *) "year",(char *) "cal", NULL
16744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetNumberOfDaysinYear",kwnames
,&obj0
,&obj1
)) goto fail
;
16745 arg1
= (int) SWIG_AsInt(obj0
);
16746 if (PyErr_Occurred()) SWIG_fail
;
16748 arg2
= (wxDateTime::Calendar
) SWIG_AsInt(obj1
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16753 result
= (int)wxDateTime::GetNumberOfDays(arg1
,(wxDateTime::Calendar
)arg2
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= SWIG_FromInt((int)result
);
16765 static PyObject
*_wrap_DateTime_GetNumberOfDaysInMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16766 PyObject
*resultobj
;
16768 int arg2
= (int) wxDateTime::Inv_Year
;
16769 int arg3
= (int) wxDateTime::Gregorian
;
16771 PyObject
* obj0
= 0 ;
16772 PyObject
* obj1
= 0 ;
16773 PyObject
* obj2
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "month",(char *) "year",(char *) "cal", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetNumberOfDaysInMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16779 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 arg2
= (int) SWIG_AsInt(obj1
);
16783 if (PyErr_Occurred()) SWIG_fail
;
16786 arg3
= (wxDateTime::Calendar
) SWIG_AsInt(obj2
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (int)wxDateTime::GetNumberOfDays((wxDateTime::Month
)arg1
,arg2
,(wxDateTime::Calendar
)arg3
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_FromInt((int)result
);
16803 static PyObject
*_wrap_DateTime_GetMonthName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16804 PyObject
*resultobj
;
16806 int arg2
= (int) wxDateTime::Name_Full
;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 char *kwnames
[] = {
16811 (char *) "month",(char *) "flags", NULL
16814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonthName",kwnames
,&obj0
,&obj1
)) goto fail
;
16815 arg1
= (wxDateTime::Month
) SWIG_AsInt(obj0
);
16816 if (PyErr_Occurred()) SWIG_fail
;
16818 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16819 if (PyErr_Occurred()) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= wxDateTime::GetMonthName((wxDateTime::Month
)arg1
,(wxDateTime::NameFlags
)arg2
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16830 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16832 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16841 static PyObject
*_wrap_DateTime_GetWeekDayName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
;
16844 int arg2
= (int) wxDateTime::Name_Full
;
16846 PyObject
* obj0
= 0 ;
16847 PyObject
* obj1
= 0 ;
16848 char *kwnames
[] = {
16849 (char *) "weekday",(char *) "flags", NULL
16852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDayName",kwnames
,&obj0
,&obj1
)) goto fail
;
16853 arg1
= (wxDateTime::WeekDay
) SWIG_AsInt(obj0
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 arg2
= (wxDateTime::NameFlags
) SWIG_AsInt(obj1
);
16857 if (PyErr_Occurred()) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= wxDateTime::GetWeekDayName((wxDateTime::WeekDay
)arg1
,(wxDateTime::NameFlags
)arg2
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16879 static PyObject
*_wrap_DateTime_GetAmPmStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16880 PyObject
*resultobj
;
16881 wxString
*arg1
= (wxString
*) 0 ;
16882 wxString
*arg2
= (wxString
*) 0 ;
16883 bool temp1
= False
;
16884 bool temp2
= False
;
16885 PyObject
* obj0
= 0 ;
16886 PyObject
* obj1
= 0 ;
16887 char *kwnames
[] = {
16888 (char *) "OUTPUT",(char *) "OUTPUT", NULL
16891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetAmPmStrings",kwnames
,&obj0
,&obj1
)) goto fail
;
16893 arg1
= wxString_in_helper(obj0
);
16894 if (arg1
== NULL
) SWIG_fail
;
16898 arg2
= wxString_in_helper(obj1
);
16899 if (arg2
== NULL
) SWIG_fail
;
16903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16904 wxDateTime::GetAmPmStrings(arg1
,arg2
);
16906 wxPyEndAllowThreads(__tstate
);
16907 if (PyErr_Occurred()) SWIG_fail
;
16909 Py_INCREF(Py_None
); resultobj
= Py_None
;
16932 static PyObject
*_wrap_DateTime_IsDSTApplicable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16933 PyObject
*resultobj
;
16934 int arg1
= (int) wxDateTime::Inv_Year
;
16935 int arg2
= (int) wxDateTime::Country_Default
;
16937 PyObject
* obj0
= 0 ;
16938 PyObject
* obj1
= 0 ;
16939 char *kwnames
[] = {
16940 (char *) "year",(char *) "country", NULL
16943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_IsDSTApplicable",kwnames
,&obj0
,&obj1
)) goto fail
;
16945 arg1
= (int) SWIG_AsInt(obj0
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16949 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16950 if (PyErr_Occurred()) SWIG_fail
;
16953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16954 result
= (bool)wxDateTime::IsDSTApplicable(arg1
,(wxDateTime::Country
)arg2
);
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16966 static PyObject
*_wrap_DateTime_GetBeginDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16967 PyObject
*resultobj
;
16968 int arg1
= (int) wxDateTime::Inv_Year
;
16969 int arg2
= (int) wxDateTime::Country_Default
;
16971 PyObject
* obj0
= 0 ;
16972 PyObject
* obj1
= 0 ;
16973 char *kwnames
[] = {
16974 (char *) "year",(char *) "country", NULL
16977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetBeginDST",kwnames
,&obj0
,&obj1
)) goto fail
;
16979 arg1
= (int) SWIG_AsInt(obj0
);
16980 if (PyErr_Occurred()) SWIG_fail
;
16983 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 result
= wxDateTime::GetBeginDST(arg1
,(wxDateTime::Country
)arg2
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16994 wxDateTime
* resultptr
;
16995 resultptr
= new wxDateTime((wxDateTime
&) result
);
16996 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17004 static PyObject
*_wrap_DateTime_GetEndDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17005 PyObject
*resultobj
;
17006 int arg1
= (int) wxDateTime::Inv_Year
;
17007 int arg2
= (int) wxDateTime::Country_Default
;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 char *kwnames
[] = {
17012 (char *) "year",(char *) "country", NULL
17015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:DateTime_GetEndDST",kwnames
,&obj0
,&obj1
)) goto fail
;
17017 arg1
= (int) SWIG_AsInt(obj0
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17021 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= wxDateTime::GetEndDST(arg1
,(wxDateTime::Country
)arg2
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17032 wxDateTime
* resultptr
;
17033 resultptr
= new wxDateTime((wxDateTime
&) result
);
17034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17042 static PyObject
*_wrap_DateTime_Now(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17045 char *kwnames
[] = {
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Now",kwnames
)) goto fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= wxDateTime::Now();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17058 wxDateTime
* resultptr
;
17059 resultptr
= new wxDateTime((wxDateTime
&) result
);
17060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17068 static PyObject
*_wrap_DateTime_UNow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17069 PyObject
*resultobj
;
17071 char *kwnames
[] = {
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_UNow",kwnames
)) goto fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 result
= wxDateTime::UNow();
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 wxDateTime
* resultptr
;
17085 resultptr
= new wxDateTime((wxDateTime
&) result
);
17086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17094 static PyObject
*_wrap_DateTime_Today(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
;
17097 char *kwnames
[] = {
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateTime_Today",kwnames
)) goto fail
;
17103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17104 result
= wxDateTime::Today();
17106 wxPyEndAllowThreads(__tstate
);
17107 if (PyErr_Occurred()) SWIG_fail
;
17110 wxDateTime
* resultptr
;
17111 resultptr
= new wxDateTime((wxDateTime
&) result
);
17112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17120 static PyObject
*_wrap_new_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
;
17122 wxDateTime
*result
;
17123 char *kwnames
[] = {
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DateTime",kwnames
)) goto fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (wxDateTime
*)new wxDateTime();
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17142 static PyObject
*_wrap_new_DateTimeFromTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17145 wxDateTime
*result
;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "timet", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromTimeT",kwnames
,&obj0
)) goto fail
;
17152 arg1
= (time_t) SWIG_AsUnsignedInt(obj0
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (wxDateTime
*)new wxDateTime(arg1
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17168 static PyObject
*_wrap_new_DateTimeFromJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
;
17171 wxDateTime
*result
;
17172 PyObject
* obj0
= 0 ;
17173 char *kwnames
[] = {
17174 (char *) "jdn", NULL
17177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DateTimeFromJDN",kwnames
,&obj0
)) goto fail
;
17178 arg1
= (double) SWIG_AsDouble(obj0
);
17179 if (PyErr_Occurred()) SWIG_fail
;
17181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17182 result
= (wxDateTime
*)new wxDateTime(arg1
);
17184 wxPyEndAllowThreads(__tstate
);
17185 if (PyErr_Occurred()) SWIG_fail
;
17187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17194 static PyObject
*_wrap_new_DateTimeFromHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17195 PyObject
*resultobj
;
17197 int arg2
= (int) 0 ;
17198 int arg3
= (int) 0 ;
17199 int arg4
= (int) 0 ;
17200 wxDateTime
*result
;
17201 PyObject
* obj0
= 0 ;
17202 PyObject
* obj1
= 0 ;
17203 PyObject
* obj2
= 0 ;
17204 PyObject
* obj3
= 0 ;
17205 char *kwnames
[] = {
17206 (char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DateTimeFromHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
17210 arg1
= (int) SWIG_AsInt(obj0
);
17211 if (PyErr_Occurred()) SWIG_fail
;
17213 arg2
= (int) SWIG_AsInt(obj1
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17217 arg3
= (int) SWIG_AsInt(obj2
);
17218 if (PyErr_Occurred()) SWIG_fail
;
17221 arg4
= (int) SWIG_AsInt(obj3
);
17222 if (PyErr_Occurred()) SWIG_fail
;
17225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 result
= (wxDateTime
*)new wxDateTime(arg1
,arg2
,arg3
,arg4
);
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17238 static PyObject
*_wrap_new_DateTimeFromDMY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17239 PyObject
*resultobj
;
17241 int arg2
= (int) wxDateTime::Inv_Month
;
17242 int arg3
= (int) wxDateTime::Inv_Year
;
17243 int arg4
= (int) 0 ;
17244 int arg5
= (int) 0 ;
17245 int arg6
= (int) 0 ;
17246 int arg7
= (int) 0 ;
17247 wxDateTime
*result
;
17248 PyObject
* obj0
= 0 ;
17249 PyObject
* obj1
= 0 ;
17250 PyObject
* obj2
= 0 ;
17251 PyObject
* obj3
= 0 ;
17252 PyObject
* obj4
= 0 ;
17253 PyObject
* obj5
= 0 ;
17254 PyObject
* obj6
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DateTimeFromDMY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
17260 arg1
= (int) SWIG_AsInt(obj0
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17263 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17267 arg3
= (int) SWIG_AsInt(obj2
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17271 arg4
= (int) SWIG_AsInt(obj3
);
17272 if (PyErr_Occurred()) SWIG_fail
;
17275 arg5
= (int) SWIG_AsInt(obj4
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17279 arg6
= (int) SWIG_AsInt(obj5
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17283 arg7
= (int) SWIG_AsInt(obj6
);
17284 if (PyErr_Occurred()) SWIG_fail
;
17287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17288 result
= (wxDateTime
*)new wxDateTime(arg1
,(wxDateTime::Month
)arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
17290 wxPyEndAllowThreads(__tstate
);
17291 if (PyErr_Occurred()) SWIG_fail
;
17293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 1);
17300 static PyObject
*_wrap_delete_DateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
;
17302 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17303 PyObject
* obj0
= 0 ;
17304 char *kwnames
[] = {
17305 (char *) "self", NULL
17308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateTime",kwnames
,&obj0
)) goto fail
;
17309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 Py_INCREF(Py_None
); resultobj
= Py_None
;
17325 static PyObject
*_wrap_DateTime_SetToCurrent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17328 wxDateTime
*result
;
17329 PyObject
* obj0
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_SetToCurrent",kwnames
,&obj0
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 wxDateTime
&_result_ref
= (arg1
)->SetToCurrent();
17341 result
= (wxDateTime
*) &_result_ref
;
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17354 static PyObject
*_wrap_DateTime_SetTimeT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17355 PyObject
*resultobj
;
17356 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17358 wxDateTime
*result
;
17359 PyObject
* obj0
= 0 ;
17360 PyObject
* obj1
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self",(char *) "timet", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetTimeT",kwnames
,&obj0
,&obj1
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17368 arg2
= (time_t) SWIG_AsUnsignedInt(obj1
);
17369 if (PyErr_Occurred()) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17374 result
= (wxDateTime
*) &_result_ref
;
17377 wxPyEndAllowThreads(__tstate
);
17378 if (PyErr_Occurred()) SWIG_fail
;
17380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17387 static PyObject
*_wrap_DateTime_SetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
;
17389 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17391 wxDateTime
*result
;
17392 PyObject
* obj0
= 0 ;
17393 PyObject
* obj1
= 0 ;
17394 char *kwnames
[] = {
17395 (char *) "self",(char *) "jdn", NULL
17398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetJDN",kwnames
,&obj0
,&obj1
)) goto fail
;
17399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17401 arg2
= (double) SWIG_AsDouble(obj1
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17406 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
);
17407 result
= (wxDateTime
*) &_result_ref
;
17410 wxPyEndAllowThreads(__tstate
);
17411 if (PyErr_Occurred()) SWIG_fail
;
17413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17420 static PyObject
*_wrap_DateTime_SetHMS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17421 PyObject
*resultobj
;
17422 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17424 int arg3
= (int) 0 ;
17425 int arg4
= (int) 0 ;
17426 int arg5
= (int) 0 ;
17427 wxDateTime
*result
;
17428 PyObject
* obj0
= 0 ;
17429 PyObject
* obj1
= 0 ;
17430 PyObject
* obj2
= 0 ;
17431 PyObject
* obj3
= 0 ;
17432 PyObject
* obj4
= 0 ;
17433 char *kwnames
[] = {
17434 (char *) "self",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetHMS",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
17438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17440 arg2
= (int) SWIG_AsInt(obj1
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 arg3
= (int) SWIG_AsInt(obj2
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17447 arg4
= (int) SWIG_AsInt(obj3
);
17448 if (PyErr_Occurred()) SWIG_fail
;
17451 arg5
= (int) SWIG_AsInt(obj4
);
17452 if (PyErr_Occurred()) SWIG_fail
;
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
17458 result
= (wxDateTime
*) &_result_ref
;
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17471 static PyObject
*_wrap_DateTime_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17475 int arg3
= (int) wxDateTime::Inv_Month
;
17476 int arg4
= (int) wxDateTime::Inv_Year
;
17477 int arg5
= (int) 0 ;
17478 int arg6
= (int) 0 ;
17479 int arg7
= (int) 0 ;
17480 int arg8
= (int) 0 ;
17481 wxDateTime
*result
;
17482 PyObject
* obj0
= 0 ;
17483 PyObject
* obj1
= 0 ;
17484 PyObject
* obj2
= 0 ;
17485 PyObject
* obj3
= 0 ;
17486 PyObject
* obj4
= 0 ;
17487 PyObject
* obj5
= 0 ;
17488 PyObject
* obj6
= 0 ;
17489 PyObject
* obj7
= 0 ;
17490 char *kwnames
[] = {
17491 (char *) "self",(char *) "day",(char *) "month",(char *) "year",(char *) "hour",(char *) "minute",(char *) "second",(char *) "millisec", NULL
17494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:DateTime_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
17495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17497 arg2
= (int) SWIG_AsInt(obj1
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17504 arg4
= (int) SWIG_AsInt(obj3
);
17505 if (PyErr_Occurred()) SWIG_fail
;
17508 arg5
= (int) SWIG_AsInt(obj4
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17512 arg6
= (int) SWIG_AsInt(obj5
);
17513 if (PyErr_Occurred()) SWIG_fail
;
17516 arg7
= (int) SWIG_AsInt(obj6
);
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 arg8
= (int) SWIG_AsInt(obj7
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 wxDateTime
&_result_ref
= (arg1
)->Set(arg2
,(wxDateTime::Month
)arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
17527 result
= (wxDateTime
*) &_result_ref
;
17530 wxPyEndAllowThreads(__tstate
);
17531 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17540 static PyObject
*_wrap_DateTime_ResetTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17541 PyObject
*resultobj
;
17542 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17543 wxDateTime
*result
;
17544 PyObject
* obj0
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_ResetTime",kwnames
,&obj0
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 wxDateTime
&_result_ref
= (arg1
)->ResetTime();
17556 result
= (wxDateTime
*) &_result_ref
;
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17569 static PyObject
*_wrap_DateTime_SetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17570 PyObject
*resultobj
;
17571 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17573 wxDateTime
*result
;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self",(char *) "year", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17583 arg2
= (int) SWIG_AsInt(obj1
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17588 wxDateTime
&_result_ref
= (arg1
)->SetYear(arg2
);
17589 result
= (wxDateTime
*) &_result_ref
;
17592 wxPyEndAllowThreads(__tstate
);
17593 if (PyErr_Occurred()) SWIG_fail
;
17595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17602 static PyObject
*_wrap_DateTime_SetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17603 PyObject
*resultobj
;
17604 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17606 wxDateTime
*result
;
17607 PyObject
* obj0
= 0 ;
17608 PyObject
* obj1
= 0 ;
17609 char *kwnames
[] = {
17610 (char *) "self",(char *) "month", NULL
17613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
17614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17616 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
17617 if (PyErr_Occurred()) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 wxDateTime
&_result_ref
= (arg1
)->SetMonth((wxDateTime::Month
)arg2
);
17622 result
= (wxDateTime
*) &_result_ref
;
17625 wxPyEndAllowThreads(__tstate
);
17626 if (PyErr_Occurred()) SWIG_fail
;
17628 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17635 static PyObject
*_wrap_DateTime_SetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17636 PyObject
*resultobj
;
17637 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17639 wxDateTime
*result
;
17640 PyObject
* obj0
= 0 ;
17641 PyObject
* obj1
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "self",(char *) "day", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetDay",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17654 wxDateTime
&_result_ref
= (arg1
)->SetDay(arg2
);
17655 result
= (wxDateTime
*) &_result_ref
;
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17668 static PyObject
*_wrap_DateTime_SetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17672 wxDateTime
*result
;
17673 PyObject
* obj0
= 0 ;
17674 PyObject
* obj1
= 0 ;
17675 char *kwnames
[] = {
17676 (char *) "self",(char *) "hour", NULL
17679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
17680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17682 arg2
= (int) SWIG_AsInt(obj1
);
17683 if (PyErr_Occurred()) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17687 wxDateTime
&_result_ref
= (arg1
)->SetHour(arg2
);
17688 result
= (wxDateTime
*) &_result_ref
;
17691 wxPyEndAllowThreads(__tstate
);
17692 if (PyErr_Occurred()) SWIG_fail
;
17694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17701 static PyObject
*_wrap_DateTime_SetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17705 wxDateTime
*result
;
17706 PyObject
* obj0
= 0 ;
17707 PyObject
* obj1
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "self",(char *) "minute", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
17713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17715 arg2
= (int) SWIG_AsInt(obj1
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17720 wxDateTime
&_result_ref
= (arg1
)->SetMinute(arg2
);
17721 result
= (wxDateTime
*) &_result_ref
;
17724 wxPyEndAllowThreads(__tstate
);
17725 if (PyErr_Occurred()) SWIG_fail
;
17727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17734 static PyObject
*_wrap_DateTime_SetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17735 PyObject
*resultobj
;
17736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17738 wxDateTime
*result
;
17739 PyObject
* obj0
= 0 ;
17740 PyObject
* obj1
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self",(char *) "second", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17748 arg2
= (int) SWIG_AsInt(obj1
);
17749 if (PyErr_Occurred()) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17753 wxDateTime
&_result_ref
= (arg1
)->SetSecond(arg2
);
17754 result
= (wxDateTime
*) &_result_ref
;
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17767 static PyObject
*_wrap_DateTime_SetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17768 PyObject
*resultobj
;
17769 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17771 wxDateTime
*result
;
17772 PyObject
* obj0
= 0 ;
17773 PyObject
* obj1
= 0 ;
17774 char *kwnames
[] = {
17775 (char *) "self",(char *) "millisecond", NULL
17778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
17779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17781 arg2
= (int) SWIG_AsInt(obj1
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 wxDateTime
&_result_ref
= (arg1
)->SetMillisecond(arg2
);
17787 result
= (wxDateTime
*) &_result_ref
;
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17800 static PyObject
*_wrap_DateTime_SetToWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17802 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17804 int arg3
= (int) wxDateTime::Monday_First
;
17805 wxDateTime
*result
;
17806 PyObject
* obj0
= 0 ;
17807 PyObject
* obj1
= 0 ;
17808 PyObject
* obj2
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_SetToWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17816 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17820 if (PyErr_Occurred()) SWIG_fail
;
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17825 wxDateTime
&_result_ref
= (arg1
)->SetToWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17826 result
= (wxDateTime
*) &_result_ref
;
17829 wxPyEndAllowThreads(__tstate
);
17830 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17839 static PyObject
*_wrap_DateTime_GetWeekDayInSameWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17840 PyObject
*resultobj
;
17841 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17843 int arg3
= (int) wxDateTime::Monday_First
;
17845 PyObject
* obj0
= 0 ;
17846 PyObject
* obj1
= 0 ;
17847 PyObject
* obj2
= 0 ;
17848 char *kwnames
[] = {
17849 (char *) "self",(char *) "weekday",(char *) "flags", NULL
17852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_GetWeekDayInSameWeek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17855 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17856 if (PyErr_Occurred()) SWIG_fail
;
17858 arg3
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj2
);
17859 if (PyErr_Occurred()) SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= (arg1
)->GetWeekDayInSameWeek((wxDateTime::WeekDay
)arg2
,(wxDateTime::WeekFlags
)arg3
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17869 wxDateTime
* resultptr
;
17870 resultptr
= new wxDateTime((wxDateTime
&) result
);
17871 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17879 static PyObject
*_wrap_DateTime_SetToNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17880 PyObject
*resultobj
;
17881 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17883 wxDateTime
*result
;
17884 PyObject
* obj0
= 0 ;
17885 PyObject
* obj1
= 0 ;
17886 char *kwnames
[] = {
17887 (char *) "self",(char *) "weekday", NULL
17890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17893 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17898 wxDateTime
&_result_ref
= (arg1
)->SetToNextWeekDay((wxDateTime::WeekDay
)arg2
);
17899 result
= (wxDateTime
*) &_result_ref
;
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17912 static PyObject
*_wrap_DateTime_GetNextWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17913 PyObject
*resultobj
;
17914 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17917 PyObject
* obj0
= 0 ;
17918 PyObject
* obj1
= 0 ;
17919 char *kwnames
[] = {
17920 (char *) "self",(char *) "weekday", NULL
17923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetNextWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17926 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17927 if (PyErr_Occurred()) SWIG_fail
;
17929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17930 result
= (arg1
)->GetNextWeekDay((wxDateTime::WeekDay
)arg2
);
17932 wxPyEndAllowThreads(__tstate
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17936 wxDateTime
* resultptr
;
17937 resultptr
= new wxDateTime((wxDateTime
&) result
);
17938 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
17946 static PyObject
*_wrap_DateTime_SetToPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17947 PyObject
*resultobj
;
17948 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17950 wxDateTime
*result
;
17951 PyObject
* obj0
= 0 ;
17952 PyObject
* obj1
= 0 ;
17953 char *kwnames
[] = {
17954 (char *) "self",(char *) "weekday", NULL
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17960 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17961 if (PyErr_Occurred()) SWIG_fail
;
17963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 wxDateTime
&_result_ref
= (arg1
)->SetToPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17966 result
= (wxDateTime
*) &_result_ref
;
17969 wxPyEndAllowThreads(__tstate
);
17970 if (PyErr_Occurred()) SWIG_fail
;
17972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
17979 static PyObject
*_wrap_DateTime_GetPrevWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 PyObject
* obj1
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self",(char *) "weekday", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetPrevWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
17992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 result
= (arg1
)->GetPrevWeekDay((wxDateTime::WeekDay
)arg2
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18003 wxDateTime
* resultptr
;
18004 resultptr
= new wxDateTime((wxDateTime
&) result
);
18005 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18013 static PyObject
*_wrap_DateTime_SetToWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18014 PyObject
*resultobj
;
18015 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18017 int arg3
= (int) 1 ;
18018 int arg4
= (int) wxDateTime::Inv_Month
;
18019 int arg5
= (int) wxDateTime::Inv_Year
;
18021 PyObject
* obj0
= 0 ;
18022 PyObject
* obj1
= 0 ;
18023 PyObject
* obj2
= 0 ;
18024 PyObject
* obj3
= 0 ;
18025 PyObject
* obj4
= 0 ;
18026 char *kwnames
[] = {
18027 (char *) "self",(char *) "weekday",(char *) "n",(char *) "month",(char *) "year", NULL
18030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:DateTime_SetToWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
18031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18033 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18034 if (PyErr_Occurred()) SWIG_fail
;
18036 arg3
= (int) SWIG_AsInt(obj2
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18040 arg4
= (wxDateTime::Month
) SWIG_AsInt(obj3
);
18041 if (PyErr_Occurred()) SWIG_fail
;
18044 arg5
= (int) SWIG_AsInt(obj4
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (bool)(arg1
)->SetToWeekDay((wxDateTime::WeekDay
)arg2
,arg3
,(wxDateTime::Month
)arg4
,arg5
);
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18061 static PyObject
*_wrap_DateTime_SetToLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18062 PyObject
*resultobj
;
18063 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18065 int arg3
= (int) wxDateTime::Inv_Month
;
18066 int arg4
= (int) wxDateTime::Inv_Year
;
18068 PyObject
* obj0
= 0 ;
18069 PyObject
* obj1
= 0 ;
18070 PyObject
* obj2
= 0 ;
18071 PyObject
* obj3
= 0 ;
18072 char *kwnames
[] = {
18073 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18079 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18082 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18086 arg4
= (int) SWIG_AsInt(obj3
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (bool)(arg1
)->SetToLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18103 static PyObject
*_wrap_DateTime_GetLastWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18104 PyObject
*resultobj
;
18105 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18107 int arg3
= (int) wxDateTime::Inv_Month
;
18108 int arg4
= (int) wxDateTime::Inv_Year
;
18110 PyObject
* obj0
= 0 ;
18111 PyObject
* obj1
= 0 ;
18112 PyObject
* obj2
= 0 ;
18113 PyObject
* obj3
= 0 ;
18114 char *kwnames
[] = {
18115 (char *) "self",(char *) "weekday",(char *) "month",(char *) "year", NULL
18118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetLastWeekDay",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18121 arg2
= (wxDateTime::WeekDay
) SWIG_AsInt(obj1
);
18122 if (PyErr_Occurred()) SWIG_fail
;
18124 arg3
= (wxDateTime::Month
) SWIG_AsInt(obj2
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18128 arg4
= (int) SWIG_AsInt(obj3
);
18129 if (PyErr_Occurred()) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 result
= (arg1
)->GetLastWeekDay((wxDateTime::WeekDay
)arg2
,(wxDateTime::Month
)arg3
,arg4
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18139 wxDateTime
* resultptr
;
18140 resultptr
= new wxDateTime((wxDateTime
&) result
);
18141 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18149 static PyObject
*_wrap_DateTime_SetToTheWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18150 PyObject
*resultobj
;
18151 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18153 int arg3
= (int) wxDateTime::Mon
;
18154 int arg4
= (int) wxDateTime::Monday_First
;
18156 PyObject
* obj0
= 0 ;
18157 PyObject
* obj1
= 0 ;
18158 PyObject
* obj2
= 0 ;
18159 PyObject
* obj3
= 0 ;
18160 char *kwnames
[] = {
18161 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_SetToTheWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18167 arg2
= (int) SWIG_AsInt(obj1
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18171 if (PyErr_Occurred()) SWIG_fail
;
18174 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18179 result
= (bool)(arg1
)->SetToTheWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18181 wxPyEndAllowThreads(__tstate
);
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18191 static PyObject
*_wrap_DateTime_GetWeek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18192 PyObject
*resultobj
;
18193 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18195 int arg3
= (int) wxDateTime::Mon
;
18196 int arg4
= (int) wxDateTime::Monday_First
;
18198 PyObject
* obj0
= 0 ;
18199 PyObject
* obj1
= 0 ;
18200 PyObject
* obj2
= 0 ;
18201 PyObject
* obj3
= 0 ;
18202 char *kwnames
[] = {
18203 (char *) "self",(char *) "numWeek",(char *) "weekday",(char *) "flags", NULL
18206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_GetWeek",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
18207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18209 arg2
= (int) SWIG_AsInt(obj1
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 arg3
= (wxDateTime::WeekDay
) SWIG_AsInt(obj2
);
18213 if (PyErr_Occurred()) SWIG_fail
;
18216 arg4
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj3
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18221 result
= (arg1
)->GetWeek(arg2
,(wxDateTime::WeekDay
)arg3
,(wxDateTime::WeekFlags
)arg4
);
18223 wxPyEndAllowThreads(__tstate
);
18224 if (PyErr_Occurred()) SWIG_fail
;
18227 wxDateTime
* resultptr
;
18228 resultptr
= new wxDateTime((wxDateTime
&) result
);
18229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18237 static PyObject
*_wrap_DateTime_SetToLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18238 PyObject
*resultobj
;
18239 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18240 int arg2
= (int) wxDateTime::Inv_Month
;
18241 int arg3
= (int) wxDateTime::Inv_Year
;
18242 wxDateTime
*result
;
18243 PyObject
* obj0
= 0 ;
18244 PyObject
* obj1
= 0 ;
18245 PyObject
* obj2
= 0 ;
18246 char *kwnames
[] = {
18247 (char *) "self",(char *) "month",(char *) "year", NULL
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_SetToLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18254 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18258 arg3
= (int) SWIG_AsInt(obj2
);
18259 if (PyErr_Occurred()) SWIG_fail
;
18262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18264 wxDateTime
&_result_ref
= (arg1
)->SetToLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18265 result
= (wxDateTime
*) &_result_ref
;
18268 wxPyEndAllowThreads(__tstate
);
18269 if (PyErr_Occurred()) SWIG_fail
;
18271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18278 static PyObject
*_wrap_DateTime_GetLastMonthDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18279 PyObject
*resultobj
;
18280 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18281 int arg2
= (int) wxDateTime::Inv_Month
;
18282 int arg3
= (int) wxDateTime::Inv_Year
;
18284 PyObject
* obj0
= 0 ;
18285 PyObject
* obj1
= 0 ;
18286 PyObject
* obj2
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self",(char *) "month",(char *) "year", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetLastMonthDay",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18295 arg2
= (wxDateTime::Month
) SWIG_AsInt(obj1
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18299 arg3
= (int) SWIG_AsInt(obj2
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 result
= (arg1
)->GetLastMonthDay((wxDateTime::Month
)arg2
,arg3
);
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18310 wxDateTime
* resultptr
;
18311 resultptr
= new wxDateTime((wxDateTime
&) result
);
18312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18320 static PyObject
*_wrap_DateTime_SetToYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
;
18322 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18324 wxDateTime
*result
;
18325 PyObject
* obj0
= 0 ;
18326 PyObject
* obj1
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self",(char *) "yday", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SetToYearDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18334 arg2
= (int) SWIG_AsInt(obj1
);
18335 if (PyErr_Occurred()) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18339 wxDateTime
&_result_ref
= (arg1
)->SetToYearDay(arg2
);
18340 result
= (wxDateTime
*) &_result_ref
;
18343 wxPyEndAllowThreads(__tstate
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18353 static PyObject
*_wrap_DateTime_GetYearDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18358 PyObject
* obj0
= 0 ;
18359 PyObject
* obj1
= 0 ;
18360 char *kwnames
[] = {
18361 (char *) "self",(char *) "yday", NULL
18364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_GetYearDay",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 result
= (arg1
)->GetYearDay(arg2
);
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18377 wxDateTime
* resultptr
;
18378 resultptr
= new wxDateTime((wxDateTime
&) result
);
18379 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18387 static PyObject
*_wrap_DateTime_GetJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18391 PyObject
* obj0
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 result
= (double)(arg1
)->GetJulianDayNumber();
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18406 resultobj
= SWIG_FromDouble((double)result
);
18413 static PyObject
*_wrap_DateTime_GetJDN(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18414 PyObject
*resultobj
;
18415 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18417 PyObject
* obj0
= 0 ;
18418 char *kwnames
[] = {
18419 (char *) "self", NULL
18422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetJDN",kwnames
,&obj0
)) goto fail
;
18423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 result
= (double)(arg1
)->GetJDN();
18429 wxPyEndAllowThreads(__tstate
);
18430 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= SWIG_FromDouble((double)result
);
18439 static PyObject
*_wrap_DateTime_GetModifiedJulianDayNumber(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18440 PyObject
*resultobj
;
18441 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18443 PyObject
* obj0
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "self", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetModifiedJulianDayNumber",kwnames
,&obj0
)) goto fail
;
18449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (double)((wxDateTime
const *)arg1
)->GetModifiedJulianDayNumber();
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= SWIG_FromDouble((double)result
);
18465 static PyObject
*_wrap_DateTime_GetMJD(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
;
18467 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 char *kwnames
[] = {
18471 (char *) "self", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetMJD",kwnames
,&obj0
)) goto fail
;
18475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= (double)(arg1
)->GetMJD();
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 resultobj
= SWIG_FromDouble((double)result
);
18491 static PyObject
*_wrap_DateTime_GetRataDie(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18493 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18495 PyObject
* obj0
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "self", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetRataDie",kwnames
,&obj0
)) goto fail
;
18501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18505 result
= (double)(arg1
)->GetRataDie();
18507 wxPyEndAllowThreads(__tstate
);
18508 if (PyErr_Occurred()) SWIG_fail
;
18510 resultobj
= SWIG_FromDouble((double)result
);
18517 static PyObject
*_wrap_DateTime_ToTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18518 PyObject
*resultobj
;
18519 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18520 wxDateTime::TimeZone
*arg2
= 0 ;
18521 bool arg3
= (bool) False
;
18523 bool temp2
= False
;
18524 PyObject
* obj0
= 0 ;
18525 PyObject
* obj1
= 0 ;
18526 PyObject
* obj2
= 0 ;
18527 char *kwnames
[] = {
18528 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_ToTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18535 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18539 arg3
= (bool) SWIG_AsBool(obj2
);
18540 if (PyErr_Occurred()) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (arg1
)->ToTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 wxDateTime
* resultptr
;
18551 resultptr
= new wxDateTime((wxDateTime
&) result
);
18552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18555 if (temp2
) delete arg2
;
18560 if (temp2
) delete arg2
;
18566 static PyObject
*_wrap_DateTime_MakeTimezone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18567 PyObject
*resultobj
;
18568 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18569 wxDateTime::TimeZone
*arg2
= 0 ;
18570 bool arg3
= (bool) False
;
18571 wxDateTime
*result
;
18572 bool temp2
= False
;
18573 PyObject
* obj0
= 0 ;
18574 PyObject
* obj1
= 0 ;
18575 PyObject
* obj2
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self",(char *) "tz",(char *) "noDST", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DateTime_MakeTimezone",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18584 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18588 arg3
= (bool) SWIG_AsBool(obj2
);
18589 if (PyErr_Occurred()) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 wxDateTime
&_result_ref
= (arg1
)->MakeTimezone((wxDateTime::TimeZone
const &)*arg2
,arg3
);
18595 result
= (wxDateTime
*) &_result_ref
;
18598 wxPyEndAllowThreads(__tstate
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18601 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18603 if (temp2
) delete arg2
;
18608 if (temp2
) delete arg2
;
18614 static PyObject
*_wrap_DateTime_ToGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18615 PyObject
*resultobj
;
18616 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18617 bool arg2
= (bool) False
;
18619 PyObject
* obj0
= 0 ;
18620 PyObject
* obj1
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self",(char *) "noDST", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_ToGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18629 arg2
= (bool) SWIG_AsBool(obj1
);
18630 if (PyErr_Occurred()) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 result
= (arg1
)->ToGMT(arg2
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18640 wxDateTime
* resultptr
;
18641 resultptr
= new wxDateTime((wxDateTime
&) result
);
18642 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
18650 static PyObject
*_wrap_DateTime_MakeGMT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18653 bool arg2
= (bool) False
;
18654 wxDateTime
*result
;
18655 PyObject
* obj0
= 0 ;
18656 PyObject
* obj1
= 0 ;
18657 char *kwnames
[] = {
18658 (char *) "self",(char *) "noDST", NULL
18661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_MakeGMT",kwnames
,&obj0
,&obj1
)) goto fail
;
18662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18665 arg2
= (bool) SWIG_AsBool(obj1
);
18666 if (PyErr_Occurred()) SWIG_fail
;
18669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 wxDateTime
&_result_ref
= (arg1
)->MakeGMT(arg2
);
18672 result
= (wxDateTime
*) &_result_ref
;
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
18685 static PyObject
*_wrap_DateTime_IsDST(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
;
18687 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18688 int arg2
= (int) wxDateTime::Country_Default
;
18690 PyObject
* obj0
= 0 ;
18691 PyObject
* obj1
= 0 ;
18692 char *kwnames
[] = {
18693 (char *) "self",(char *) "country", NULL
18696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsDST",kwnames
,&obj0
,&obj1
)) goto fail
;
18697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18700 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (int)(arg1
)->IsDST((wxDateTime::Country
)arg2
);
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18710 resultobj
= SWIG_FromInt((int)result
);
18717 static PyObject
*_wrap_DateTime_IsValid(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18718 PyObject
*resultobj
;
18719 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18721 PyObject
* obj0
= 0 ;
18722 char *kwnames
[] = {
18723 (char *) "self", NULL
18726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_IsValid",kwnames
,&obj0
)) goto fail
;
18727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18731 result
= (bool)((wxDateTime
const *)arg1
)->IsValid();
18733 wxPyEndAllowThreads(__tstate
);
18734 if (PyErr_Occurred()) SWIG_fail
;
18736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18743 static PyObject
*_wrap_DateTime_GetTicks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
;
18745 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18747 PyObject
* obj0
= 0 ;
18748 char *kwnames
[] = {
18749 (char *) "self", NULL
18752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_GetTicks",kwnames
,&obj0
)) goto fail
;
18753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18757 result
= (time_t)((wxDateTime
const *)arg1
)->GetTicks();
18759 wxPyEndAllowThreads(__tstate
);
18760 if (PyErr_Occurred()) SWIG_fail
;
18762 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
18769 static PyObject
*_wrap_DateTime_GetYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
;
18771 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18772 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18773 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18775 bool temp2
= False
;
18776 PyObject
* obj0
= 0 ;
18777 PyObject
* obj1
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "self",(char *) "tz", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetYear",kwnames
,&obj0
,&obj1
)) goto fail
;
18783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18787 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18793 result
= (int)((wxDateTime
const *)arg1
)->GetYear((wxDateTime::TimeZone
const &)*arg2
);
18795 wxPyEndAllowThreads(__tstate
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= SWIG_FromInt((int)result
);
18800 if (temp2
) delete arg2
;
18805 if (temp2
) delete arg2
;
18811 static PyObject
*_wrap_DateTime_GetMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
;
18813 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18814 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18815 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18817 bool temp2
= False
;
18818 PyObject
* obj0
= 0 ;
18819 PyObject
* obj1
= 0 ;
18820 char *kwnames
[] = {
18821 (char *) "self",(char *) "tz", NULL
18824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMonth",kwnames
,&obj0
,&obj1
)) goto fail
;
18825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18829 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18835 result
= (int)((wxDateTime
const *)arg1
)->GetMonth((wxDateTime::TimeZone
const &)*arg2
);
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= SWIG_FromInt((int)result
);
18842 if (temp2
) delete arg2
;
18847 if (temp2
) delete arg2
;
18853 static PyObject
*_wrap_DateTime_GetDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
;
18855 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18856 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18857 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18859 bool temp2
= False
;
18860 PyObject
* obj0
= 0 ;
18861 PyObject
* obj1
= 0 ;
18862 char *kwnames
[] = {
18863 (char *) "self",(char *) "tz", NULL
18866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18871 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 result
= (int)((wxDateTime
const *)arg1
)->GetDay((wxDateTime::TimeZone
const &)*arg2
);
18879 wxPyEndAllowThreads(__tstate
);
18880 if (PyErr_Occurred()) SWIG_fail
;
18882 resultobj
= SWIG_FromInt((int)result
);
18884 if (temp2
) delete arg2
;
18889 if (temp2
) delete arg2
;
18895 static PyObject
*_wrap_DateTime_GetWeekDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
;
18897 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18898 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18899 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18901 bool temp2
= False
;
18902 PyObject
* obj0
= 0 ;
18903 PyObject
* obj1
= 0 ;
18904 char *kwnames
[] = {
18905 (char *) "self",(char *) "tz", NULL
18908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetWeekDay",kwnames
,&obj0
,&obj1
)) goto fail
;
18909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18913 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18919 result
= (int)((wxDateTime
const *)arg1
)->GetWeekDay((wxDateTime::TimeZone
const &)*arg2
);
18921 wxPyEndAllowThreads(__tstate
);
18922 if (PyErr_Occurred()) SWIG_fail
;
18924 resultobj
= SWIG_FromInt((int)result
);
18926 if (temp2
) delete arg2
;
18931 if (temp2
) delete arg2
;
18937 static PyObject
*_wrap_DateTime_GetHour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18938 PyObject
*resultobj
;
18939 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18940 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18941 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18943 bool temp2
= False
;
18944 PyObject
* obj0
= 0 ;
18945 PyObject
* obj1
= 0 ;
18946 char *kwnames
[] = {
18947 (char *) "self",(char *) "tz", NULL
18950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetHour",kwnames
,&obj0
,&obj1
)) goto fail
;
18951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18955 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (int)((wxDateTime
const *)arg1
)->GetHour((wxDateTime::TimeZone
const &)*arg2
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_FromInt((int)result
);
18968 if (temp2
) delete arg2
;
18973 if (temp2
) delete arg2
;
18979 static PyObject
*_wrap_DateTime_GetMinute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
18982 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
18983 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
18985 bool temp2
= False
;
18986 PyObject
* obj0
= 0 ;
18987 PyObject
* obj1
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self",(char *) "tz", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMinute",kwnames
,&obj0
,&obj1
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
18994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18997 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19003 result
= (int)((wxDateTime
const *)arg1
)->GetMinute((wxDateTime::TimeZone
const &)*arg2
);
19005 wxPyEndAllowThreads(__tstate
);
19006 if (PyErr_Occurred()) SWIG_fail
;
19008 resultobj
= SWIG_FromInt((int)result
);
19010 if (temp2
) delete arg2
;
19015 if (temp2
) delete arg2
;
19021 static PyObject
*_wrap_DateTime_GetSecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19022 PyObject
*resultobj
;
19023 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19024 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19025 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19027 bool temp2
= False
;
19028 PyObject
* obj0
= 0 ;
19029 PyObject
* obj1
= 0 ;
19030 char *kwnames
[] = {
19031 (char *) "self",(char *) "tz", NULL
19034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetSecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19039 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 result
= (int)((wxDateTime
const *)arg1
)->GetSecond((wxDateTime::TimeZone
const &)*arg2
);
19047 wxPyEndAllowThreads(__tstate
);
19048 if (PyErr_Occurred()) SWIG_fail
;
19050 resultobj
= SWIG_FromInt((int)result
);
19052 if (temp2
) delete arg2
;
19057 if (temp2
) delete arg2
;
19063 static PyObject
*_wrap_DateTime_GetMillisecond(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19064 PyObject
*resultobj
;
19065 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19066 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19067 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19069 bool temp2
= False
;
19070 PyObject
* obj0
= 0 ;
19071 PyObject
* obj1
= 0 ;
19072 char *kwnames
[] = {
19073 (char *) "self",(char *) "tz", NULL
19076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetMillisecond",kwnames
,&obj0
,&obj1
)) goto fail
;
19077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19081 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19087 result
= (int)((wxDateTime
const *)arg1
)->GetMillisecond((wxDateTime::TimeZone
const &)*arg2
);
19089 wxPyEndAllowThreads(__tstate
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19092 resultobj
= SWIG_FromInt((int)result
);
19094 if (temp2
) delete arg2
;
19099 if (temp2
) delete arg2
;
19105 static PyObject
*_wrap_DateTime_GetDayOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19107 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19108 wxDateTime::TimeZone
const &arg2_defvalue
= LOCAL_TZ
;
19109 wxDateTime::TimeZone
*arg2
= (wxDateTime::TimeZone
*) &arg2_defvalue
;
19111 bool temp2
= False
;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "tz", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_GetDayOfYear",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19123 arg2
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj1
));
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 result
= (int)((wxDateTime
const *)arg1
)->GetDayOfYear((wxDateTime::TimeZone
const &)*arg2
);
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19134 resultobj
= SWIG_FromInt((int)result
);
19136 if (temp2
) delete arg2
;
19141 if (temp2
) delete arg2
;
19147 static PyObject
*_wrap_DateTime_GetWeekOfYear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19150 int arg2
= (int) wxDateTime::Monday_First
;
19151 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19152 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19154 bool temp3
= False
;
19155 PyObject
* obj0
= 0 ;
19156 PyObject
* obj1
= 0 ;
19157 PyObject
* obj2
= 0 ;
19158 char *kwnames
[] = {
19159 (char *) "self",(char *) "flags",(char *) "tz", NULL
19162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfYear",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19166 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19167 if (PyErr_Occurred()) SWIG_fail
;
19171 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19177 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfYear((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19179 wxPyEndAllowThreads(__tstate
);
19180 if (PyErr_Occurred()) SWIG_fail
;
19182 resultobj
= SWIG_FromInt((int)result
);
19184 if (temp3
) delete arg3
;
19189 if (temp3
) delete arg3
;
19195 static PyObject
*_wrap_DateTime_GetWeekOfMonth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19196 PyObject
*resultobj
;
19197 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19198 int arg2
= (int) wxDateTime::Monday_First
;
19199 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
19200 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
19202 bool temp3
= False
;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 PyObject
* obj2
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self",(char *) "flags",(char *) "tz", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_GetWeekOfMonth",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19214 arg2
= (wxDateTime::WeekFlags
) SWIG_AsInt(obj1
);
19215 if (PyErr_Occurred()) SWIG_fail
;
19219 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
19224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19225 result
= (int)((wxDateTime
const *)arg1
)->GetWeekOfMonth((wxDateTime::WeekFlags
)arg2
,(wxDateTime::TimeZone
const &)*arg3
);
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= SWIG_FromInt((int)result
);
19232 if (temp3
) delete arg3
;
19237 if (temp3
) delete arg3
;
19243 static PyObject
*_wrap_DateTime_IsWorkDay(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19244 PyObject
*resultobj
;
19245 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19246 int arg2
= (int) wxDateTime::Country_Default
;
19248 PyObject
* obj0
= 0 ;
19249 PyObject
* obj1
= 0 ;
19250 char *kwnames
[] = {
19251 (char *) "self",(char *) "country", NULL
19254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DateTime_IsWorkDay",kwnames
,&obj0
,&obj1
)) goto fail
;
19255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19258 arg2
= (wxDateTime::Country
) SWIG_AsInt(obj1
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19263 result
= (bool)((wxDateTime
const *)arg1
)->IsWorkDay((wxDateTime::Country
)arg2
);
19265 wxPyEndAllowThreads(__tstate
);
19266 if (PyErr_Occurred()) SWIG_fail
;
19268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19275 static PyObject
*_wrap_DateTime_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19276 PyObject
*resultobj
;
19277 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19278 wxDateTime
*arg2
= 0 ;
19280 PyObject
* obj0
= 0 ;
19281 PyObject
* obj1
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self",(char *) "datetime", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
19287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19290 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19292 if (arg2
== NULL
) {
19293 PyErr_SetString(PyExc_TypeError
,"null reference");
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualTo((wxDateTime
const &)*arg2
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19310 static PyObject
*_wrap_DateTime_IsEarlierThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19313 wxDateTime
*arg2
= 0 ;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "datetime", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsEarlierThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19324 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19325 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19327 if (arg2
== NULL
) {
19328 PyErr_SetString(PyExc_TypeError
,"null reference");
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= (bool)((wxDateTime
const *)arg1
)->IsEarlierThan((wxDateTime
const &)*arg2
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19345 static PyObject
*_wrap_DateTime_IsLaterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19348 wxDateTime
*arg2
= 0 ;
19350 PyObject
* obj0
= 0 ;
19351 PyObject
* obj1
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self",(char *) "datetime", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsLaterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
19357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19359 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19362 if (arg2
== NULL
) {
19363 PyErr_SetString(PyExc_TypeError
,"null reference");
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 result
= (bool)((wxDateTime
const *)arg1
)->IsLaterThan((wxDateTime
const &)*arg2
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19380 static PyObject
*_wrap_DateTime_IsStrictlyBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19381 PyObject
*resultobj
;
19382 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19383 wxDateTime
*arg2
= 0 ;
19384 wxDateTime
*arg3
= 0 ;
19386 PyObject
* obj0
= 0 ;
19387 PyObject
* obj1
= 0 ;
19388 PyObject
* obj2
= 0 ;
19389 char *kwnames
[] = {
19390 (char *) "self",(char *) "t1",(char *) "t2", NULL
19393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsStrictlyBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19397 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19399 if (arg2
== NULL
) {
19400 PyErr_SetString(PyExc_TypeError
,"null reference");
19403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19404 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19406 if (arg3
== NULL
) {
19407 PyErr_SetString(PyExc_TypeError
,"null reference");
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 result
= (bool)((wxDateTime
const *)arg1
)->IsStrictlyBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19424 static PyObject
*_wrap_DateTime_IsBetween(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
;
19426 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19427 wxDateTime
*arg2
= 0 ;
19428 wxDateTime
*arg3
= 0 ;
19430 PyObject
* obj0
= 0 ;
19431 PyObject
* obj1
= 0 ;
19432 PyObject
* obj2
= 0 ;
19433 char *kwnames
[] = {
19434 (char *) "self",(char *) "t1",(char *) "t2", NULL
19437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsBetween",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19441 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19443 if (arg2
== NULL
) {
19444 PyErr_SetString(PyExc_TypeError
,"null reference");
19447 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxDateTime
,
19448 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19450 if (arg3
== NULL
) {
19451 PyErr_SetString(PyExc_TypeError
,"null reference");
19455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19456 result
= (bool)((wxDateTime
const *)arg1
)->IsBetween((wxDateTime
const &)*arg2
,(wxDateTime
const &)*arg3
);
19458 wxPyEndAllowThreads(__tstate
);
19459 if (PyErr_Occurred()) SWIG_fail
;
19461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19468 static PyObject
*_wrap_DateTime_IsSameDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
;
19470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19471 wxDateTime
*arg2
= 0 ;
19473 PyObject
* obj0
= 0 ;
19474 PyObject
* obj1
= 0 ;
19475 char *kwnames
[] = {
19476 (char *) "self",(char *) "dt", NULL
19479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameDate",kwnames
,&obj0
,&obj1
)) goto fail
;
19480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19483 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19485 if (arg2
== NULL
) {
19486 PyErr_SetString(PyExc_TypeError
,"null reference");
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (bool)((wxDateTime
const *)arg1
)->IsSameDate((wxDateTime
const &)*arg2
);
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19503 static PyObject
*_wrap_DateTime_IsSameTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19504 PyObject
*resultobj
;
19505 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19506 wxDateTime
*arg2
= 0 ;
19508 PyObject
* obj0
= 0 ;
19509 PyObject
* obj1
= 0 ;
19510 char *kwnames
[] = {
19511 (char *) "self",(char *) "dt", NULL
19514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_IsSameTime",kwnames
,&obj0
,&obj1
)) goto fail
;
19515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19520 if (arg2
== NULL
) {
19521 PyErr_SetString(PyExc_TypeError
,"null reference");
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= (bool)((wxDateTime
const *)arg1
)->IsSameTime((wxDateTime
const &)*arg2
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19538 static PyObject
*_wrap_DateTime_IsEqualUpTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19539 PyObject
*resultobj
;
19540 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19541 wxDateTime
*arg2
= 0 ;
19542 wxTimeSpan
*arg3
= 0 ;
19544 PyObject
* obj0
= 0 ;
19545 PyObject
* obj1
= 0 ;
19546 PyObject
* obj2
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self",(char *) "dt",(char *) "ts", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DateTime_IsEqualUpTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19554 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19555 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19557 if (arg2
== NULL
) {
19558 PyErr_SetString(PyExc_TypeError
,"null reference");
19561 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxTimeSpan
,
19562 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19564 if (arg3
== NULL
) {
19565 PyErr_SetString(PyExc_TypeError
,"null reference");
19569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19570 result
= (bool)((wxDateTime
const *)arg1
)->IsEqualUpTo((wxDateTime
const &)*arg2
,(wxTimeSpan
const &)*arg3
);
19572 wxPyEndAllowThreads(__tstate
);
19573 if (PyErr_Occurred()) SWIG_fail
;
19575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19582 static PyObject
*_wrap_DateTime_AddTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19583 PyObject
*resultobj
;
19584 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19585 wxTimeSpan
*arg2
= 0 ;
19586 wxDateTime
*result
;
19587 PyObject
* obj0
= 0 ;
19588 PyObject
* obj1
= 0 ;
19589 char *kwnames
[] = {
19590 (char *) "self",(char *) "diff", NULL
19593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19597 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19599 if (arg2
== NULL
) {
19600 PyErr_SetString(PyExc_TypeError
,"null reference");
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 wxDateTime
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
19607 result
= (wxDateTime
*) &_result_ref
;
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19620 static PyObject
*_wrap_DateTime_AddDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19623 wxDateSpan
*arg2
= 0 ;
19624 wxDateTime
*result
;
19625 PyObject
* obj0
= 0 ;
19626 PyObject
* obj1
= 0 ;
19627 char *kwnames
[] = {
19628 (char *) "self",(char *) "diff", NULL
19631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_AddDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19637 if (arg2
== NULL
) {
19638 PyErr_SetString(PyExc_TypeError
,"null reference");
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19644 wxDateTime
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
19645 result
= (wxDateTime
*) &_result_ref
;
19648 wxPyEndAllowThreads(__tstate
);
19649 if (PyErr_Occurred()) SWIG_fail
;
19651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19658 static PyObject
*_wrap_DateTime_SubtractTS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19659 PyObject
*resultobj
;
19660 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19661 wxTimeSpan
*arg2
= 0 ;
19662 wxDateTime
*result
;
19663 PyObject
* obj0
= 0 ;
19664 PyObject
* obj1
= 0 ;
19665 char *kwnames
[] = {
19666 (char *) "self",(char *) "diff", NULL
19669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractTS",kwnames
,&obj0
,&obj1
)) goto fail
;
19670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19675 if (arg2
== NULL
) {
19676 PyErr_SetString(PyExc_TypeError
,"null reference");
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
19683 result
= (wxDateTime
*) &_result_ref
;
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19696 static PyObject
*_wrap_DateTime_SubtractDS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
;
19698 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19699 wxDateSpan
*arg2
= 0 ;
19700 wxDateTime
*result
;
19701 PyObject
* obj0
= 0 ;
19702 PyObject
* obj1
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self",(char *) "diff", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_SubtractDS",kwnames
,&obj0
,&obj1
)) goto fail
;
19708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19711 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19713 if (arg2
== NULL
) {
19714 PyErr_SetString(PyExc_TypeError
,"null reference");
19718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19720 wxDateTime
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
19721 result
= (wxDateTime
*) &_result_ref
;
19724 wxPyEndAllowThreads(__tstate
);
19725 if (PyErr_Occurred()) SWIG_fail
;
19727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19734 static PyObject
*_wrap_DateTime_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19737 wxDateTime
*arg2
= 0 ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "dt", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
19746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19751 if (arg2
== NULL
) {
19752 PyErr_SetString(PyExc_TypeError
,"null reference");
19756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19757 result
= ((wxDateTime
const *)arg1
)->Subtract((wxDateTime
const &)*arg2
);
19759 wxPyEndAllowThreads(__tstate
);
19760 if (PyErr_Occurred()) SWIG_fail
;
19763 wxTimeSpan
* resultptr
;
19764 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
19765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
19773 static PyObject
*_wrap_DateTime___iadd____SWIG_0(PyObject
*, PyObject
*args
) {
19774 PyObject
*resultobj
;
19775 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19776 wxTimeSpan
*arg2
= 0 ;
19777 wxDateTime
*result
;
19778 PyObject
* obj0
= 0 ;
19779 PyObject
* obj1
= 0 ;
19781 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19784 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19785 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19787 if (arg2
== NULL
) {
19788 PyErr_SetString(PyExc_TypeError
,"null reference");
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19794 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
19795 result
= (wxDateTime
*) &_result_ref
;
19798 wxPyEndAllowThreads(__tstate
);
19799 if (PyErr_Occurred()) SWIG_fail
;
19801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19808 static PyObject
*_wrap_DateTime___iadd____SWIG_1(PyObject
*, PyObject
*args
) {
19809 PyObject
*resultobj
;
19810 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19811 wxDateSpan
*arg2
= 0 ;
19812 wxDateTime
*result
;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19816 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___iadd__",&obj0
,&obj1
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19820 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19822 if (arg2
== NULL
) {
19823 PyErr_SetString(PyExc_TypeError
,"null reference");
19827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 wxDateTime
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
19830 result
= (wxDateTime
*) &_result_ref
;
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19843 static PyObject
*_wrap_DateTime___iadd__(PyObject
*self
, PyObject
*args
) {
19848 argc
= PyObject_Length(args
);
19849 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19850 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19856 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19866 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
19874 return _wrap_DateTime___iadd____SWIG_0(self
,args
);
19882 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
19892 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
19900 return _wrap_DateTime___iadd____SWIG_1(self
,args
);
19905 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___iadd__'");
19910 static PyObject
*_wrap_DateTime___isub____SWIG_0(PyObject
*, PyObject
*args
) {
19911 PyObject
*resultobj
;
19912 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19913 wxTimeSpan
*arg2
= 0 ;
19914 wxDateTime
*result
;
19915 PyObject
* obj0
= 0 ;
19916 PyObject
* obj1
= 0 ;
19918 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
19922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19924 if (arg2
== NULL
) {
19925 PyErr_SetString(PyExc_TypeError
,"null reference");
19929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19931 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
19932 result
= (wxDateTime
*) &_result_ref
;
19935 wxPyEndAllowThreads(__tstate
);
19936 if (PyErr_Occurred()) SWIG_fail
;
19938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19945 static PyObject
*_wrap_DateTime___isub____SWIG_1(PyObject
*, PyObject
*args
) {
19946 PyObject
*resultobj
;
19947 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
19948 wxDateSpan
*arg2
= 0 ;
19949 wxDateTime
*result
;
19950 PyObject
* obj0
= 0 ;
19951 PyObject
* obj1
= 0 ;
19953 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___isub__",&obj0
,&obj1
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
19955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
19957 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19959 if (arg2
== NULL
) {
19960 PyErr_SetString(PyExc_TypeError
,"null reference");
19964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 wxDateTime
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
19967 result
= (wxDateTime
*) &_result_ref
;
19970 wxPyEndAllowThreads(__tstate
);
19971 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateTime
, 0);
19980 static PyObject
*_wrap_DateTime___isub__(PyObject
*self
, PyObject
*args
) {
19985 argc
= PyObject_Length(args
);
19986 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
19987 argv
[ii
] = PyTuple_GetItem(args
,ii
);
19993 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20003 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20011 return _wrap_DateTime___isub____SWIG_0(self
,args
);
20019 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20029 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20037 return _wrap_DateTime___isub____SWIG_1(self
,args
);
20042 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___isub__'");
20047 static PyObject
*_wrap_DateTime___add____SWIG_0(PyObject
*, PyObject
*args
) {
20048 PyObject
*resultobj
;
20049 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20050 wxTimeSpan
*arg2
= 0 ;
20052 PyObject
* obj0
= 0 ;
20053 PyObject
* obj1
= 0 ;
20055 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20058 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20059 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20061 if (arg2
== NULL
) {
20062 PyErr_SetString(PyExc_TypeError
,"null reference");
20066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20067 result
= wxDateTime___add____SWIG_0(arg1
,(wxTimeSpan
const &)*arg2
);
20069 wxPyEndAllowThreads(__tstate
);
20070 if (PyErr_Occurred()) SWIG_fail
;
20073 wxDateTime
* resultptr
;
20074 resultptr
= new wxDateTime((wxDateTime
&) result
);
20075 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20083 static PyObject
*_wrap_DateTime___add____SWIG_1(PyObject
*, PyObject
*args
) {
20084 PyObject
*resultobj
;
20085 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20086 wxDateSpan
*arg2
= 0 ;
20088 PyObject
* obj0
= 0 ;
20089 PyObject
* obj1
= 0 ;
20091 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___add__",&obj0
,&obj1
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20094 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20095 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20097 if (arg2
== NULL
) {
20098 PyErr_SetString(PyExc_TypeError
,"null reference");
20102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20103 result
= wxDateTime___add____SWIG_1(arg1
,(wxDateSpan
const &)*arg2
);
20105 wxPyEndAllowThreads(__tstate
);
20106 if (PyErr_Occurred()) SWIG_fail
;
20109 wxDateTime
* resultptr
;
20110 resultptr
= new wxDateTime((wxDateTime
&) result
);
20111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20119 static PyObject
*_wrap_DateTime___add__(PyObject
*self
, PyObject
*args
) {
20124 argc
= PyObject_Length(args
);
20125 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20126 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20132 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20142 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20150 return _wrap_DateTime___add____SWIG_0(self
,args
);
20158 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20168 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20176 return _wrap_DateTime___add____SWIG_1(self
,args
);
20181 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___add__'");
20186 static PyObject
*_wrap_DateTime___sub____SWIG_0(PyObject
*, PyObject
*args
) {
20187 PyObject
*resultobj
;
20188 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20189 wxDateTime
*arg2
= 0 ;
20191 PyObject
* obj0
= 0 ;
20192 PyObject
* obj1
= 0 ;
20194 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20200 if (arg2
== NULL
) {
20201 PyErr_SetString(PyExc_TypeError
,"null reference");
20205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20206 result
= wxDateTime___sub____SWIG_0(arg1
,(wxDateTime
const &)*arg2
);
20208 wxPyEndAllowThreads(__tstate
);
20209 if (PyErr_Occurred()) SWIG_fail
;
20212 wxTimeSpan
* resultptr
;
20213 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
20214 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
20222 static PyObject
*_wrap_DateTime___sub____SWIG_1(PyObject
*, PyObject
*args
) {
20223 PyObject
*resultobj
;
20224 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20225 wxTimeSpan
*arg2
= 0 ;
20227 PyObject
* obj0
= 0 ;
20228 PyObject
* obj1
= 0 ;
20230 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
20234 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20236 if (arg2
== NULL
) {
20237 PyErr_SetString(PyExc_TypeError
,"null reference");
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= wxDateTime___sub____SWIG_1(arg1
,(wxTimeSpan
const &)*arg2
);
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20248 wxDateTime
* resultptr
;
20249 resultptr
= new wxDateTime((wxDateTime
&) result
);
20250 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20258 static PyObject
*_wrap_DateTime___sub____SWIG_2(PyObject
*, PyObject
*args
) {
20259 PyObject
*resultobj
;
20260 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20261 wxDateSpan
*arg2
= 0 ;
20263 PyObject
* obj0
= 0 ;
20264 PyObject
* obj1
= 0 ;
20266 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___sub__",&obj0
,&obj1
)) goto fail
;
20267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
20270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20272 if (arg2
== NULL
) {
20273 PyErr_SetString(PyExc_TypeError
,"null reference");
20277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20278 result
= wxDateTime___sub____SWIG_2(arg1
,(wxDateSpan
const &)*arg2
);
20280 wxPyEndAllowThreads(__tstate
);
20281 if (PyErr_Occurred()) SWIG_fail
;
20284 wxDateTime
* resultptr
;
20285 resultptr
= new wxDateTime((wxDateTime
&) result
);
20286 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
20294 static PyObject
*_wrap_DateTime___sub__(PyObject
*self
, PyObject
*args
) {
20299 argc
= PyObject_Length(args
);
20300 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
20301 argv
[ii
] = PyTuple_GetItem(args
,ii
);
20307 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20317 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20325 return _wrap_DateTime___sub____SWIG_0(self
,args
);
20333 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20343 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxTimeSpan
, 0) == -1) {
20351 return _wrap_DateTime___sub____SWIG_1(self
,args
);
20359 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDateTime
, 0) == -1) {
20369 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDateSpan
, 0) == -1) {
20377 return _wrap_DateTime___sub____SWIG_2(self
,args
);
20382 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DateTime___sub__'");
20387 static PyObject
*_wrap_DateTime___lt__(PyObject
*, PyObject
*args
) {
20388 PyObject
*resultobj
;
20389 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20390 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20392 PyObject
* obj0
= 0 ;
20393 PyObject
* obj1
= 0 ;
20395 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___lt__",&obj0
,&obj1
)) goto fail
;
20396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (bool)wxDateTime___lt__(arg1
,(wxDateTime
const *)arg2
);
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20414 static PyObject
*_wrap_DateTime___le__(PyObject
*, PyObject
*args
) {
20415 PyObject
*resultobj
;
20416 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20417 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20419 PyObject
* obj0
= 0 ;
20420 PyObject
* obj1
= 0 ;
20422 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___le__",&obj0
,&obj1
)) goto fail
;
20423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20425 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20429 result
= (bool)wxDateTime___le__(arg1
,(wxDateTime
const *)arg2
);
20431 wxPyEndAllowThreads(__tstate
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20441 static PyObject
*_wrap_DateTime___gt__(PyObject
*, PyObject
*args
) {
20442 PyObject
*resultobj
;
20443 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20444 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20446 PyObject
* obj0
= 0 ;
20447 PyObject
* obj1
= 0 ;
20449 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___gt__",&obj0
,&obj1
)) goto fail
;
20450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20452 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 result
= (bool)wxDateTime___gt__(arg1
,(wxDateTime
const *)arg2
);
20458 wxPyEndAllowThreads(__tstate
);
20459 if (PyErr_Occurred()) SWIG_fail
;
20461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20468 static PyObject
*_wrap_DateTime___ge__(PyObject
*, PyObject
*args
) {
20469 PyObject
*resultobj
;
20470 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20471 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 PyObject
* obj1
= 0 ;
20476 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ge__",&obj0
,&obj1
)) goto fail
;
20477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20479 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 result
= (bool)wxDateTime___ge__(arg1
,(wxDateTime
const *)arg2
);
20485 wxPyEndAllowThreads(__tstate
);
20486 if (PyErr_Occurred()) SWIG_fail
;
20488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20495 static PyObject
*_wrap_DateTime___eq__(PyObject
*, PyObject
*args
) {
20496 PyObject
*resultobj
;
20497 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20498 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20500 PyObject
* obj0
= 0 ;
20501 PyObject
* obj1
= 0 ;
20503 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___eq__",&obj0
,&obj1
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 result
= (bool)wxDateTime___eq__(arg1
,(wxDateTime
const *)arg2
);
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20522 static PyObject
*_wrap_DateTime___ne__(PyObject
*, PyObject
*args
) {
20523 PyObject
*resultobj
;
20524 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20525 wxDateTime
*arg2
= (wxDateTime
*) 0 ;
20527 PyObject
* obj0
= 0 ;
20528 PyObject
* obj1
= 0 ;
20530 if(!PyArg_ParseTuple(args
,(char *)"OO:DateTime___ne__",&obj0
,&obj1
)) goto fail
;
20531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateTime
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (bool)wxDateTime___ne__(arg1
,(wxDateTime
const *)arg2
);
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20549 static PyObject
*_wrap_DateTime_ParseRfc822Date(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20552 wxString
*arg2
= 0 ;
20554 bool temp2
= False
;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20557 char *kwnames
[] = {
20558 (char *) "self",(char *) "date", NULL
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseRfc822Date",kwnames
,&obj0
,&obj1
)) goto fail
;
20562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20565 arg2
= wxString_in_helper(obj1
);
20566 if (arg2
== NULL
) SWIG_fail
;
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= (int)wxDateTime_ParseRfc822Date(arg1
,(wxString
const &)*arg2
);
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= SWIG_FromInt((int)result
);
20591 static PyObject
*_wrap_DateTime_ParseFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20592 PyObject
*resultobj
;
20593 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20594 wxString
*arg2
= 0 ;
20595 wxString
const &arg3_defvalue
= wxPyDateFormatStr
;
20596 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20597 wxDateTime
const &arg4_defvalue
= wxDefaultDateTime
;
20598 wxDateTime
*arg4
= (wxDateTime
*) &arg4_defvalue
;
20600 bool temp2
= False
;
20601 bool temp3
= False
;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20604 PyObject
* obj2
= 0 ;
20605 PyObject
* obj3
= 0 ;
20606 char *kwnames
[] = {
20607 (char *) "self",(char *) "date",(char *) "format",(char *) "dateDef", NULL
20610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:DateTime_ParseFormat",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20614 arg2
= wxString_in_helper(obj1
);
20615 if (arg2
== NULL
) SWIG_fail
;
20620 arg3
= wxString_in_helper(obj2
);
20621 if (arg3
== NULL
) SWIG_fail
;
20626 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxDateTime
,
20627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20629 if (arg4
== NULL
) {
20630 PyErr_SetString(PyExc_TypeError
,"null reference");
20635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20636 result
= (int)wxDateTime_ParseFormat(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxDateTime
const &)*arg4
);
20638 wxPyEndAllowThreads(__tstate
);
20639 if (PyErr_Occurred()) SWIG_fail
;
20641 resultobj
= SWIG_FromInt((int)result
);
20664 static PyObject
*_wrap_DateTime_ParseDateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20666 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20667 wxString
*arg2
= 0 ;
20669 bool temp2
= False
;
20670 PyObject
* obj0
= 0 ;
20671 PyObject
* obj1
= 0 ;
20672 char *kwnames
[] = {
20673 (char *) "self",(char *) "datetime", NULL
20676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDateTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20680 arg2
= wxString_in_helper(obj1
);
20681 if (arg2
== NULL
) SWIG_fail
;
20685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20686 result
= (int)wxDateTime_ParseDateTime(arg1
,(wxString
const &)*arg2
);
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20691 resultobj
= SWIG_FromInt((int)result
);
20706 static PyObject
*_wrap_DateTime_ParseDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
;
20708 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20709 wxString
*arg2
= 0 ;
20711 bool temp2
= False
;
20712 PyObject
* obj0
= 0 ;
20713 PyObject
* obj1
= 0 ;
20714 char *kwnames
[] = {
20715 (char *) "self",(char *) "date", NULL
20718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseDate",kwnames
,&obj0
,&obj1
)) goto fail
;
20719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20722 arg2
= wxString_in_helper(obj1
);
20723 if (arg2
== NULL
) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 result
= (int)wxDateTime_ParseDate(arg1
,(wxString
const &)*arg2
);
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 resultobj
= SWIG_FromInt((int)result
);
20748 static PyObject
*_wrap_DateTime_ParseTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20751 wxString
*arg2
= 0 ;
20753 bool temp2
= False
;
20754 PyObject
* obj0
= 0 ;
20755 PyObject
* obj1
= 0 ;
20756 char *kwnames
[] = {
20757 (char *) "self",(char *) "time", NULL
20760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateTime_ParseTime",kwnames
,&obj0
,&obj1
)) goto fail
;
20761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20764 arg2
= wxString_in_helper(obj1
);
20765 if (arg2
== NULL
) SWIG_fail
;
20769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20770 result
= (int)wxDateTime_ParseTime(arg1
,(wxString
const &)*arg2
);
20772 wxPyEndAllowThreads(__tstate
);
20773 if (PyErr_Occurred()) SWIG_fail
;
20775 resultobj
= SWIG_FromInt((int)result
);
20790 static PyObject
*_wrap_DateTime_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20791 PyObject
*resultobj
;
20792 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20793 wxString
const &arg2_defvalue
= wxPyDateFormatStr
;
20794 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
20795 wxDateTime::TimeZone
const &arg3_defvalue
= LOCAL_TZ
;
20796 wxDateTime::TimeZone
*arg3
= (wxDateTime::TimeZone
*) &arg3_defvalue
;
20798 bool temp2
= False
;
20799 bool temp3
= False
;
20800 PyObject
* obj0
= 0 ;
20801 PyObject
* obj1
= 0 ;
20802 PyObject
* obj2
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self",(char *) "format",(char *) "tz", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:DateTime_Format",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20812 arg2
= wxString_in_helper(obj1
);
20813 if (arg2
== NULL
) SWIG_fail
;
20819 arg3
= new wxDateTime::TimeZone((wxDateTime::TZ
)PyInt_AsLong(obj2
));
20824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20825 result
= ((wxDateTime
const *)arg1
)->Format((wxString
const &)*arg2
,(wxDateTime::TimeZone
const &)*arg3
);
20827 wxPyEndAllowThreads(__tstate
);
20828 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20834 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20842 if (temp3
) delete arg3
;
20851 if (temp3
) delete arg3
;
20857 static PyObject
*_wrap_DateTime_FormatDate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20859 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20861 PyObject
* obj0
= 0 ;
20862 char *kwnames
[] = {
20863 (char *) "self", NULL
20866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatDate",kwnames
,&obj0
)) goto fail
;
20867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= ((wxDateTime
const *)arg1
)->FormatDate();
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20889 static PyObject
*_wrap_DateTime_FormatTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20890 PyObject
*resultobj
;
20891 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20893 PyObject
* obj0
= 0 ;
20894 char *kwnames
[] = {
20895 (char *) "self", NULL
20898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatTime",kwnames
,&obj0
)) goto fail
;
20899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 result
= ((wxDateTime
const *)arg1
)->FormatTime();
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20921 static PyObject
*_wrap_DateTime_FormatISODate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
;
20923 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20925 PyObject
* obj0
= 0 ;
20926 char *kwnames
[] = {
20927 (char *) "self", NULL
20930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISODate",kwnames
,&obj0
)) goto fail
;
20931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 result
= ((wxDateTime
const *)arg1
)->FormatISODate();
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20953 static PyObject
*_wrap_DateTime_FormatISOTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20955 wxDateTime
*arg1
= (wxDateTime
*) 0 ;
20957 PyObject
* obj0
= 0 ;
20958 char *kwnames
[] = {
20959 (char *) "self", NULL
20962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateTime_FormatISOTime",kwnames
,&obj0
)) goto fail
;
20963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateTime
,
20964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20967 result
= ((wxDateTime
const *)arg1
)->FormatISOTime();
20969 wxPyEndAllowThreads(__tstate
);
20970 if (PyErr_Occurred()) SWIG_fail
;
20974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20985 static PyObject
* DateTime_swigregister(PyObject
*, PyObject
*args
) {
20987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20988 SWIG_TypeClientData(SWIGTYPE_p_wxDateTime
, obj
);
20990 return Py_BuildValue((char *)"");
20992 static PyObject
*_wrap_TimeSpan_Seconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20993 PyObject
*resultobj
;
20996 PyObject
* obj0
= 0 ;
20997 char *kwnames
[] = {
20998 (char *) "sec", NULL
21001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Seconds",kwnames
,&obj0
)) goto fail
;
21002 arg1
= (long) SWIG_AsLong(obj0
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21006 result
= wxTimeSpan::Seconds(arg1
);
21008 wxPyEndAllowThreads(__tstate
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21012 wxTimeSpan
* resultptr
;
21013 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21022 static PyObject
*_wrap_TimeSpan_Second(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21025 char *kwnames
[] = {
21029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Second",kwnames
)) goto fail
;
21031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21032 result
= wxTimeSpan::Second();
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21038 wxTimeSpan
* resultptr
;
21039 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21048 static PyObject
*_wrap_TimeSpan_Minutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21052 PyObject
* obj0
= 0 ;
21053 char *kwnames
[] = {
21054 (char *) "min", NULL
21057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Minutes",kwnames
,&obj0
)) goto fail
;
21058 arg1
= (long) SWIG_AsLong(obj0
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 result
= wxTimeSpan::Minutes(arg1
);
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21068 wxTimeSpan
* resultptr
;
21069 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21078 static PyObject
*_wrap_TimeSpan_Minute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21081 char *kwnames
[] = {
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Minute",kwnames
)) goto fail
;
21087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21088 result
= wxTimeSpan::Minute();
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 wxTimeSpan
* resultptr
;
21095 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21096 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21104 static PyObject
*_wrap_TimeSpan_Hours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21108 PyObject
* obj0
= 0 ;
21109 char *kwnames
[] = {
21110 (char *) "hours", NULL
21113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Hours",kwnames
,&obj0
)) goto fail
;
21114 arg1
= (long) SWIG_AsLong(obj0
);
21115 if (PyErr_Occurred()) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= wxTimeSpan::Hours(arg1
);
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21124 wxTimeSpan
* resultptr
;
21125 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21134 static PyObject
*_wrap_TimeSpan_Hour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21137 char *kwnames
[] = {
21141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Hour",kwnames
)) goto fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 result
= wxTimeSpan::Hour();
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21150 wxTimeSpan
* resultptr
;
21151 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21160 static PyObject
*_wrap_TimeSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21161 PyObject
*resultobj
;
21164 PyObject
* obj0
= 0 ;
21165 char *kwnames
[] = {
21166 (char *) "days", NULL
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Days",kwnames
,&obj0
)) goto fail
;
21170 arg1
= (long) SWIG_AsLong(obj0
);
21171 if (PyErr_Occurred()) SWIG_fail
;
21173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21174 result
= wxTimeSpan::Days(arg1
);
21176 wxPyEndAllowThreads(__tstate
);
21177 if (PyErr_Occurred()) SWIG_fail
;
21180 wxTimeSpan
* resultptr
;
21181 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21182 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21190 static PyObject
*_wrap_TimeSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21193 char *kwnames
[] = {
21197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Day",kwnames
)) goto fail
;
21199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21200 result
= wxTimeSpan::Day();
21202 wxPyEndAllowThreads(__tstate
);
21203 if (PyErr_Occurred()) SWIG_fail
;
21206 wxTimeSpan
* resultptr
;
21207 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21208 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21216 static PyObject
*_wrap_TimeSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21220 PyObject
* obj0
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "days", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Weeks",kwnames
,&obj0
)) goto fail
;
21226 arg1
= (long) SWIG_AsLong(obj0
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21230 result
= wxTimeSpan::Weeks(arg1
);
21232 wxPyEndAllowThreads(__tstate
);
21233 if (PyErr_Occurred()) SWIG_fail
;
21236 wxTimeSpan
* resultptr
;
21237 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21246 static PyObject
*_wrap_TimeSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21247 PyObject
*resultobj
;
21249 char *kwnames
[] = {
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":TimeSpan_Week",kwnames
)) goto fail
;
21255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21256 result
= wxTimeSpan::Week();
21258 wxPyEndAllowThreads(__tstate
);
21259 if (PyErr_Occurred()) SWIG_fail
;
21262 wxTimeSpan
* resultptr
;
21263 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21264 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21272 static PyObject
*_wrap_new_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21273 PyObject
*resultobj
;
21274 long arg1
= (long) 0 ;
21275 long arg2
= (long) 0 ;
21276 long arg3
= (long) 0 ;
21277 long arg4
= (long) 0 ;
21278 wxTimeSpan
*result
;
21279 PyObject
* obj0
= 0 ;
21280 PyObject
* obj1
= 0 ;
21281 PyObject
* obj2
= 0 ;
21282 PyObject
* obj3
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "hours",(char *) "minutes",(char *) "seconds",(char *) "milliseconds", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_TimeSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21289 arg1
= (long) SWIG_AsLong(obj0
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21293 arg2
= (long) SWIG_AsLong(obj1
);
21294 if (PyErr_Occurred()) SWIG_fail
;
21297 arg3
= (long) SWIG_AsLong(obj2
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 arg4
= (long) SWIG_AsLong(obj3
);
21302 if (PyErr_Occurred()) SWIG_fail
;
21305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21306 result
= (wxTimeSpan
*)new wxTimeSpan(arg1
,arg2
,arg3
,arg4
);
21308 wxPyEndAllowThreads(__tstate
);
21309 if (PyErr_Occurred()) SWIG_fail
;
21311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 1);
21318 static PyObject
*_wrap_delete_TimeSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21319 PyObject
*resultobj
;
21320 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21321 PyObject
* obj0
= 0 ;
21322 char *kwnames
[] = {
21323 (char *) "self", NULL
21326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_TimeSpan",kwnames
,&obj0
)) goto fail
;
21327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21336 Py_INCREF(Py_None
); resultobj
= Py_None
;
21343 static PyObject
*_wrap_TimeSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21344 PyObject
*resultobj
;
21345 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21346 wxTimeSpan
*arg2
= 0 ;
21347 wxTimeSpan
*result
;
21348 PyObject
* obj0
= 0 ;
21349 PyObject
* obj1
= 0 ;
21350 char *kwnames
[] = {
21351 (char *) "self",(char *) "diff", NULL
21354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
21355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21360 if (arg2
== NULL
) {
21361 PyErr_SetString(PyExc_TypeError
,"null reference");
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21367 wxTimeSpan
&_result_ref
= (arg1
)->Add((wxTimeSpan
const &)*arg2
);
21368 result
= (wxTimeSpan
*) &_result_ref
;
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21381 static PyObject
*_wrap_TimeSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21383 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21384 wxTimeSpan
*arg2
= 0 ;
21385 wxTimeSpan
*result
;
21386 PyObject
* obj0
= 0 ;
21387 PyObject
* obj1
= 0 ;
21388 char *kwnames
[] = {
21389 (char *) "self",(char *) "diff", NULL
21392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
21393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21398 if (arg2
== NULL
) {
21399 PyErr_SetString(PyExc_TypeError
,"null reference");
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21405 wxTimeSpan
&_result_ref
= (arg1
)->Subtract((wxTimeSpan
const &)*arg2
);
21406 result
= (wxTimeSpan
*) &_result_ref
;
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21419 static PyObject
*_wrap_TimeSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21423 wxTimeSpan
*result
;
21424 PyObject
* obj0
= 0 ;
21425 PyObject
* obj1
= 0 ;
21426 char *kwnames
[] = {
21427 (char *) "self",(char *) "n", NULL
21430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
21431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21433 arg2
= (int) SWIG_AsInt(obj1
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21438 wxTimeSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
21439 result
= (wxTimeSpan
*) &_result_ref
;
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21452 static PyObject
*_wrap_TimeSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21453 PyObject
*resultobj
;
21454 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21455 wxTimeSpan
*result
;
21456 PyObject
* obj0
= 0 ;
21457 char *kwnames
[] = {
21458 (char *) "self", NULL
21461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Neg",kwnames
,&obj0
)) goto fail
;
21462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21467 wxTimeSpan
&_result_ref
= (arg1
)->Neg();
21468 result
= (wxTimeSpan
*) &_result_ref
;
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21481 static PyObject
*_wrap_TimeSpan_Abs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21485 PyObject
* obj0
= 0 ;
21486 char *kwnames
[] = {
21487 (char *) "self", NULL
21490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_Abs",kwnames
,&obj0
)) goto fail
;
21491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= ((wxTimeSpan
const *)arg1
)->Abs();
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21501 wxTimeSpan
* resultptr
;
21502 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21511 static PyObject
*_wrap_TimeSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21512 PyObject
*resultobj
;
21513 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21514 wxTimeSpan
*arg2
= 0 ;
21515 wxTimeSpan
*result
;
21516 PyObject
* obj0
= 0 ;
21517 PyObject
* obj1
= 0 ;
21518 char *kwnames
[] = {
21519 (char *) "self",(char *) "diff", NULL
21522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
21523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21525 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21526 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21528 if (arg2
== NULL
) {
21529 PyErr_SetString(PyExc_TypeError
,"null reference");
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 wxTimeSpan
&_result_ref
= (arg1
)->operator +=((wxTimeSpan
const &)*arg2
);
21536 result
= (wxTimeSpan
*) &_result_ref
;
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21549 static PyObject
*_wrap_TimeSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21550 PyObject
*resultobj
;
21551 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21552 wxTimeSpan
*arg2
= 0 ;
21553 wxTimeSpan
*result
;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self",(char *) "diff", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21566 if (arg2
== NULL
) {
21567 PyErr_SetString(PyExc_TypeError
,"null reference");
21571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 wxTimeSpan
&_result_ref
= (arg1
)->operator -=((wxTimeSpan
const &)*arg2
);
21574 result
= (wxTimeSpan
*) &_result_ref
;
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21587 static PyObject
*_wrap_TimeSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21588 PyObject
*resultobj
;
21589 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21591 wxTimeSpan
*result
;
21592 PyObject
* obj0
= 0 ;
21593 PyObject
* obj1
= 0 ;
21594 char *kwnames
[] = {
21595 (char *) "self",(char *) "n", NULL
21598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21601 arg2
= (int) SWIG_AsInt(obj1
);
21602 if (PyErr_Occurred()) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 wxTimeSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
21607 result
= (wxTimeSpan
*) &_result_ref
;
21610 wxPyEndAllowThreads(__tstate
);
21611 if (PyErr_Occurred()) SWIG_fail
;
21613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21620 static PyObject
*_wrap_TimeSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21623 wxTimeSpan
*result
;
21624 PyObject
* obj0
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan___neg__",kwnames
,&obj0
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 wxTimeSpan
&_result_ref
= (arg1
)->operator -();
21636 result
= (wxTimeSpan
*) &_result_ref
;
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTimeSpan
, 0);
21649 static PyObject
*_wrap_TimeSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21650 PyObject
*resultobj
;
21651 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21652 wxTimeSpan
*arg2
= 0 ;
21654 PyObject
* obj0
= 0 ;
21655 PyObject
* obj1
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self",(char *) "other", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21666 if (arg2
== NULL
) {
21667 PyErr_SetString(PyExc_TypeError
,"null reference");
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= wxTimeSpan___add__(arg1
,(wxTimeSpan
const &)*arg2
);
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 wxTimeSpan
* resultptr
;
21679 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21688 static PyObject
*_wrap_TimeSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21691 wxTimeSpan
*arg2
= 0 ;
21693 PyObject
* obj0
= 0 ;
21694 PyObject
* obj1
= 0 ;
21695 char *kwnames
[] = {
21696 (char *) "self",(char *) "other", NULL
21699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
21700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21703 SWIG_POINTER_EXCEPTION
| 0)) == -1)
21705 if (arg2
== NULL
) {
21706 PyErr_SetString(PyExc_TypeError
,"null reference");
21710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21711 result
= wxTimeSpan___sub__(arg1
,(wxTimeSpan
const &)*arg2
);
21713 wxPyEndAllowThreads(__tstate
);
21714 if (PyErr_Occurred()) SWIG_fail
;
21717 wxTimeSpan
* resultptr
;
21718 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21727 static PyObject
*_wrap_TimeSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21728 PyObject
*resultobj
;
21729 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21732 PyObject
* obj0
= 0 ;
21733 PyObject
* obj1
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self",(char *) "n", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21741 arg2
= (int) SWIG_AsInt(obj1
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21745 result
= wxTimeSpan___mul__(arg1
,arg2
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21751 wxTimeSpan
* resultptr
;
21752 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21753 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21761 static PyObject
*_wrap_TimeSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21762 PyObject
*resultobj
;
21763 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 PyObject
* obj1
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "self",(char *) "n", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21775 arg2
= (int) SWIG_AsInt(obj1
);
21776 if (PyErr_Occurred()) SWIG_fail
;
21778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21779 result
= wxTimeSpan___rmul__(arg1
,arg2
);
21781 wxPyEndAllowThreads(__tstate
);
21782 if (PyErr_Occurred()) SWIG_fail
;
21785 wxTimeSpan
* resultptr
;
21786 resultptr
= new wxTimeSpan((wxTimeSpan
&) result
);
21787 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxTimeSpan
, 1);
21795 static PyObject
*_wrap_TimeSpan___lt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21796 PyObject
*resultobj
;
21797 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21798 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21800 PyObject
* obj0
= 0 ;
21801 PyObject
* obj1
= 0 ;
21802 char *kwnames
[] = {
21803 (char *) "self",(char *) "other", NULL
21806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___lt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 result
= (bool)wxTimeSpan___lt__(arg1
,(wxTimeSpan
const *)arg2
);
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21825 static PyObject
*_wrap_TimeSpan___le__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21827 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21828 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21830 PyObject
* obj0
= 0 ;
21831 PyObject
* obj1
= 0 ;
21832 char *kwnames
[] = {
21833 (char *) "self",(char *) "other", NULL
21836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___le__",kwnames
,&obj0
,&obj1
)) goto fail
;
21837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21839 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21843 result
= (bool)wxTimeSpan___le__(arg1
,(wxTimeSpan
const *)arg2
);
21845 wxPyEndAllowThreads(__tstate
);
21846 if (PyErr_Occurred()) SWIG_fail
;
21848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21855 static PyObject
*_wrap_TimeSpan___gt__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21856 PyObject
*resultobj
;
21857 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21858 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21860 PyObject
* obj0
= 0 ;
21861 PyObject
* obj1
= 0 ;
21862 char *kwnames
[] = {
21863 (char *) "self",(char *) "other", NULL
21866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___gt__",kwnames
,&obj0
,&obj1
)) goto fail
;
21867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21873 result
= (bool)wxTimeSpan___gt__(arg1
,(wxTimeSpan
const *)arg2
);
21875 wxPyEndAllowThreads(__tstate
);
21876 if (PyErr_Occurred()) SWIG_fail
;
21878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21885 static PyObject
*_wrap_TimeSpan___ge__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21886 PyObject
*resultobj
;
21887 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21888 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21890 PyObject
* obj0
= 0 ;
21891 PyObject
* obj1
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self",(char *) "other", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ge__",kwnames
,&obj0
,&obj1
)) goto fail
;
21897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21899 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 result
= (bool)wxTimeSpan___ge__(arg1
,(wxTimeSpan
const *)arg2
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21915 static PyObject
*_wrap_TimeSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
;
21917 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21918 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21920 PyObject
* obj0
= 0 ;
21921 PyObject
* obj1
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self",(char *) "other", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
21927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21933 result
= (bool)wxTimeSpan___eq__(arg1
,(wxTimeSpan
const *)arg2
);
21935 wxPyEndAllowThreads(__tstate
);
21936 if (PyErr_Occurred()) SWIG_fail
;
21938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21945 static PyObject
*_wrap_TimeSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
;
21947 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21948 wxTimeSpan
*arg2
= (wxTimeSpan
*) 0 ;
21950 PyObject
* obj0
= 0 ;
21951 PyObject
* obj1
= 0 ;
21952 char *kwnames
[] = {
21953 (char *) "self",(char *) "other", NULL
21956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
21957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
21960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21963 result
= (bool)wxTimeSpan___ne__(arg1
,(wxTimeSpan
const *)arg2
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21975 static PyObject
*_wrap_TimeSpan_IsNull(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
21979 PyObject
* obj0
= 0 ;
21980 char *kwnames
[] = {
21981 (char *) "self", NULL
21984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNull",kwnames
,&obj0
)) goto fail
;
21985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
21986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21989 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNull();
21991 wxPyEndAllowThreads(__tstate
);
21992 if (PyErr_Occurred()) SWIG_fail
;
21994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22001 static PyObject
*_wrap_TimeSpan_IsPositive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22002 PyObject
*resultobj
;
22003 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22005 PyObject
* obj0
= 0 ;
22006 char *kwnames
[] = {
22007 (char *) "self", NULL
22010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsPositive",kwnames
,&obj0
)) goto fail
;
22011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (bool)((wxTimeSpan
const *)arg1
)->IsPositive();
22017 wxPyEndAllowThreads(__tstate
);
22018 if (PyErr_Occurred()) SWIG_fail
;
22020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22027 static PyObject
*_wrap_TimeSpan_IsNegative(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22028 PyObject
*resultobj
;
22029 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22031 PyObject
* obj0
= 0 ;
22032 char *kwnames
[] = {
22033 (char *) "self", NULL
22036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_IsNegative",kwnames
,&obj0
)) goto fail
;
22037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22041 result
= (bool)((wxTimeSpan
const *)arg1
)->IsNegative();
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22053 static PyObject
*_wrap_TimeSpan_IsEqualTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22054 PyObject
*resultobj
;
22055 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22056 wxTimeSpan
*arg2
= 0 ;
22058 PyObject
* obj0
= 0 ;
22059 PyObject
* obj1
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self",(char *) "ts", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsEqualTo",kwnames
,&obj0
,&obj1
)) goto fail
;
22065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22068 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22070 if (arg2
== NULL
) {
22071 PyErr_SetString(PyExc_TypeError
,"null reference");
22075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22076 result
= (bool)((wxTimeSpan
const *)arg1
)->IsEqualTo((wxTimeSpan
const &)*arg2
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22088 static PyObject
*_wrap_TimeSpan_IsLongerThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22089 PyObject
*resultobj
;
22090 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22091 wxTimeSpan
*arg2
= 0 ;
22093 PyObject
* obj0
= 0 ;
22094 PyObject
* obj1
= 0 ;
22095 char *kwnames
[] = {
22096 (char *) "self",(char *) "ts", NULL
22099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsLongerThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22102 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22103 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22105 if (arg2
== NULL
) {
22106 PyErr_SetString(PyExc_TypeError
,"null reference");
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22111 result
= (bool)((wxTimeSpan
const *)arg1
)->IsLongerThan((wxTimeSpan
const &)*arg2
);
22113 wxPyEndAllowThreads(__tstate
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22123 static PyObject
*_wrap_TimeSpan_IsShorterThan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
;
22125 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22126 wxTimeSpan
*arg2
= 0 ;
22128 PyObject
* obj0
= 0 ;
22129 PyObject
* obj1
= 0 ;
22130 char *kwnames
[] = {
22131 (char *) "self",(char *) "t", NULL
22134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TimeSpan_IsShorterThan",kwnames
,&obj0
,&obj1
)) goto fail
;
22135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxTimeSpan
,
22138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22140 if (arg2
== NULL
) {
22141 PyErr_SetString(PyExc_TypeError
,"null reference");
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (bool)((wxTimeSpan
const *)arg1
)->IsShorterThan((wxTimeSpan
const &)*arg2
);
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22158 static PyObject
*_wrap_TimeSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22160 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22162 PyObject
* obj0
= 0 ;
22163 char *kwnames
[] = {
22164 (char *) "self", NULL
22167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (int)((wxTimeSpan
const *)arg1
)->GetWeeks();
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= SWIG_FromInt((int)result
);
22184 static PyObject
*_wrap_TimeSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22188 PyObject
* obj0
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22198 result
= (int)((wxTimeSpan
const *)arg1
)->GetDays();
22200 wxPyEndAllowThreads(__tstate
);
22201 if (PyErr_Occurred()) SWIG_fail
;
22203 resultobj
= SWIG_FromInt((int)result
);
22210 static PyObject
*_wrap_TimeSpan_GetHours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22211 PyObject
*resultobj
;
22212 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22214 PyObject
* obj0
= 0 ;
22215 char *kwnames
[] = {
22216 (char *) "self", NULL
22219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetHours",kwnames
,&obj0
)) goto fail
;
22220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22224 result
= (int)((wxTimeSpan
const *)arg1
)->GetHours();
22226 wxPyEndAllowThreads(__tstate
);
22227 if (PyErr_Occurred()) SWIG_fail
;
22229 resultobj
= SWIG_FromInt((int)result
);
22236 static PyObject
*_wrap_TimeSpan_GetMinutes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22240 PyObject
* obj0
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMinutes",kwnames
,&obj0
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22250 result
= (int)((wxTimeSpan
const *)arg1
)->GetMinutes();
22252 wxPyEndAllowThreads(__tstate
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22255 resultobj
= SWIG_FromInt((int)result
);
22262 static PyObject
*_wrap_TimeSpan_GetSeconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22263 PyObject
*resultobj
;
22264 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22266 PyObject
* obj0
= 0 ;
22267 char *kwnames
[] = {
22268 (char *) "self", NULL
22271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetSeconds",kwnames
,&obj0
)) goto fail
;
22272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22276 result
= ((wxTimeSpan
const *)arg1
)->GetSeconds();
22278 wxPyEndAllowThreads(__tstate
);
22279 if (PyErr_Occurred()) SWIG_fail
;
22282 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22283 hi
= PyLong_FromLong( (&result
)->GetHi() );
22284 lo
= PyLong_FromLong( (&result
)->GetLo() );
22285 shifter
= PyLong_FromLong(32);
22286 shifted
= PyNumber_Lshift(hi
, shifter
);
22287 resultobj
= PyNumber_Or(shifted
, lo
);
22290 Py_DECREF(shifter
);
22291 Py_DECREF(shifted
);
22299 static PyObject
*_wrap_TimeSpan_GetMilliseconds(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22300 PyObject
*resultobj
;
22301 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22303 PyObject
* obj0
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TimeSpan_GetMilliseconds",kwnames
,&obj0
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= ((wxTimeSpan
const *)arg1
)->GetMilliseconds();
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22319 PyObject
*hi
, *lo
, *shifter
, *shifted
;
22320 hi
= PyLong_FromLong( (&result
)->GetHi() );
22321 lo
= PyLong_FromLong( (&result
)->GetLo() );
22322 shifter
= PyLong_FromLong(32);
22323 shifted
= PyNumber_Lshift(hi
, shifter
);
22324 resultobj
= PyNumber_Or(shifted
, lo
);
22327 Py_DECREF(shifter
);
22328 Py_DECREF(shifted
);
22336 static PyObject
*_wrap_TimeSpan_Format(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22337 PyObject
*resultobj
;
22338 wxTimeSpan
*arg1
= (wxTimeSpan
*) 0 ;
22339 wxString
const &arg2_defvalue
= wxPyTimeSpanFormatStr
;
22340 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
22342 bool temp2
= False
;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self",(char *) "format", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TimeSpan_Format",kwnames
,&obj0
,&obj1
)) goto fail
;
22350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTimeSpan
,
22351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22354 arg2
= wxString_in_helper(obj1
);
22355 if (arg2
== NULL
) SWIG_fail
;
22360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22361 result
= ((wxTimeSpan
const *)arg1
)->Format((wxString
const &)*arg2
);
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22387 static PyObject
* TimeSpan_swigregister(PyObject
*, PyObject
*args
) {
22389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
22390 SWIG_TypeClientData(SWIGTYPE_p_wxTimeSpan
, obj
);
22392 return Py_BuildValue((char *)"");
22394 static PyObject
*_wrap_new_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22395 PyObject
*resultobj
;
22396 int arg1
= (int) 0 ;
22397 int arg2
= (int) 0 ;
22398 int arg3
= (int) 0 ;
22399 int arg4
= (int) 0 ;
22400 wxDateSpan
*result
;
22401 PyObject
* obj0
= 0 ;
22402 PyObject
* obj1
= 0 ;
22403 PyObject
* obj2
= 0 ;
22404 PyObject
* obj3
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "years",(char *) "months",(char *) "weeks",(char *) "days", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_DateSpan",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22411 arg1
= (int) SWIG_AsInt(obj0
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22415 arg2
= (int) SWIG_AsInt(obj1
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22419 arg3
= (int) SWIG_AsInt(obj2
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 arg4
= (int) SWIG_AsInt(obj3
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22428 result
= (wxDateSpan
*)new wxDateSpan(arg1
,arg2
,arg3
,arg4
);
22430 wxPyEndAllowThreads(__tstate
);
22431 if (PyErr_Occurred()) SWIG_fail
;
22433 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 1);
22440 static PyObject
*_wrap_delete_DateSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22441 PyObject
*resultobj
;
22442 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22443 PyObject
* obj0
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DateSpan",kwnames
,&obj0
)) goto fail
;
22449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22458 Py_INCREF(Py_None
); resultobj
= Py_None
;
22465 static PyObject
*_wrap_DateSpan_Days(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22466 PyObject
*resultobj
;
22469 PyObject
* obj0
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "days", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Days",kwnames
,&obj0
)) goto fail
;
22475 arg1
= (int) SWIG_AsInt(obj0
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22479 result
= wxDateSpan::Days(arg1
);
22481 wxPyEndAllowThreads(__tstate
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22485 wxDateSpan
* resultptr
;
22486 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22495 static PyObject
*_wrap_DateSpan_Day(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22496 PyObject
*resultobj
;
22498 char *kwnames
[] = {
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Day",kwnames
)) goto fail
;
22504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22505 result
= wxDateSpan::Day();
22507 wxPyEndAllowThreads(__tstate
);
22508 if (PyErr_Occurred()) SWIG_fail
;
22511 wxDateSpan
* resultptr
;
22512 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22513 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22521 static PyObject
*_wrap_DateSpan_Weeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22525 PyObject
* obj0
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "weeks", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Weeks",kwnames
,&obj0
)) goto fail
;
22531 arg1
= (int) SWIG_AsInt(obj0
);
22532 if (PyErr_Occurred()) SWIG_fail
;
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= wxDateSpan::Weeks(arg1
);
22537 wxPyEndAllowThreads(__tstate
);
22538 if (PyErr_Occurred()) SWIG_fail
;
22541 wxDateSpan
* resultptr
;
22542 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22543 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22551 static PyObject
*_wrap_DateSpan_Week(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22554 char *kwnames
[] = {
22558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Week",kwnames
)) goto fail
;
22560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22561 result
= wxDateSpan::Week();
22563 wxPyEndAllowThreads(__tstate
);
22564 if (PyErr_Occurred()) SWIG_fail
;
22567 wxDateSpan
* resultptr
;
22568 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22569 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22577 static PyObject
*_wrap_DateSpan_Months(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22581 PyObject
* obj0
= 0 ;
22582 char *kwnames
[] = {
22583 (char *) "mon", NULL
22586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Months",kwnames
,&obj0
)) goto fail
;
22587 arg1
= (int) SWIG_AsInt(obj0
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 result
= wxDateSpan::Months(arg1
);
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22597 wxDateSpan
* resultptr
;
22598 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22599 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22607 static PyObject
*_wrap_DateSpan_Month(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22608 PyObject
*resultobj
;
22610 char *kwnames
[] = {
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Month",kwnames
)) goto fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 result
= wxDateSpan::Month();
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22623 wxDateSpan
* resultptr
;
22624 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22633 static PyObject
*_wrap_DateSpan_Years(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22634 PyObject
*resultobj
;
22637 PyObject
* obj0
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "years", NULL
22642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Years",kwnames
,&obj0
)) goto fail
;
22643 arg1
= (int) SWIG_AsInt(obj0
);
22644 if (PyErr_Occurred()) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 result
= wxDateSpan::Years(arg1
);
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22653 wxDateSpan
* resultptr
;
22654 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22663 static PyObject
*_wrap_DateSpan_Year(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22666 char *kwnames
[] = {
22670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":DateSpan_Year",kwnames
)) goto fail
;
22672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22673 result
= wxDateSpan::Year();
22675 wxPyEndAllowThreads(__tstate
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22679 wxDateSpan
* resultptr
;
22680 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
22681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
22689 static PyObject
*_wrap_DateSpan_SetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22690 PyObject
*resultobj
;
22691 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22693 wxDateSpan
*result
;
22694 PyObject
* obj0
= 0 ;
22695 PyObject
* obj1
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self",(char *) "n", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetYears",kwnames
,&obj0
,&obj1
)) goto fail
;
22701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22703 arg2
= (int) SWIG_AsInt(obj1
);
22704 if (PyErr_Occurred()) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22708 wxDateSpan
&_result_ref
= (arg1
)->SetYears(arg2
);
22709 result
= (wxDateSpan
*) &_result_ref
;
22712 wxPyEndAllowThreads(__tstate
);
22713 if (PyErr_Occurred()) SWIG_fail
;
22715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22722 static PyObject
*_wrap_DateSpan_SetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22723 PyObject
*resultobj
;
22724 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22726 wxDateSpan
*result
;
22727 PyObject
* obj0
= 0 ;
22728 PyObject
* obj1
= 0 ;
22729 char *kwnames
[] = {
22730 (char *) "self",(char *) "n", NULL
22733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetMonths",kwnames
,&obj0
,&obj1
)) goto fail
;
22734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22736 arg2
= (int) SWIG_AsInt(obj1
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22741 wxDateSpan
&_result_ref
= (arg1
)->SetMonths(arg2
);
22742 result
= (wxDateSpan
*) &_result_ref
;
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22755 static PyObject
*_wrap_DateSpan_SetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22756 PyObject
*resultobj
;
22757 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22759 wxDateSpan
*result
;
22760 PyObject
* obj0
= 0 ;
22761 PyObject
* obj1
= 0 ;
22762 char *kwnames
[] = {
22763 (char *) "self",(char *) "n", NULL
22766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetWeeks",kwnames
,&obj0
,&obj1
)) goto fail
;
22767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22769 arg2
= (int) SWIG_AsInt(obj1
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22774 wxDateSpan
&_result_ref
= (arg1
)->SetWeeks(arg2
);
22775 result
= (wxDateSpan
*) &_result_ref
;
22778 wxPyEndAllowThreads(__tstate
);
22779 if (PyErr_Occurred()) SWIG_fail
;
22781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22788 static PyObject
*_wrap_DateSpan_SetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22789 PyObject
*resultobj
;
22790 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22792 wxDateSpan
*result
;
22793 PyObject
* obj0
= 0 ;
22794 PyObject
* obj1
= 0 ;
22795 char *kwnames
[] = {
22796 (char *) "self",(char *) "n", NULL
22799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_SetDays",kwnames
,&obj0
,&obj1
)) goto fail
;
22800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22802 arg2
= (int) SWIG_AsInt(obj1
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 wxDateSpan
&_result_ref
= (arg1
)->SetDays(arg2
);
22808 result
= (wxDateSpan
*) &_result_ref
;
22811 wxPyEndAllowThreads(__tstate
);
22812 if (PyErr_Occurred()) SWIG_fail
;
22814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22821 static PyObject
*_wrap_DateSpan_GetYears(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
;
22823 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22825 PyObject
* obj0
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetYears",kwnames
,&obj0
)) goto fail
;
22831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= (int)((wxDateSpan
const *)arg1
)->GetYears();
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22840 resultobj
= SWIG_FromInt((int)result
);
22847 static PyObject
*_wrap_DateSpan_GetMonths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
;
22849 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetMonths",kwnames
,&obj0
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22861 result
= (int)((wxDateSpan
const *)arg1
)->GetMonths();
22863 wxPyEndAllowThreads(__tstate
);
22864 if (PyErr_Occurred()) SWIG_fail
;
22866 resultobj
= SWIG_FromInt((int)result
);
22873 static PyObject
*_wrap_DateSpan_GetWeeks(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22877 PyObject
* obj0
= 0 ;
22878 char *kwnames
[] = {
22879 (char *) "self", NULL
22882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetWeeks",kwnames
,&obj0
)) goto fail
;
22883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= (int)((wxDateSpan
const *)arg1
)->GetWeeks();
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= SWIG_FromInt((int)result
);
22899 static PyObject
*_wrap_DateSpan_GetDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
;
22901 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22903 PyObject
* obj0
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetDays",kwnames
,&obj0
)) goto fail
;
22909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 result
= (int)((wxDateSpan
const *)arg1
)->GetDays();
22915 wxPyEndAllowThreads(__tstate
);
22916 if (PyErr_Occurred()) SWIG_fail
;
22918 resultobj
= SWIG_FromInt((int)result
);
22925 static PyObject
*_wrap_DateSpan_GetTotalDays(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22926 PyObject
*resultobj
;
22927 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22929 PyObject
* obj0
= 0 ;
22930 char *kwnames
[] = {
22931 (char *) "self", NULL
22934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_GetTotalDays",kwnames
,&obj0
)) goto fail
;
22935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22939 result
= (int)((wxDateSpan
const *)arg1
)->GetTotalDays();
22941 wxPyEndAllowThreads(__tstate
);
22942 if (PyErr_Occurred()) SWIG_fail
;
22944 resultobj
= SWIG_FromInt((int)result
);
22951 static PyObject
*_wrap_DateSpan_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22952 PyObject
*resultobj
;
22953 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22954 wxDateSpan
*arg2
= 0 ;
22955 wxDateSpan
*result
;
22956 PyObject
* obj0
= 0 ;
22957 PyObject
* obj1
= 0 ;
22958 char *kwnames
[] = {
22959 (char *) "self",(char *) "other", NULL
22962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Add",kwnames
,&obj0
,&obj1
)) goto fail
;
22963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
22964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
22966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
22968 if (arg2
== NULL
) {
22969 PyErr_SetString(PyExc_TypeError
,"null reference");
22973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22975 wxDateSpan
&_result_ref
= (arg1
)->Add((wxDateSpan
const &)*arg2
);
22976 result
= (wxDateSpan
*) &_result_ref
;
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
22989 static PyObject
*_wrap_DateSpan_Subtract(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22990 PyObject
*resultobj
;
22991 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
22992 wxDateSpan
*arg2
= 0 ;
22993 wxDateSpan
*result
;
22994 PyObject
* obj0
= 0 ;
22995 PyObject
* obj1
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self",(char *) "other", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Subtract",kwnames
,&obj0
,&obj1
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23003 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23004 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23006 if (arg2
== NULL
) {
23007 PyErr_SetString(PyExc_TypeError
,"null reference");
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 wxDateSpan
&_result_ref
= (arg1
)->Subtract((wxDateSpan
const &)*arg2
);
23014 result
= (wxDateSpan
*) &_result_ref
;
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23027 static PyObject
*_wrap_DateSpan_Neg(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23028 PyObject
*resultobj
;
23029 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23030 wxDateSpan
*result
;
23031 PyObject
* obj0
= 0 ;
23032 char *kwnames
[] = {
23033 (char *) "self", NULL
23036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan_Neg",kwnames
,&obj0
)) goto fail
;
23037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23042 wxDateSpan
&_result_ref
= (arg1
)->Neg();
23043 result
= (wxDateSpan
*) &_result_ref
;
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23056 static PyObject
*_wrap_DateSpan_Multiply(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
;
23058 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23060 wxDateSpan
*result
;
23061 PyObject
* obj0
= 0 ;
23062 PyObject
* obj1
= 0 ;
23063 char *kwnames
[] = {
23064 (char *) "self",(char *) "factor", NULL
23067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan_Multiply",kwnames
,&obj0
,&obj1
)) goto fail
;
23068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23070 arg2
= (int) SWIG_AsInt(obj1
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23075 wxDateSpan
&_result_ref
= (arg1
)->Multiply(arg2
);
23076 result
= (wxDateSpan
*) &_result_ref
;
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23089 static PyObject
*_wrap_DateSpan___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
;
23091 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23092 wxDateSpan
*arg2
= 0 ;
23093 wxDateSpan
*result
;
23094 PyObject
* obj0
= 0 ;
23095 PyObject
* obj1
= 0 ;
23096 char *kwnames
[] = {
23097 (char *) "self",(char *) "other", NULL
23100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
23101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23103 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23104 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23106 if (arg2
== NULL
) {
23107 PyErr_SetString(PyExc_TypeError
,"null reference");
23111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 wxDateSpan
&_result_ref
= (arg1
)->operator +=((wxDateSpan
const &)*arg2
);
23114 result
= (wxDateSpan
*) &_result_ref
;
23117 wxPyEndAllowThreads(__tstate
);
23118 if (PyErr_Occurred()) SWIG_fail
;
23120 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23127 static PyObject
*_wrap_DateSpan___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23128 PyObject
*resultobj
;
23129 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23130 wxDateSpan
*arg2
= 0 ;
23131 wxDateSpan
*result
;
23132 PyObject
* obj0
= 0 ;
23133 PyObject
* obj1
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self",(char *) "other", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23141 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23142 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23144 if (arg2
== NULL
) {
23145 PyErr_SetString(PyExc_TypeError
,"null reference");
23149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 wxDateSpan
&_result_ref
= (arg1
)->operator -=((wxDateSpan
const &)*arg2
);
23152 result
= (wxDateSpan
*) &_result_ref
;
23155 wxPyEndAllowThreads(__tstate
);
23156 if (PyErr_Occurred()) SWIG_fail
;
23158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23165 static PyObject
*_wrap_DateSpan___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23166 PyObject
*resultobj
;
23167 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23168 wxDateSpan
*result
;
23169 PyObject
* obj0
= 0 ;
23170 char *kwnames
[] = {
23171 (char *) "self", NULL
23174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DateSpan___neg__",kwnames
,&obj0
)) goto fail
;
23175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23180 wxDateSpan
&_result_ref
= (arg1
)->operator -();
23181 result
= (wxDateSpan
*) &_result_ref
;
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23194 static PyObject
*_wrap_DateSpan___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23198 wxDateSpan
*result
;
23199 PyObject
* obj0
= 0 ;
23200 PyObject
* obj1
= 0 ;
23201 char *kwnames
[] = {
23202 (char *) "self",(char *) "factor", NULL
23205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23208 arg2
= (int) SWIG_AsInt(obj1
);
23209 if (PyErr_Occurred()) SWIG_fail
;
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23213 wxDateSpan
&_result_ref
= (arg1
)->operator *=(arg2
);
23214 result
= (wxDateSpan
*) &_result_ref
;
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDateSpan
, 0);
23227 static PyObject
*_wrap_DateSpan___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23228 PyObject
*resultobj
;
23229 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23230 wxDateSpan
*arg2
= 0 ;
23232 PyObject
* obj0
= 0 ;
23233 PyObject
* obj1
= 0 ;
23234 char *kwnames
[] = {
23235 (char *) "self",(char *) "other", NULL
23238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
23239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23241 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23242 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23244 if (arg2
== NULL
) {
23245 PyErr_SetString(PyExc_TypeError
,"null reference");
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 result
= wxDateSpan___add__(arg1
,(wxDateSpan
const &)*arg2
);
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23256 wxDateSpan
* resultptr
;
23257 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23266 static PyObject
*_wrap_DateSpan___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23267 PyObject
*resultobj
;
23268 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23269 wxDateSpan
*arg2
= 0 ;
23271 PyObject
* obj0
= 0 ;
23272 PyObject
* obj1
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self",(char *) "other", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
23278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23280 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23281 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23283 if (arg2
== NULL
) {
23284 PyErr_SetString(PyExc_TypeError
,"null reference");
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 result
= wxDateSpan___sub__(arg1
,(wxDateSpan
const &)*arg2
);
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23295 wxDateSpan
* resultptr
;
23296 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23297 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23305 static PyObject
*_wrap_DateSpan___mul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23310 PyObject
* obj0
= 0 ;
23311 PyObject
* obj1
= 0 ;
23312 char *kwnames
[] = {
23313 (char *) "self",(char *) "n", NULL
23316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___mul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23319 arg2
= (int) SWIG_AsInt(obj1
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23323 result
= wxDateSpan___mul__(arg1
,arg2
);
23325 wxPyEndAllowThreads(__tstate
);
23326 if (PyErr_Occurred()) SWIG_fail
;
23329 wxDateSpan
* resultptr
;
23330 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23331 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23339 static PyObject
*_wrap_DateSpan___rmul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23340 PyObject
*resultobj
;
23341 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23344 PyObject
* obj0
= 0 ;
23345 PyObject
* obj1
= 0 ;
23346 char *kwnames
[] = {
23347 (char *) "self",(char *) "n", NULL
23350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___rmul__",kwnames
,&obj0
,&obj1
)) goto fail
;
23351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23353 arg2
= (int) SWIG_AsInt(obj1
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= wxDateSpan___rmul__(arg1
,arg2
);
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23363 wxDateSpan
* resultptr
;
23364 resultptr
= new wxDateSpan((wxDateSpan
&) result
);
23365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateSpan
, 1);
23373 static PyObject
*_wrap_DateSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23374 PyObject
*resultobj
;
23375 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23376 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23378 PyObject
* obj0
= 0 ;
23379 PyObject
* obj1
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "self",(char *) "other", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
23385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 result
= (bool)wxDateSpan___eq__(arg1
,(wxDateSpan
const *)arg2
);
23393 wxPyEndAllowThreads(__tstate
);
23394 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23403 static PyObject
*_wrap_DateSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23404 PyObject
*resultobj
;
23405 wxDateSpan
*arg1
= (wxDateSpan
*) 0 ;
23406 wxDateSpan
*arg2
= (wxDateSpan
*) 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self",(char *) "other", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DateSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDateSpan
,
23416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23417 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDateSpan
,
23418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 result
= (bool)wxDateSpan___ne__(arg1
,(wxDateSpan
const *)arg2
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23433 static PyObject
* DateSpan_swigregister(PyObject
*, PyObject
*args
) {
23435 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23436 SWIG_TypeClientData(SWIGTYPE_p_wxDateSpan
, obj
);
23438 return Py_BuildValue((char *)"");
23440 static PyObject
*_wrap_GetLocalTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
;
23443 char *kwnames
[] = {
23447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTime",kwnames
)) goto fail
;
23449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23450 result
= (long)wxGetLocalTime();
23452 wxPyEndAllowThreads(__tstate
);
23453 if (PyErr_Occurred()) SWIG_fail
;
23455 resultobj
= SWIG_FromLong((long)result
);
23462 static PyObject
*_wrap_GetUTCTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23463 PyObject
*resultobj
;
23465 char *kwnames
[] = {
23469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetUTCTime",kwnames
)) goto fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 result
= (long)wxGetUTCTime();
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23477 resultobj
= SWIG_FromLong((long)result
);
23484 static PyObject
*_wrap_GetCurrentTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23487 char *kwnames
[] = {
23491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetCurrentTime",kwnames
)) goto fail
;
23493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23494 result
= (long)wxGetCurrentTime();
23496 wxPyEndAllowThreads(__tstate
);
23497 if (PyErr_Occurred()) SWIG_fail
;
23499 resultobj
= SWIG_FromLong((long)result
);
23506 static PyObject
*_wrap_GetLocalTimeMillis(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23507 PyObject
*resultobj
;
23509 char *kwnames
[] = {
23513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetLocalTimeMillis",kwnames
)) goto fail
;
23515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23516 result
= wxGetLocalTimeMillis();
23518 wxPyEndAllowThreads(__tstate
);
23519 if (PyErr_Occurred()) SWIG_fail
;
23522 PyObject
*hi
, *lo
, *shifter
, *shifted
;
23523 hi
= PyLong_FromLong( (&result
)->GetHi() );
23524 lo
= PyLong_FromLong( (&result
)->GetLo() );
23525 shifter
= PyLong_FromLong(32);
23526 shifted
= PyNumber_Lshift(hi
, shifter
);
23527 resultobj
= PyNumber_Or(shifted
, lo
);
23530 Py_DECREF(shifter
);
23531 Py_DECREF(shifted
);
23539 static int _wrap_DefaultDateTime_set(PyObject
*) {
23540 PyErr_SetString(PyExc_TypeError
,"Variable DefaultDateTime is read-only.");
23545 static PyObject
*_wrap_DefaultDateTime_get() {
23548 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultDateTime
), SWIGTYPE_p_wxDateTime
, 0);
23553 static PyObject
*_wrap_new_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23556 wxDataFormat
*result
;
23557 PyObject
* obj0
= 0 ;
23558 char *kwnames
[] = {
23559 (char *) "type", NULL
23562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_DataFormat",kwnames
,&obj0
)) goto fail
;
23563 arg1
= (wxDataFormatId
) SWIG_AsInt(obj0
);
23564 if (PyErr_Occurred()) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (wxDataFormat
*)new wxDataFormat((wxDataFormatId
)arg1
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23579 static PyObject
*_wrap_new_CustomDataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxString
*arg1
= 0 ;
23582 wxDataFormat
*result
;
23583 bool temp1
= False
;
23584 PyObject
* obj0
= 0 ;
23585 char *kwnames
[] = {
23586 (char *) "format", NULL
23589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_CustomDataFormat",kwnames
,&obj0
)) goto fail
;
23591 arg1
= wxString_in_helper(obj0
);
23592 if (arg1
== NULL
) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (wxDataFormat
*)new wxDataFormat((wxString
const &)*arg1
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 1);
23617 static PyObject
*_wrap_delete_DataFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23618 PyObject
*resultobj
;
23619 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23620 PyObject
* obj0
= 0 ;
23621 char *kwnames
[] = {
23622 (char *) "self", NULL
23625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataFormat",kwnames
,&obj0
)) goto fail
;
23626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 Py_INCREF(Py_None
); resultobj
= Py_None
;
23642 static PyObject
*_wrap_DataFormat___eq____SWIG_0(PyObject
*, PyObject
*args
) {
23643 PyObject
*resultobj
;
23644 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23647 PyObject
* obj0
= 0 ;
23648 PyObject
* obj1
= 0 ;
23650 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23653 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23657 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormatId
)arg2
);
23659 wxPyEndAllowThreads(__tstate
);
23660 if (PyErr_Occurred()) SWIG_fail
;
23662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23669 static PyObject
*_wrap_DataFormat___ne____SWIG_0(PyObject
*, PyObject
*args
) {
23670 PyObject
*resultobj
;
23671 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23674 PyObject
* obj0
= 0 ;
23675 PyObject
* obj1
= 0 ;
23677 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23680 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23681 if (PyErr_Occurred()) SWIG_fail
;
23683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23684 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormatId
)arg2
);
23686 wxPyEndAllowThreads(__tstate
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23696 static PyObject
*_wrap_DataFormat___eq____SWIG_1(PyObject
*, PyObject
*args
) {
23697 PyObject
*resultobj
;
23698 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23699 wxDataFormat
*arg2
= 0 ;
23701 PyObject
* obj0
= 0 ;
23702 PyObject
* obj1
= 0 ;
23704 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___eq__",&obj0
,&obj1
)) goto fail
;
23705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23708 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23710 if (arg2
== NULL
) {
23711 PyErr_SetString(PyExc_TypeError
,"null reference");
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= (bool)((wxDataFormat
const *)arg1
)->operator ==((wxDataFormat
const &)*arg2
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23728 static PyObject
*_wrap_DataFormat___eq__(PyObject
*self
, PyObject
*args
) {
23733 argc
= PyObject_Length(args
);
23734 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23735 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23741 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23751 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23759 return _wrap_DataFormat___eq____SWIG_1(self
,args
);
23767 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23775 _v
= SWIG_CheckInt(argv
[1]);
23777 return _wrap_DataFormat___eq____SWIG_0(self
,args
);
23782 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___eq__'");
23787 static PyObject
*_wrap_DataFormat___ne____SWIG_1(PyObject
*, PyObject
*args
) {
23788 PyObject
*resultobj
;
23789 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23790 wxDataFormat
*arg2
= 0 ;
23792 PyObject
* obj0
= 0 ;
23793 PyObject
* obj1
= 0 ;
23795 if(!PyArg_ParseTuple(args
,(char *)"OO:DataFormat___ne__",&obj0
,&obj1
)) goto fail
;
23796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
23799 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23801 if (arg2
== NULL
) {
23802 PyErr_SetString(PyExc_TypeError
,"null reference");
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 result
= (bool)((wxDataFormat
const *)arg1
)->operator !=((wxDataFormat
const &)*arg2
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23819 static PyObject
*_wrap_DataFormat___ne__(PyObject
*self
, PyObject
*args
) {
23824 argc
= PyObject_Length(args
);
23825 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
23826 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23832 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23842 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23850 return _wrap_DataFormat___ne____SWIG_1(self
,args
);
23858 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxDataFormat
, 0) == -1) {
23866 _v
= SWIG_CheckInt(argv
[1]);
23868 return _wrap_DataFormat___ne____SWIG_0(self
,args
);
23873 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'DataFormat___ne__'");
23878 static PyObject
*_wrap_DataFormat_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23880 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23882 PyObject
* obj0
= 0 ;
23883 PyObject
* obj1
= 0 ;
23884 char *kwnames
[] = {
23885 (char *) "self",(char *) "format", NULL
23888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
23889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23891 arg2
= (wxDataFormatId
) SWIG_AsInt(obj1
);
23892 if (PyErr_Occurred()) SWIG_fail
;
23894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23895 (arg1
)->SetType((wxDataFormatId
)arg2
);
23897 wxPyEndAllowThreads(__tstate
);
23898 if (PyErr_Occurred()) SWIG_fail
;
23900 Py_INCREF(Py_None
); resultobj
= Py_None
;
23907 static PyObject
*_wrap_DataFormat_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23908 PyObject
*resultobj
;
23909 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23911 PyObject
* obj0
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "self", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetType",kwnames
,&obj0
)) goto fail
;
23917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23921 result
= (int)((wxDataFormat
const *)arg1
)->GetType();
23923 wxPyEndAllowThreads(__tstate
);
23924 if (PyErr_Occurred()) SWIG_fail
;
23926 resultobj
= SWIG_FromInt((int)result
);
23933 static PyObject
*_wrap_DataFormat_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23934 PyObject
*resultobj
;
23935 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23937 PyObject
* obj0
= 0 ;
23938 char *kwnames
[] = {
23939 (char *) "self", NULL
23942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataFormat_GetId",kwnames
,&obj0
)) goto fail
;
23943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 result
= ((wxDataFormat
const *)arg1
)->GetId();
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23954 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23956 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23965 static PyObject
*_wrap_DataFormat_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxDataFormat
*arg1
= (wxDataFormat
*) 0 ;
23968 wxString
*arg2
= 0 ;
23969 bool temp2
= False
;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char *kwnames
[] = {
23973 (char *) "self",(char *) "format", NULL
23976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataFormat_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
23977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
23978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23980 arg2
= wxString_in_helper(obj1
);
23981 if (arg2
== NULL
) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 (arg1
)->SetId((wxString
const &)*arg2
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 Py_INCREF(Py_None
); resultobj
= Py_None
;
24006 static PyObject
* DataFormat_swigregister(PyObject
*, PyObject
*args
) {
24008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24009 SWIG_TypeClientData(SWIGTYPE_p_wxDataFormat
, obj
);
24011 return Py_BuildValue((char *)"");
24013 static int _wrap_FormatInvalid_set(PyObject
*) {
24014 PyErr_SetString(PyExc_TypeError
,"Variable FormatInvalid is read-only.");
24019 static PyObject
*_wrap_FormatInvalid_get() {
24022 pyobj
= SWIG_NewPointerObj((void *)(&wxFormatInvalid
), SWIGTYPE_p_wxDataFormat
, 0);
24027 static PyObject
*_wrap_delete_DataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24028 PyObject
*resultobj
;
24029 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24030 PyObject
* obj0
= 0 ;
24031 char *kwnames
[] = {
24032 (char *) "self", NULL
24035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DataObject",kwnames
,&obj0
)) goto fail
;
24036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 wxPyEndAllowThreads(__tstate
);
24043 if (PyErr_Occurred()) SWIG_fail
;
24045 Py_INCREF(Py_None
); resultobj
= Py_None
;
24052 static PyObject
*_wrap_DataObject_GetPreferredFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
;
24054 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24055 int arg2
= (int) wxDataObject::Get
;
24056 SwigValueWrapper
< wxDataFormat
> result
;
24057 PyObject
* obj0
= 0 ;
24058 PyObject
* obj1
= 0 ;
24059 char *kwnames
[] = {
24060 (char *) "self",(char *) "dir", NULL
24063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetPreferredFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24067 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24068 if (PyErr_Occurred()) SWIG_fail
;
24071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24072 result
= ((wxDataObject
const *)arg1
)->GetPreferredFormat((wxDataObject::Direction
)arg2
);
24074 wxPyEndAllowThreads(__tstate
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24078 wxDataFormat
* resultptr
;
24079 resultptr
= new wxDataFormat((wxDataFormat
&) result
);
24080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDataFormat
, 1);
24088 static PyObject
*_wrap_DataObject_GetFormatCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24089 PyObject
*resultobj
;
24090 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24091 int arg2
= (int) wxDataObject::Get
;
24093 PyObject
* obj0
= 0 ;
24094 PyObject
* obj1
= 0 ;
24095 char *kwnames
[] = {
24096 (char *) "self",(char *) "dir", NULL
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DataObject_GetFormatCount",kwnames
,&obj0
,&obj1
)) goto fail
;
24100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24103 arg2
= (wxDataObject::Direction
) SWIG_AsInt(obj1
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24108 result
= (size_t)((wxDataObject
const *)arg1
)->GetFormatCount((wxDataObject::Direction
)arg2
);
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24120 static PyObject
*_wrap_DataObject_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24123 wxDataFormat
*arg2
= 0 ;
24124 int arg3
= (int) wxDataObject::Get
;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 PyObject
* obj2
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "self",(char *) "format",(char *) "dir", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_IsSupported",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24137 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24139 if (arg2
== NULL
) {
24140 PyErr_SetString(PyExc_TypeError
,"null reference");
24144 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 result
= (bool)((wxDataObject
const *)arg1
)->IsSupported((wxDataFormat
const &)*arg2
,(wxDataObject::Direction
)arg3
);
24151 wxPyEndAllowThreads(__tstate
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24161 static PyObject
*_wrap_DataObject_GetDataSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24162 PyObject
*resultobj
;
24163 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24164 wxDataFormat
*arg2
= 0 ;
24166 PyObject
* obj0
= 0 ;
24167 PyObject
* obj1
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self",(char *) "format", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObject_GetDataSize",kwnames
,&obj0
,&obj1
)) goto fail
;
24173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24176 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24178 if (arg2
== NULL
) {
24179 PyErr_SetString(PyExc_TypeError
,"null reference");
24183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24184 result
= (size_t)((wxDataObject
const *)arg1
)->GetDataSize((wxDataFormat
const &)*arg2
);
24186 wxPyEndAllowThreads(__tstate
);
24187 if (PyErr_Occurred()) SWIG_fail
;
24189 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24196 static PyObject
*_wrap_DataObject_GetAllFormats(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24199 wxDataFormat
*arg2
= (wxDataFormat
*) 0 ;
24200 int arg3
= (int) wxDataObject::Get
;
24201 PyObject
* obj0
= 0 ;
24202 PyObject
* obj1
= 0 ;
24203 PyObject
* obj2
= 0 ;
24204 char *kwnames
[] = {
24205 (char *) "self",(char *) "formats",(char *) "dir", NULL
24208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObject_GetAllFormats",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24214 arg3
= (wxDataObject::Direction
) SWIG_AsInt(obj2
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 ((wxDataObject
const *)arg1
)->GetAllFormats(arg2
,(wxDataObject::Direction
)arg3
);
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 Py_INCREF(Py_None
); resultobj
= Py_None
;
24231 static PyObject
*_wrap_DataObject_GetDataHere(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24232 PyObject
*resultobj
;
24233 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24234 wxDataFormat
*arg2
= 0 ;
24235 void *arg3
= (void *) 0 ;
24237 PyObject
* obj0
= 0 ;
24238 PyObject
* obj1
= 0 ;
24239 PyObject
* obj2
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self",(char *) "format",(char *) "buf", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DataObject_GetDataHere",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24248 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24250 if (arg2
== NULL
) {
24251 PyErr_SetString(PyExc_TypeError
,"null reference");
24254 if ((SWIG_ConvertPtr(obj2
,&arg3
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 result
= (bool)((wxDataObject
const *)arg1
)->GetDataHere((wxDataFormat
const &)*arg2
,arg3
);
24259 wxPyEndAllowThreads(__tstate
);
24260 if (PyErr_Occurred()) SWIG_fail
;
24262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24269 static PyObject
*_wrap_DataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24270 PyObject
*resultobj
;
24271 wxDataObject
*arg1
= (wxDataObject
*) 0 ;
24272 wxDataFormat
*arg2
= 0 ;
24274 void *arg4
= (void *) 0 ;
24276 PyObject
* obj0
= 0 ;
24277 PyObject
* obj1
= 0 ;
24278 PyObject
* obj2
= 0 ;
24279 PyObject
* obj3
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self",(char *) "format",(char *) "len",(char *) "buf", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DataObject_SetData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
24286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24288 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24290 if (arg2
== NULL
) {
24291 PyErr_SetString(PyExc_TypeError
,"null reference");
24294 arg3
= (size_t) SWIG_AsUnsignedLong(obj2
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24296 if ((SWIG_ConvertPtr(obj3
,&arg4
,0,SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 result
= (bool)(arg1
)->SetData((wxDataFormat
const &)*arg2
,arg3
,(void const *)arg4
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24311 static PyObject
* DataObject_swigregister(PyObject
*, PyObject
*args
) {
24313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24314 SWIG_TypeClientData(SWIGTYPE_p_wxDataObject
, obj
);
24316 return Py_BuildValue((char *)"");
24318 static PyObject
*_wrap_new_DataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24321 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24322 wxDataObjectSimple
*result
;
24323 PyObject
* obj0
= 0 ;
24324 char *kwnames
[] = {
24325 (char *) "format", NULL
24328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DataObjectSimple",kwnames
,&obj0
)) goto fail
;
24330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24331 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24333 if (arg1
== NULL
) {
24334 PyErr_SetString(PyExc_TypeError
,"null reference");
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 result
= (wxDataObjectSimple
*)new wxDataObjectSimple((wxDataFormat
const &)*arg1
);
24342 wxPyEndAllowThreads(__tstate
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24345 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectSimple
, 1);
24352 static PyObject
*_wrap_DataObjectSimple_GetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24353 PyObject
*resultobj
;
24354 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24355 wxDataFormat
*result
;
24356 PyObject
* obj0
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DataObjectSimple_GetFormat",kwnames
,&obj0
)) goto fail
;
24362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24367 wxDataFormat
const &_result_ref
= (arg1
)->GetFormat();
24368 result
= (wxDataFormat
*) &_result_ref
;
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataFormat
, 0);
24381 static PyObject
*_wrap_DataObjectSimple_SetFormat(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxDataObjectSimple
*arg1
= (wxDataObjectSimple
*) 0 ;
24384 wxDataFormat
*arg2
= 0 ;
24385 PyObject
* obj0
= 0 ;
24386 PyObject
* obj1
= 0 ;
24387 char *kwnames
[] = {
24388 (char *) "self",(char *) "format", NULL
24391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DataObjectSimple_SetFormat",kwnames
,&obj0
,&obj1
)) goto fail
;
24392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectSimple
,
24393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
24395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24397 if (arg2
== NULL
) {
24398 PyErr_SetString(PyExc_TypeError
,"null reference");
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 (arg1
)->SetFormat((wxDataFormat
const &)*arg2
);
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 Py_INCREF(Py_None
); resultobj
= Py_None
;
24415 static PyObject
* DataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
24417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24418 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectSimple
, obj
);
24420 return Py_BuildValue((char *)"");
24422 static PyObject
*_wrap_new_PyDataObjectSimple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
24425 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
24426 wxPyDataObjectSimple
*result
;
24427 PyObject
* obj0
= 0 ;
24428 char *kwnames
[] = {
24429 (char *) "format", NULL
24432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyDataObjectSimple",kwnames
,&obj0
)) goto fail
;
24434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
24435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24437 if (arg1
== NULL
) {
24438 PyErr_SetString(PyExc_TypeError
,"null reference");
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 result
= (wxPyDataObjectSimple
*)new wxPyDataObjectSimple((wxDataFormat
const &)*arg1
);
24446 wxPyEndAllowThreads(__tstate
);
24447 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDataObjectSimple
, 1);
24456 static PyObject
*_wrap_PyDataObjectSimple__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24457 PyObject
*resultobj
;
24458 wxPyDataObjectSimple
*arg1
= (wxPyDataObjectSimple
*) 0 ;
24459 PyObject
*arg2
= (PyObject
*) 0 ;
24460 PyObject
*arg3
= (PyObject
*) 0 ;
24461 PyObject
* obj0
= 0 ;
24462 PyObject
* obj1
= 0 ;
24463 PyObject
* obj2
= 0 ;
24464 char *kwnames
[] = {
24465 (char *) "self",(char *) "self",(char *) "_class", NULL
24468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyDataObjectSimple__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDataObjectSimple
,
24470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24480 Py_INCREF(Py_None
); resultobj
= Py_None
;
24487 static PyObject
* PyDataObjectSimple_swigregister(PyObject
*, PyObject
*args
) {
24489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24490 SWIG_TypeClientData(SWIGTYPE_p_wxPyDataObjectSimple
, obj
);
24492 return Py_BuildValue((char *)"");
24494 static PyObject
*_wrap_new_DataObjectComposite(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24495 PyObject
*resultobj
;
24496 wxDataObjectComposite
*result
;
24497 char *kwnames
[] = {
24501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DataObjectComposite",kwnames
)) goto fail
;
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 result
= (wxDataObjectComposite
*)new wxDataObjectComposite();
24506 wxPyEndAllowThreads(__tstate
);
24507 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObjectComposite
, 1);
24516 static PyObject
*_wrap_DataObjectComposite_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24517 PyObject
*resultobj
;
24518 wxDataObjectComposite
*arg1
= (wxDataObjectComposite
*) 0 ;
24519 wxDataObjectSimple
*arg2
= (wxDataObjectSimple
*) 0 ;
24520 int arg3
= (int) False
;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 PyObject
* obj2
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self",(char *) "dataObject",(char *) "preferred", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:DataObjectComposite_Add",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObjectComposite
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObjectSimple
,
24532 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
24534 arg3
= (int) SWIG_AsInt(obj2
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24539 (arg1
)->Add(arg2
,arg3
);
24541 wxPyEndAllowThreads(__tstate
);
24542 if (PyErr_Occurred()) SWIG_fail
;
24544 Py_INCREF(Py_None
); resultobj
= Py_None
;
24551 static PyObject
* DataObjectComposite_swigregister(PyObject
*, PyObject
*args
) {
24553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24554 SWIG_TypeClientData(SWIGTYPE_p_wxDataObjectComposite
, obj
);
24556 return Py_BuildValue((char *)"");
24558 static PyObject
*_wrap_new_TextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24559 PyObject
*resultobj
;
24560 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24561 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24562 wxTextDataObject
*result
;
24563 bool temp1
= False
;
24564 PyObject
* obj0
= 0 ;
24565 char *kwnames
[] = {
24566 (char *) "text", NULL
24569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_TextDataObject",kwnames
,&obj0
)) goto fail
;
24572 arg1
= wxString_in_helper(obj0
);
24573 if (arg1
== NULL
) SWIG_fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 result
= (wxTextDataObject
*)new wxTextDataObject((wxString
const &)*arg1
);
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24584 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTextDataObject
, 1);
24599 static PyObject
*_wrap_TextDataObject_GetTextLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetTextLength",kwnames
,&obj0
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 result
= (size_t)(arg1
)->GetTextLength();
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24618 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
24625 static PyObject
*_wrap_TextDataObject_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24626 PyObject
*resultobj
;
24627 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24629 PyObject
* obj0
= 0 ;
24630 char *kwnames
[] = {
24631 (char *) "self", NULL
24634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDataObject_GetText",kwnames
,&obj0
)) goto fail
;
24635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24639 result
= (arg1
)->GetText();
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24646 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24648 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24657 static PyObject
*_wrap_TextDataObject_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxTextDataObject
*arg1
= (wxTextDataObject
*) 0 ;
24660 wxString
*arg2
= 0 ;
24661 bool temp2
= False
;
24662 PyObject
* obj0
= 0 ;
24663 PyObject
* obj1
= 0 ;
24664 char *kwnames
[] = {
24665 (char *) "self",(char *) "text", NULL
24668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextDataObject_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
24669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxTextDataObject
,
24670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24672 arg2
= wxString_in_helper(obj1
);
24673 if (arg2
== NULL
) SWIG_fail
;
24677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24678 (arg1
)->SetText((wxString
const &)*arg2
);
24680 wxPyEndAllowThreads(__tstate
);
24681 if (PyErr_Occurred()) SWIG_fail
;
24683 Py_INCREF(Py_None
); resultobj
= Py_None
;
24698 static PyObject
* TextDataObject_swigregister(PyObject
*, PyObject
*args
) {
24700 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24701 SWIG_TypeClientData(SWIGTYPE_p_wxTextDataObject
, obj
);
24703 return Py_BuildValue((char *)"");
24705 static PyObject
*_wrap_new_PyTextDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24706 PyObject
*resultobj
;
24707 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24708 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24709 wxPyTextDataObject
*result
;
24710 bool temp1
= False
;
24711 PyObject
* obj0
= 0 ;
24712 char *kwnames
[] = {
24713 (char *) "text", NULL
24716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyTextDataObject",kwnames
,&obj0
)) goto fail
;
24719 arg1
= wxString_in_helper(obj0
);
24720 if (arg1
== NULL
) SWIG_fail
;
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= (wxPyTextDataObject
*)new wxPyTextDataObject((wxString
const &)*arg1
);
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDataObject
, 1);
24746 static PyObject
*_wrap_PyTextDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxPyTextDataObject
*arg1
= (wxPyTextDataObject
*) 0 ;
24749 PyObject
*arg2
= (PyObject
*) 0 ;
24750 PyObject
*arg3
= (PyObject
*) 0 ;
24751 PyObject
* obj0
= 0 ;
24752 PyObject
* obj1
= 0 ;
24753 PyObject
* obj2
= 0 ;
24754 char *kwnames
[] = {
24755 (char *) "self",(char *) "self",(char *) "_class", NULL
24758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyTextDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDataObject
,
24760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 Py_INCREF(Py_None
); resultobj
= Py_None
;
24777 static PyObject
* PyTextDataObject_swigregister(PyObject
*, PyObject
*args
) {
24779 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24780 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDataObject
, obj
);
24782 return Py_BuildValue((char *)"");
24784 static PyObject
*_wrap_new_BitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24787 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24788 wxBitmapDataObject
*result
;
24789 PyObject
* obj0
= 0 ;
24790 char *kwnames
[] = {
24791 (char *) "bitmap", NULL
24794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BitmapDataObject",kwnames
,&obj0
)) goto fail
;
24796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24797 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24799 if (arg1
== NULL
) {
24800 PyErr_SetString(PyExc_TypeError
,"null reference");
24805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24806 result
= (wxBitmapDataObject
*)new wxBitmapDataObject((wxBitmap
const &)*arg1
);
24808 wxPyEndAllowThreads(__tstate
);
24809 if (PyErr_Occurred()) SWIG_fail
;
24811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmapDataObject
, 1);
24818 static PyObject
*_wrap_BitmapDataObject_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24820 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24822 PyObject
* obj0
= 0 ;
24823 char *kwnames
[] = {
24824 (char *) "self", NULL
24827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BitmapDataObject_GetBitmap",kwnames
,&obj0
)) goto fail
;
24828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 result
= ((wxBitmapDataObject
const *)arg1
)->GetBitmap();
24834 wxPyEndAllowThreads(__tstate
);
24835 if (PyErr_Occurred()) SWIG_fail
;
24838 wxBitmap
* resultptr
;
24839 resultptr
= new wxBitmap((wxBitmap
&) result
);
24840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
24848 static PyObject
*_wrap_BitmapDataObject_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24849 PyObject
*resultobj
;
24850 wxBitmapDataObject
*arg1
= (wxBitmapDataObject
*) 0 ;
24851 wxBitmap
*arg2
= 0 ;
24852 PyObject
* obj0
= 0 ;
24853 PyObject
* obj1
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self",(char *) "bitmap", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BitmapDataObject_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
24859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmapDataObject
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
24862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24864 if (arg2
== NULL
) {
24865 PyErr_SetString(PyExc_TypeError
,"null reference");
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
24872 wxPyEndAllowThreads(__tstate
);
24873 if (PyErr_Occurred()) SWIG_fail
;
24875 Py_INCREF(Py_None
); resultobj
= Py_None
;
24882 static PyObject
* BitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
24884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24885 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapDataObject
, obj
);
24887 return Py_BuildValue((char *)"");
24889 static PyObject
*_wrap_new_PyBitmapDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxBitmap
const &arg1_defvalue
= wxNullBitmap
;
24892 wxBitmap
*arg1
= (wxBitmap
*) &arg1_defvalue
;
24893 wxPyBitmapDataObject
*result
;
24894 PyObject
* obj0
= 0 ;
24895 char *kwnames
[] = {
24896 (char *) "bitmap", NULL
24899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PyBitmapDataObject",kwnames
,&obj0
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24904 if (arg1
== NULL
) {
24905 PyErr_SetString(PyExc_TypeError
,"null reference");
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 result
= (wxPyBitmapDataObject
*)new wxPyBitmapDataObject((wxBitmap
const &)*arg1
);
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyBitmapDataObject
, 1);
24923 static PyObject
*_wrap_PyBitmapDataObject__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxPyBitmapDataObject
*arg1
= (wxPyBitmapDataObject
*) 0 ;
24926 PyObject
*arg2
= (PyObject
*) 0 ;
24927 PyObject
*arg3
= (PyObject
*) 0 ;
24928 PyObject
* obj0
= 0 ;
24929 PyObject
* obj1
= 0 ;
24930 PyObject
* obj2
= 0 ;
24931 char *kwnames
[] = {
24932 (char *) "self",(char *) "self",(char *) "_class", NULL
24935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyBitmapDataObject__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyBitmapDataObject
,
24937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24942 (arg1
)->_setCallbackInfo(arg2
,arg3
);
24944 wxPyEndAllowThreads(__tstate
);
24945 if (PyErr_Occurred()) SWIG_fail
;
24947 Py_INCREF(Py_None
); resultobj
= Py_None
;
24954 static PyObject
* PyBitmapDataObject_swigregister(PyObject
*, PyObject
*args
) {
24956 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24957 SWIG_TypeClientData(SWIGTYPE_p_wxPyBitmapDataObject
, obj
);
24959 return Py_BuildValue((char *)"");
24961 static PyObject
*_wrap_new_FileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24962 PyObject
*resultobj
;
24963 wxFileDataObject
*result
;
24964 char *kwnames
[] = {
24968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDataObject",kwnames
)) goto fail
;
24970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 result
= (wxFileDataObject
*)new wxFileDataObject();
24973 wxPyEndAllowThreads(__tstate
);
24974 if (PyErr_Occurred()) SWIG_fail
;
24976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFileDataObject
, 1);
24983 static PyObject
*_wrap_FileDataObject_GetFilenames(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
24986 wxArrayString
*result
;
24987 PyObject
* obj0
= 0 ;
24988 char *kwnames
[] = {
24989 (char *) "self", NULL
24992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDataObject_GetFilenames",kwnames
,&obj0
)) goto fail
;
24993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
24994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24998 wxArrayString
const &_result_ref
= (arg1
)->GetFilenames();
24999 result
= (wxArrayString
*) &_result_ref
;
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25006 resultobj
= wxArrayString2PyList_helper(*result
);
25014 static PyObject
*_wrap_FileDataObject_AddFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
;
25016 wxFileDataObject
*arg1
= (wxFileDataObject
*) 0 ;
25017 wxString
*arg2
= 0 ;
25018 bool temp2
= False
;
25019 PyObject
* obj0
= 0 ;
25020 PyObject
* obj1
= 0 ;
25021 char *kwnames
[] = {
25022 (char *) "self",(char *) "filename", NULL
25025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDataObject_AddFile",kwnames
,&obj0
,&obj1
)) goto fail
;
25026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileDataObject
,
25027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25029 arg2
= wxString_in_helper(obj1
);
25030 if (arg2
== NULL
) SWIG_fail
;
25034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25035 (arg1
)->AddFile((wxString
const &)*arg2
);
25037 wxPyEndAllowThreads(__tstate
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25040 Py_INCREF(Py_None
); resultobj
= Py_None
;
25055 static PyObject
* FileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25058 SWIG_TypeClientData(SWIGTYPE_p_wxFileDataObject
, obj
);
25060 return Py_BuildValue((char *)"");
25062 static PyObject
*_wrap_new_CustomDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25063 PyObject
*resultobj
;
25064 wxDataFormat
const &arg1_defvalue
= wxFormatInvalid
;
25065 wxDataFormat
*arg1
= (wxDataFormat
*) &arg1_defvalue
;
25066 wxCustomDataObject
*result
;
25067 PyObject
* obj0
= 0 ;
25068 char *kwnames
[] = {
25069 (char *) "format", NULL
25072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CustomDataObject",kwnames
,&obj0
)) goto fail
;
25074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataFormat
,
25075 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25077 if (arg1
== NULL
) {
25078 PyErr_SetString(PyExc_TypeError
,"null reference");
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (wxCustomDataObject
*)new wxCustomDataObject((wxDataFormat
const &)*arg1
);
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCustomDataObject
, 1);
25096 static PyObject
*_wrap_CustomDataObject_TakeData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25097 PyObject
*resultobj
;
25098 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25099 PyObject
*arg2
= (PyObject
*) 0 ;
25100 PyObject
* obj0
= 0 ;
25101 PyObject
* obj1
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self",(char *) "data", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_TakeData",kwnames
,&obj0
,&obj1
)) goto fail
;
25107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25112 wxCustomDataObject_TakeData(arg1
,arg2
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 Py_INCREF(Py_None
); resultobj
= Py_None
;
25124 static PyObject
*_wrap_CustomDataObject_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25125 PyObject
*resultobj
;
25126 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25127 PyObject
*arg2
= (PyObject
*) 0 ;
25129 PyObject
* obj0
= 0 ;
25130 PyObject
* obj1
= 0 ;
25131 char *kwnames
[] = {
25132 (char *) "self",(char *) "data", NULL
25135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CustomDataObject_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25141 result
= (bool)wxCustomDataObject_SetData(arg1
,arg2
);
25143 wxPyEndAllowThreads(__tstate
);
25144 if (PyErr_Occurred()) SWIG_fail
;
25146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25153 static PyObject
*_wrap_CustomDataObject_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25157 PyObject
* obj0
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetSize",kwnames
,&obj0
)) goto fail
;
25163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= (size_t)(arg1
)->GetSize();
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25172 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
25179 static PyObject
*_wrap_CustomDataObject_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25180 PyObject
*resultobj
;
25181 wxCustomDataObject
*arg1
= (wxCustomDataObject
*) 0 ;
25183 PyObject
* obj0
= 0 ;
25184 char *kwnames
[] = {
25185 (char *) "self", NULL
25188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CustomDataObject_GetData",kwnames
,&obj0
)) goto fail
;
25189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCustomDataObject
,
25190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25193 result
= (PyObject
*)wxCustomDataObject_GetData(arg1
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= result
;
25205 static PyObject
* CustomDataObject_swigregister(PyObject
*, PyObject
*args
) {
25207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25208 SWIG_TypeClientData(SWIGTYPE_p_wxCustomDataObject
, obj
);
25210 return Py_BuildValue((char *)"");
25212 static PyObject
*_wrap_new_URLDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25213 PyObject
*resultobj
;
25214 wxURLDataObject
*result
;
25215 char *kwnames
[] = {
25219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_URLDataObject",kwnames
)) goto fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= (wxURLDataObject
*)new wxURLDataObject();
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxURLDataObject
, 1);
25234 static PyObject
*_wrap_URLDataObject_GetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
;
25236 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25238 PyObject
* obj0
= 0 ;
25239 char *kwnames
[] = {
25240 (char *) "self", NULL
25243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:URLDataObject_GetURL",kwnames
,&obj0
)) goto fail
;
25244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25248 result
= (arg1
)->GetURL();
25250 wxPyEndAllowThreads(__tstate
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25266 static PyObject
*_wrap_URLDataObject_SetURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
;
25268 wxURLDataObject
*arg1
= (wxURLDataObject
*) 0 ;
25269 wxString
*arg2
= 0 ;
25270 bool temp2
= False
;
25271 PyObject
* obj0
= 0 ;
25272 PyObject
* obj1
= 0 ;
25273 char *kwnames
[] = {
25274 (char *) "self",(char *) "url", NULL
25277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:URLDataObject_SetURL",kwnames
,&obj0
,&obj1
)) goto fail
;
25278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxURLDataObject
,
25279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25281 arg2
= wxString_in_helper(obj1
);
25282 if (arg2
== NULL
) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 (arg1
)->SetURL((wxString
const &)*arg2
);
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 Py_INCREF(Py_None
); resultobj
= Py_None
;
25307 static PyObject
* URLDataObject_swigregister(PyObject
*, PyObject
*args
) {
25309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25310 SWIG_TypeClientData(SWIGTYPE_p_wxURLDataObject
, obj
);
25312 return Py_BuildValue((char *)"");
25314 static PyObject
*_wrap_new_MetafileDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25315 PyObject
*resultobj
;
25316 wxMetafileDataObject
*result
;
25317 char *kwnames
[] = {
25321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MetafileDataObject",kwnames
)) goto fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 result
= (wxMetafileDataObject
*)new wxMetafileDataObject();
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMetafileDataObject
, 1);
25336 static PyObject
*_wrap_MetafileDataObject_SetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
;
25338 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25339 wxMetafile
*arg2
= 0 ;
25340 PyObject
* obj0
= 0 ;
25341 PyObject
* obj1
= 0 ;
25342 char *kwnames
[] = {
25343 (char *) "self",(char *) "metafile", NULL
25346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MetafileDataObject_SetMetafile",kwnames
,&obj0
,&obj1
)) goto fail
;
25347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMetafile
,
25350 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25352 if (arg2
== NULL
) {
25353 PyErr_SetString(PyExc_TypeError
,"null reference");
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 (arg1
)->SetMetafile((wxMetafile
const &)*arg2
);
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25363 Py_INCREF(Py_None
); resultobj
= Py_None
;
25370 static PyObject
*_wrap_MetafileDataObject_GetMetafile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25371 PyObject
*resultobj
;
25372 wxMetafileDataObject
*arg1
= (wxMetafileDataObject
*) 0 ;
25374 PyObject
* obj0
= 0 ;
25375 char *kwnames
[] = {
25376 (char *) "self", NULL
25379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MetafileDataObject_GetMetafile",kwnames
,&obj0
)) goto fail
;
25380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMetafileDataObject
,
25381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 result
= ((wxMetafileDataObject
const *)arg1
)->GetMetafile();
25386 wxPyEndAllowThreads(__tstate
);
25387 if (PyErr_Occurred()) SWIG_fail
;
25390 wxMetafile
* resultptr
;
25391 resultptr
= new wxMetafile((wxMetafile
&) result
);
25392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxMetafile
, 1);
25400 static PyObject
* MetafileDataObject_swigregister(PyObject
*, PyObject
*args
) {
25402 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25403 SWIG_TypeClientData(SWIGTYPE_p_wxMetafileDataObject
, obj
);
25405 return Py_BuildValue((char *)"");
25407 static PyObject
*_wrap_IsDragResultOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25408 PyObject
*resultobj
;
25411 PyObject
* obj0
= 0 ;
25412 char *kwnames
[] = {
25413 (char *) "res", NULL
25416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IsDragResultOk",kwnames
,&obj0
)) goto fail
;
25417 arg1
= (wxDragResult
) SWIG_AsInt(obj0
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25421 result
= (bool)wxIsDragResultOk((wxDragResult
)arg1
);
25423 wxPyEndAllowThreads(__tstate
);
25424 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25433 static PyObject
*_wrap_new_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
;
25435 wxWindow
*arg1
= (wxWindow
*) 0 ;
25436 wxCursor
const &arg2_defvalue
= wxNullCursor
;
25437 wxCursor
*arg2
= (wxCursor
*) &arg2_defvalue
;
25438 wxCursor
const &arg3_defvalue
= wxNullCursor
;
25439 wxCursor
*arg3
= (wxCursor
*) &arg3_defvalue
;
25440 wxCursor
const &arg4_defvalue
= wxNullCursor
;
25441 wxCursor
*arg4
= (wxCursor
*) &arg4_defvalue
;
25442 wxPyDropSource
*result
;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj1
= 0 ;
25445 PyObject
* obj2
= 0 ;
25446 PyObject
* obj3
= 0 ;
25447 char *kwnames
[] = {
25448 (char *) "win",(char *) "copy",(char *) "move",(char *) "none", NULL
25451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_DropSource",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25456 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25458 if (arg2
== NULL
) {
25459 PyErr_SetString(PyExc_TypeError
,"null reference");
25464 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25467 if (arg3
== NULL
) {
25468 PyErr_SetString(PyExc_TypeError
,"null reference");
25473 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxCursor
,
25474 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25476 if (arg4
== NULL
) {
25477 PyErr_SetString(PyExc_TypeError
,"null reference");
25482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25483 result
= (wxPyDropSource
*)new wxPyDropSource(arg1
,(wxCursor
const &)*arg2
,(wxCursor
const &)*arg3
,(wxCursor
const &)*arg4
);
25485 wxPyEndAllowThreads(__tstate
);
25486 if (PyErr_Occurred()) SWIG_fail
;
25488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropSource
, 1);
25495 static PyObject
*_wrap_DropSource__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25496 PyObject
*resultobj
;
25497 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25498 PyObject
*arg2
= (PyObject
*) 0 ;
25499 PyObject
*arg3
= (PyObject
*) 0 ;
25501 PyObject
* obj0
= 0 ;
25502 PyObject
* obj1
= 0 ;
25503 PyObject
* obj2
= 0 ;
25504 PyObject
* obj3
= 0 ;
25505 char *kwnames
[] = {
25506 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
25509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropSource__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25514 arg4
= (int) SWIG_AsInt(obj3
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 Py_INCREF(Py_None
); resultobj
= Py_None
;
25530 static PyObject
*_wrap_delete_DropSource(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
;
25532 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25533 PyObject
* obj0
= 0 ;
25534 char *kwnames
[] = {
25535 (char *) "self", NULL
25538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropSource",kwnames
,&obj0
)) goto fail
;
25539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 wxPyEndAllowThreads(__tstate
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 Py_INCREF(Py_None
); resultobj
= Py_None
;
25555 static PyObject
*_wrap_DropSource_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
;
25557 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25558 wxDataObject
*arg2
= 0 ;
25559 PyObject
* obj0
= 0 ;
25560 PyObject
* obj1
= 0 ;
25561 char *kwnames
[] = {
25562 (char *) "self",(char *) "data", NULL
25565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
25566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25571 if (arg2
== NULL
) {
25572 PyErr_SetString(PyExc_TypeError
,"null reference");
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 (arg1
)->SetData(*arg2
);
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 Py_INCREF(Py_None
); resultobj
= Py_None
;
25589 static PyObject
*_wrap_DropSource_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
;
25591 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25592 wxDataObject
*result
;
25593 PyObject
* obj0
= 0 ;
25594 char *kwnames
[] = {
25595 (char *) "self", NULL
25598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropSource_GetDataObject",kwnames
,&obj0
)) goto fail
;
25599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25603 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25605 wxPyEndAllowThreads(__tstate
);
25606 if (PyErr_Occurred()) SWIG_fail
;
25608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25615 static PyObject
*_wrap_DropSource_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25616 PyObject
*resultobj
;
25617 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25619 wxCursor
*arg3
= 0 ;
25620 PyObject
* obj0
= 0 ;
25621 PyObject
* obj1
= 0 ;
25622 PyObject
* obj2
= 0 ;
25623 char *kwnames
[] = {
25624 (char *) "self",(char *) "res",(char *) "cursor", NULL
25627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropSource_SetCursor",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25630 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25631 if (PyErr_Occurred()) SWIG_fail
;
25632 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxCursor
,
25633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25635 if (arg3
== NULL
) {
25636 PyErr_SetString(PyExc_TypeError
,"null reference");
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 (arg1
)->SetCursor((wxDragResult
)arg2
,(wxCursor
const &)*arg3
);
25643 wxPyEndAllowThreads(__tstate
);
25644 if (PyErr_Occurred()) SWIG_fail
;
25646 Py_INCREF(Py_None
); resultobj
= Py_None
;
25653 static PyObject
*_wrap_DropSource_DoDragDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25654 PyObject
*resultobj
;
25655 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25656 int arg2
= (int) wxDrag_CopyOnly
;
25658 PyObject
* obj0
= 0 ;
25659 PyObject
* obj1
= 0 ;
25660 char *kwnames
[] = {
25661 (char *) "self",(char *) "flags", NULL
25664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:DropSource_DoDragDrop",kwnames
,&obj0
,&obj1
)) goto fail
;
25665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25668 arg2
= (int) SWIG_AsInt(obj1
);
25669 if (PyErr_Occurred()) SWIG_fail
;
25672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25673 result
= (int)(arg1
)->DoDragDrop(arg2
);
25675 wxPyEndAllowThreads(__tstate
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25678 resultobj
= SWIG_FromInt((int)result
);
25685 static PyObject
*_wrap_DropSource_base_GiveFeedback(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25686 PyObject
*resultobj
;
25687 wxPyDropSource
*arg1
= (wxPyDropSource
*) 0 ;
25690 PyObject
* obj0
= 0 ;
25691 PyObject
* obj1
= 0 ;
25692 char *kwnames
[] = {
25693 (char *) "self",(char *) "effect", NULL
25696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropSource_base_GiveFeedback",kwnames
,&obj0
,&obj1
)) goto fail
;
25697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropSource
,
25698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25699 arg2
= (wxDragResult
) SWIG_AsInt(obj1
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 result
= (bool)(arg1
)->base_GiveFeedback((wxDragResult
)arg2
);
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25715 static PyObject
* DropSource_swigregister(PyObject
*, PyObject
*args
) {
25717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
25718 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropSource
, obj
);
25720 return Py_BuildValue((char *)"");
25722 static PyObject
*_wrap_new_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25723 PyObject
*resultobj
;
25724 wxDataObject
*arg1
= (wxDataObject
*) NULL
;
25725 wxPyDropTarget
*result
;
25726 PyObject
* obj0
= 0 ;
25727 char *kwnames
[] = {
25728 (char *) "dataObject", NULL
25731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_DropTarget",kwnames
,&obj0
)) goto fail
;
25733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDataObject
,
25734 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25738 result
= (wxPyDropTarget
*)new wxPyDropTarget(arg1
);
25740 wxPyEndAllowThreads(__tstate
);
25741 if (PyErr_Occurred()) SWIG_fail
;
25743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 1);
25750 static PyObject
*_wrap_DropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25751 PyObject
*resultobj
;
25752 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25753 PyObject
*arg2
= (PyObject
*) 0 ;
25754 PyObject
*arg3
= (PyObject
*) 0 ;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 char *kwnames
[] = {
25759 (char *) "self",(char *) "self",(char *) "_class", NULL
25762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 (arg1
)->_setCallbackInfo(arg2
,arg3
);
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 Py_INCREF(Py_None
); resultobj
= Py_None
;
25781 static PyObject
*_wrap_delete_DropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25784 PyObject
* obj0
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_DropTarget",kwnames
,&obj0
)) goto fail
;
25790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 Py_INCREF(Py_None
); resultobj
= Py_None
;
25806 static PyObject
*_wrap_DropTarget_GetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
;
25808 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25809 wxDataObject
*result
;
25810 PyObject
* obj0
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetDataObject",kwnames
,&obj0
)) goto fail
;
25816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25820 result
= (wxDataObject
*)(arg1
)->GetDataObject();
25822 wxPyEndAllowThreads(__tstate
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDataObject
, 0);
25832 static PyObject
*_wrap_DropTarget_SetDataObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25833 PyObject
*resultobj
;
25834 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25835 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
25836 PyObject
* obj0
= 0 ;
25837 PyObject
* obj1
= 0 ;
25838 char *kwnames
[] = {
25839 (char *) "self",(char *) "dataObject", NULL
25842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DropTarget_SetDataObject",kwnames
,&obj0
,&obj1
)) goto fail
;
25843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
25846 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
25848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25849 (arg1
)->SetDataObject(arg2
);
25851 wxPyEndAllowThreads(__tstate
);
25852 if (PyErr_Occurred()) SWIG_fail
;
25854 Py_INCREF(Py_None
); resultobj
= Py_None
;
25861 static PyObject
*_wrap_DropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25862 PyObject
*resultobj
;
25863 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25868 PyObject
* obj0
= 0 ;
25869 PyObject
* obj1
= 0 ;
25870 PyObject
* obj2
= 0 ;
25871 PyObject
* obj3
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25879 arg2
= (int) SWIG_AsInt(obj1
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25881 arg3
= (int) SWIG_AsInt(obj2
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25883 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25892 resultobj
= SWIG_FromInt((int)result
);
25899 static PyObject
*_wrap_DropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
;
25901 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25906 PyObject
* obj0
= 0 ;
25907 PyObject
* obj1
= 0 ;
25908 PyObject
* obj2
= 0 ;
25909 PyObject
* obj3
= 0 ;
25910 char *kwnames
[] = {
25911 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
25914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:DropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25917 arg2
= (int) SWIG_AsInt(obj1
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25919 arg3
= (int) SWIG_AsInt(obj2
);
25920 if (PyErr_Occurred()) SWIG_fail
;
25921 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25925 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
25927 wxPyEndAllowThreads(__tstate
);
25928 if (PyErr_Occurred()) SWIG_fail
;
25930 resultobj
= SWIG_FromInt((int)result
);
25937 static PyObject
*_wrap_DropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25938 PyObject
*resultobj
;
25939 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25940 PyObject
* obj0
= 0 ;
25941 char *kwnames
[] = {
25942 (char *) "self", NULL
25945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
25946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 (arg1
)->base_OnLeave();
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 Py_INCREF(Py_None
); resultobj
= Py_None
;
25962 static PyObject
*_wrap_DropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
25968 PyObject
* obj0
= 0 ;
25969 PyObject
* obj1
= 0 ;
25970 PyObject
* obj2
= 0 ;
25971 char *kwnames
[] = {
25972 (char *) "self",(char *) "x",(char *) "y", NULL
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:DropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
25977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25978 arg2
= (int) SWIG_AsInt(obj1
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25980 arg3
= (int) SWIG_AsInt(obj2
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25996 static PyObject
*_wrap_DropTarget_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25997 PyObject
*resultobj
;
25998 wxPyDropTarget
*arg1
= (wxPyDropTarget
*) 0 ;
26000 PyObject
* obj0
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "self", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropTarget_GetData",kwnames
,&obj0
)) goto fail
;
26006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyDropTarget
,
26007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= (bool)(arg1
)->GetData();
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26022 static PyObject
* DropTarget_swigregister(PyObject
*, PyObject
*args
) {
26024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26025 SWIG_TypeClientData(SWIGTYPE_p_wxPyDropTarget
, obj
);
26027 return Py_BuildValue((char *)"");
26029 static PyObject
*_wrap_new_TextDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxPyTextDropTarget
*result
;
26032 char *kwnames
[] = {
26036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TextDropTarget",kwnames
)) goto fail
;
26038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26039 result
= (wxPyTextDropTarget
*)new wxPyTextDropTarget();
26041 wxPyEndAllowThreads(__tstate
);
26042 if (PyErr_Occurred()) SWIG_fail
;
26044 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyTextDropTarget
, 1);
26051 static PyObject
*_wrap_TextDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26052 PyObject
*resultobj
;
26053 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26054 PyObject
*arg2
= (PyObject
*) 0 ;
26055 PyObject
*arg3
= (PyObject
*) 0 ;
26056 PyObject
* obj0
= 0 ;
26057 PyObject
* obj1
= 0 ;
26058 PyObject
* obj2
= 0 ;
26059 char *kwnames
[] = {
26060 (char *) "self",(char *) "self",(char *) "_class", NULL
26063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26072 wxPyEndAllowThreads(__tstate
);
26073 if (PyErr_Occurred()) SWIG_fail
;
26075 Py_INCREF(Py_None
); resultobj
= Py_None
;
26082 static PyObject
*_wrap_TextDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26083 PyObject
*resultobj
;
26084 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26089 PyObject
* obj0
= 0 ;
26090 PyObject
* obj1
= 0 ;
26091 PyObject
* obj2
= 0 ;
26092 PyObject
* obj3
= 0 ;
26093 char *kwnames
[] = {
26094 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26100 arg2
= (int) SWIG_AsInt(obj1
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26102 arg3
= (int) SWIG_AsInt(obj2
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26104 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26108 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 resultobj
= SWIG_FromInt((int)result
);
26120 static PyObject
*_wrap_TextDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26121 PyObject
*resultobj
;
26122 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26127 PyObject
* obj0
= 0 ;
26128 PyObject
* obj1
= 0 ;
26129 PyObject
* obj2
= 0 ;
26130 PyObject
* obj3
= 0 ;
26131 char *kwnames
[] = {
26132 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26138 arg2
= (int) SWIG_AsInt(obj1
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26140 arg3
= (int) SWIG_AsInt(obj2
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26142 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26143 if (PyErr_Occurred()) SWIG_fail
;
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= SWIG_FromInt((int)result
);
26158 static PyObject
*_wrap_TextDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
;
26160 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26161 PyObject
* obj0
= 0 ;
26162 char *kwnames
[] = {
26163 (char *) "self", NULL
26166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:TextDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26171 (arg1
)->base_OnLeave();
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 Py_INCREF(Py_None
); resultobj
= Py_None
;
26183 static PyObject
*_wrap_TextDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj1
= 0 ;
26191 PyObject
* obj2
= 0 ;
26192 char *kwnames
[] = {
26193 (char *) "self",(char *) "x",(char *) "y", NULL
26196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:TextDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26199 arg2
= (int) SWIG_AsInt(obj1
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26201 arg3
= (int) SWIG_AsInt(obj2
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26217 static PyObject
*_wrap_TextDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
;
26219 wxPyTextDropTarget
*arg1
= (wxPyTextDropTarget
*) 0 ;
26224 PyObject
* obj0
= 0 ;
26225 PyObject
* obj1
= 0 ;
26226 PyObject
* obj2
= 0 ;
26227 PyObject
* obj3
= 0 ;
26228 char *kwnames
[] = {
26229 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TextDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyTextDropTarget
,
26234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26235 arg2
= (int) SWIG_AsInt(obj1
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26237 arg3
= (int) SWIG_AsInt(obj2
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26239 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26240 if (PyErr_Occurred()) SWIG_fail
;
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 resultobj
= SWIG_FromInt((int)result
);
26255 static PyObject
* TextDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26258 SWIG_TypeClientData(SWIGTYPE_p_wxPyTextDropTarget
, obj
);
26260 return Py_BuildValue((char *)"");
26262 static PyObject
*_wrap_new_FileDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxPyFileDropTarget
*result
;
26265 char *kwnames
[] = {
26269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileDropTarget",kwnames
)) goto fail
;
26271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26272 result
= (wxPyFileDropTarget
*)new wxPyFileDropTarget();
26274 wxPyEndAllowThreads(__tstate
);
26275 if (PyErr_Occurred()) SWIG_fail
;
26277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileDropTarget
, 1);
26284 static PyObject
*_wrap_FileDropTarget__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
;
26286 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26287 PyObject
*arg2
= (PyObject
*) 0 ;
26288 PyObject
*arg3
= (PyObject
*) 0 ;
26289 PyObject
* obj0
= 0 ;
26290 PyObject
* obj1
= 0 ;
26291 PyObject
* obj2
= 0 ;
26292 char *kwnames
[] = {
26293 (char *) "self",(char *) "self",(char *) "_class", NULL
26296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 (arg1
)->_setCallbackInfo(arg2
,arg3
);
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 Py_INCREF(Py_None
); resultobj
= Py_None
;
26315 static PyObject
*_wrap_FileDropTarget_base_OnEnter(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26322 PyObject
* obj0
= 0 ;
26323 PyObject
* obj1
= 0 ;
26324 PyObject
* obj2
= 0 ;
26325 PyObject
* obj3
= 0 ;
26326 char *kwnames
[] = {
26327 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnEnter",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26333 arg2
= (int) SWIG_AsInt(obj1
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26335 arg3
= (int) SWIG_AsInt(obj2
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26337 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26341 result
= (int)(arg1
)->base_OnEnter(arg2
,arg3
,(wxDragResult
)arg4
);
26343 wxPyEndAllowThreads(__tstate
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26346 resultobj
= SWIG_FromInt((int)result
);
26353 static PyObject
*_wrap_FileDropTarget_base_OnDragOver(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
;
26355 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26360 PyObject
* obj0
= 0 ;
26361 PyObject
* obj1
= 0 ;
26362 PyObject
* obj2
= 0 ;
26363 PyObject
* obj3
= 0 ;
26364 char *kwnames
[] = {
26365 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnDragOver",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26371 arg2
= (int) SWIG_AsInt(obj1
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26373 arg3
= (int) SWIG_AsInt(obj2
);
26374 if (PyErr_Occurred()) SWIG_fail
;
26375 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26379 result
= (int)(arg1
)->base_OnDragOver(arg2
,arg3
,(wxDragResult
)arg4
);
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 resultobj
= SWIG_FromInt((int)result
);
26391 static PyObject
*_wrap_FileDropTarget_base_OnLeave(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
;
26393 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26394 PyObject
* obj0
= 0 ;
26395 char *kwnames
[] = {
26396 (char *) "self", NULL
26399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileDropTarget_base_OnLeave",kwnames
,&obj0
)) goto fail
;
26400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 (arg1
)->base_OnLeave();
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 Py_INCREF(Py_None
); resultobj
= Py_None
;
26416 static PyObject
*_wrap_FileDropTarget_base_OnDrop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
;
26418 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26422 PyObject
* obj0
= 0 ;
26423 PyObject
* obj1
= 0 ;
26424 PyObject
* obj2
= 0 ;
26425 char *kwnames
[] = {
26426 (char *) "self",(char *) "x",(char *) "y", NULL
26429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileDropTarget_base_OnDrop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26432 arg2
= (int) SWIG_AsInt(obj1
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26434 arg3
= (int) SWIG_AsInt(obj2
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= (bool)(arg1
)->base_OnDrop(arg2
,arg3
);
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26450 static PyObject
*_wrap_FileDropTarget_base_OnData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26451 PyObject
*resultobj
;
26452 wxPyFileDropTarget
*arg1
= (wxPyFileDropTarget
*) 0 ;
26457 PyObject
* obj0
= 0 ;
26458 PyObject
* obj1
= 0 ;
26459 PyObject
* obj2
= 0 ;
26460 PyObject
* obj3
= 0 ;
26461 char *kwnames
[] = {
26462 (char *) "self",(char *) "x",(char *) "y",(char *) "def", NULL
26465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:FileDropTarget_base_OnData",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileDropTarget
,
26467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26468 arg2
= (int) SWIG_AsInt(obj1
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26470 arg3
= (int) SWIG_AsInt(obj2
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26472 arg4
= (wxDragResult
) SWIG_AsInt(obj3
);
26473 if (PyErr_Occurred()) SWIG_fail
;
26475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26476 result
= (int)(arg1
)->base_OnData(arg2
,arg3
,(wxDragResult
)arg4
);
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= SWIG_FromInt((int)result
);
26488 static PyObject
* FileDropTarget_swigregister(PyObject
*, PyObject
*args
) {
26490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26491 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileDropTarget
, obj
);
26493 return Py_BuildValue((char *)"");
26495 static PyObject
*_wrap_new_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
;
26497 wxClipboard
*result
;
26498 char *kwnames
[] = {
26502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Clipboard",kwnames
)) goto fail
;
26504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26505 result
= (wxClipboard
*)new wxClipboard();
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboard
, 1);
26517 static PyObject
*_wrap_delete_Clipboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26518 PyObject
*resultobj
;
26519 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26520 PyObject
* obj0
= 0 ;
26521 char *kwnames
[] = {
26522 (char *) "self", NULL
26525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Clipboard",kwnames
,&obj0
)) goto fail
;
26526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26532 wxPyEndAllowThreads(__tstate
);
26533 if (PyErr_Occurred()) SWIG_fail
;
26535 Py_INCREF(Py_None
); resultobj
= Py_None
;
26542 static PyObject
*_wrap_Clipboard_Open(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26543 PyObject
*resultobj
;
26544 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26546 PyObject
* obj0
= 0 ;
26547 char *kwnames
[] = {
26548 (char *) "self", NULL
26551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Open",kwnames
,&obj0
)) goto fail
;
26552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 result
= (bool)(arg1
)->Open();
26558 wxPyEndAllowThreads(__tstate
);
26559 if (PyErr_Occurred()) SWIG_fail
;
26561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26568 static PyObject
*_wrap_Clipboard_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26569 PyObject
*resultobj
;
26570 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26571 PyObject
* obj0
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Close",kwnames
,&obj0
)) goto fail
;
26577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 Py_INCREF(Py_None
); resultobj
= Py_None
;
26593 static PyObject
*_wrap_Clipboard_IsOpened(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26594 PyObject
*resultobj
;
26595 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26597 PyObject
* obj0
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_IsOpened",kwnames
,&obj0
)) goto fail
;
26603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26607 result
= (bool)((wxClipboard
const *)arg1
)->IsOpened();
26609 wxPyEndAllowThreads(__tstate
);
26610 if (PyErr_Occurred()) SWIG_fail
;
26612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26619 static PyObject
*_wrap_Clipboard_AddData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26620 PyObject
*resultobj
;
26621 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26622 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26624 PyObject
* obj0
= 0 ;
26625 PyObject
* obj1
= 0 ;
26626 char *kwnames
[] = {
26627 (char *) "self",(char *) "data", NULL
26630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_AddData",kwnames
,&obj0
,&obj1
)) goto fail
;
26631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26634 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 result
= (bool)(arg1
)->AddData(arg2
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26649 static PyObject
*_wrap_Clipboard_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26650 PyObject
*resultobj
;
26651 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26652 wxDataObject
*arg2
= (wxDataObject
*) 0 ;
26654 PyObject
* obj0
= 0 ;
26655 PyObject
* obj1
= 0 ;
26656 char *kwnames
[] = {
26657 (char *) "self",(char *) "data", NULL
26660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26664 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26667 result
= (bool)(arg1
)->SetData(arg2
);
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26679 static PyObject
*_wrap_Clipboard_IsSupported(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26682 wxDataFormat
*arg2
= 0 ;
26684 PyObject
* obj0
= 0 ;
26685 PyObject
* obj1
= 0 ;
26686 char *kwnames
[] = {
26687 (char *) "self",(char *) "format", NULL
26690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_IsSupported",kwnames
,&obj0
,&obj1
)) goto fail
;
26691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataFormat
,
26694 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26696 if (arg2
== NULL
) {
26697 PyErr_SetString(PyExc_TypeError
,"null reference");
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 result
= (bool)(arg1
)->IsSupported((wxDataFormat
const &)*arg2
);
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26714 static PyObject
*_wrap_Clipboard_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26715 PyObject
*resultobj
;
26716 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26717 wxDataObject
*arg2
= 0 ;
26719 PyObject
* obj0
= 0 ;
26720 PyObject
* obj1
= 0 ;
26721 char *kwnames
[] = {
26722 (char *) "self",(char *) "data", NULL
26725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Clipboard_GetData",kwnames
,&obj0
,&obj1
)) goto fail
;
26726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDataObject
,
26729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26731 if (arg2
== NULL
) {
26732 PyErr_SetString(PyExc_TypeError
,"null reference");
26736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26737 result
= (bool)(arg1
)->GetData(*arg2
);
26739 wxPyEndAllowThreads(__tstate
);
26740 if (PyErr_Occurred()) SWIG_fail
;
26742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26749 static PyObject
*_wrap_Clipboard_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26750 PyObject
*resultobj
;
26751 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26752 PyObject
* obj0
= 0 ;
26753 char *kwnames
[] = {
26754 (char *) "self", NULL
26757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Clear",kwnames
,&obj0
)) goto fail
;
26758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 wxPyEndAllowThreads(__tstate
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26767 Py_INCREF(Py_None
); resultobj
= Py_None
;
26774 static PyObject
*_wrap_Clipboard_Flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26775 PyObject
*resultobj
;
26776 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26778 PyObject
* obj0
= 0 ;
26779 char *kwnames
[] = {
26780 (char *) "self", NULL
26783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Clipboard_Flush",kwnames
,&obj0
)) goto fail
;
26784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26788 result
= (bool)(arg1
)->Flush();
26790 wxPyEndAllowThreads(__tstate
);
26791 if (PyErr_Occurred()) SWIG_fail
;
26793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26800 static PyObject
*_wrap_Clipboard_UsePrimarySelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26801 PyObject
*resultobj
;
26802 wxClipboard
*arg1
= (wxClipboard
*) 0 ;
26803 bool arg2
= (bool) True
;
26804 PyObject
* obj0
= 0 ;
26805 PyObject
* obj1
= 0 ;
26806 char *kwnames
[] = {
26807 (char *) "self",(char *) "primary", NULL
26810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Clipboard_UsePrimarySelection",kwnames
,&obj0
,&obj1
)) goto fail
;
26811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26814 arg2
= (bool) SWIG_AsBool(obj1
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26819 (arg1
)->UsePrimarySelection(arg2
);
26821 wxPyEndAllowThreads(__tstate
);
26822 if (PyErr_Occurred()) SWIG_fail
;
26824 Py_INCREF(Py_None
); resultobj
= Py_None
;
26831 static PyObject
* Clipboard_swigregister(PyObject
*, PyObject
*args
) {
26833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26834 SWIG_TypeClientData(SWIGTYPE_p_wxClipboard
, obj
);
26836 return Py_BuildValue((char *)"");
26838 static int _wrap_TheClipboard_set(PyObject
*) {
26839 PyErr_SetString(PyExc_TypeError
,"Variable TheClipboard is read-only.");
26844 static PyObject
*_wrap_TheClipboard_get() {
26847 pyobj
= SWIG_NewPointerObj((void *)(wxTheClipboard
), SWIGTYPE_p_wxClipboard
, 0);
26852 static PyObject
*_wrap_new_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26853 PyObject
*resultobj
;
26854 wxClipboard
*arg1
= (wxClipboard
*) NULL
;
26855 wxClipboardLocker
*result
;
26856 PyObject
* obj0
= 0 ;
26857 char *kwnames
[] = {
26858 (char *) "clipboard", NULL
26861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboard
,
26864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26868 result
= (wxClipboardLocker
*)new wxClipboardLocker(arg1
);
26870 wxPyEndAllowThreads(__tstate
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxClipboardLocker
, 1);
26880 static PyObject
*_wrap_delete_ClipboardLocker(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26881 PyObject
*resultobj
;
26882 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26883 PyObject
* obj0
= 0 ;
26884 char *kwnames
[] = {
26885 (char *) "self", NULL
26888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_ClipboardLocker",kwnames
,&obj0
)) goto fail
;
26889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
26890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 wxPyEndAllowThreads(__tstate
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26898 Py_INCREF(Py_None
); resultobj
= Py_None
;
26905 static PyObject
*_wrap_ClipboardLocker___nonzero__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26906 PyObject
*resultobj
;
26907 wxClipboardLocker
*arg1
= (wxClipboardLocker
*) 0 ;
26909 PyObject
* obj0
= 0 ;
26910 char *kwnames
[] = {
26911 (char *) "self", NULL
26914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ClipboardLocker___nonzero__",kwnames
,&obj0
)) goto fail
;
26915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxClipboardLocker
,
26916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26919 result
= (bool)wxClipboardLocker___nonzero__(arg1
);
26921 wxPyEndAllowThreads(__tstate
);
26922 if (PyErr_Occurred()) SWIG_fail
;
26924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26931 static PyObject
* ClipboardLocker_swigregister(PyObject
*, PyObject
*args
) {
26933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26934 SWIG_TypeClientData(SWIGTYPE_p_wxClipboardLocker
, obj
);
26936 return Py_BuildValue((char *)"");
26938 static PyObject
*_wrap_new_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26939 PyObject
*resultobj
;
26940 int arg1
= (int) 0 ;
26941 int arg2
= (int) 0 ;
26942 int arg3
= (int) 0 ;
26943 int arg4
= (int) 0 ;
26944 wxVideoMode
*result
;
26945 PyObject
* obj0
= 0 ;
26946 PyObject
* obj1
= 0 ;
26947 PyObject
* obj2
= 0 ;
26948 PyObject
* obj3
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "width",(char *) "height",(char *) "depth",(char *) "freq", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_VideoMode",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26955 arg1
= (int) SWIG_AsInt(obj0
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26959 arg2
= (int) SWIG_AsInt(obj1
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26963 arg3
= (int) SWIG_AsInt(obj2
);
26964 if (PyErr_Occurred()) SWIG_fail
;
26967 arg4
= (int) SWIG_AsInt(obj3
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 result
= (wxVideoMode
*)new wxVideoMode(arg1
,arg2
,arg3
,arg4
);
26974 wxPyEndAllowThreads(__tstate
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVideoMode
, 1);
26984 static PyObject
*_wrap_delete_VideoMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
;
26986 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
26987 PyObject
* obj0
= 0 ;
26988 char *kwnames
[] = {
26989 (char *) "self", NULL
26992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VideoMode",kwnames
,&obj0
)) goto fail
;
26993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
26994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 Py_INCREF(Py_None
); resultobj
= Py_None
;
27009 static PyObject
*_wrap_VideoMode_Matches(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27012 wxVideoMode
*arg2
= 0 ;
27014 PyObject
* obj0
= 0 ;
27015 PyObject
* obj1
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self",(char *) "other", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_Matches",kwnames
,&obj0
,&obj1
)) goto fail
;
27021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27024 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27026 if (arg2
== NULL
) {
27027 PyErr_SetString(PyExc_TypeError
,"null reference");
27031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27032 result
= (bool)((wxVideoMode
const *)arg1
)->Matches((wxVideoMode
const &)*arg2
);
27034 wxPyEndAllowThreads(__tstate
);
27035 if (PyErr_Occurred()) SWIG_fail
;
27037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27044 static PyObject
*_wrap_VideoMode_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
;
27046 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27048 PyObject
* obj0
= 0 ;
27049 char *kwnames
[] = {
27050 (char *) "self", NULL
27053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetWidth",kwnames
,&obj0
)) goto fail
;
27054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= (int)((wxVideoMode
const *)arg1
)->GetWidth();
27060 wxPyEndAllowThreads(__tstate
);
27061 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= SWIG_FromInt((int)result
);
27070 static PyObject
*_wrap_VideoMode_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
;
27072 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27074 PyObject
* obj0
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetHeight",kwnames
,&obj0
)) goto fail
;
27080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 result
= (int)((wxVideoMode
const *)arg1
)->GetHeight();
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27089 resultobj
= SWIG_FromInt((int)result
);
27096 static PyObject
*_wrap_VideoMode_GetDepth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27097 PyObject
*resultobj
;
27098 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27100 PyObject
* obj0
= 0 ;
27101 char *kwnames
[] = {
27102 (char *) "self", NULL
27105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_GetDepth",kwnames
,&obj0
)) goto fail
;
27106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27110 result
= (int)((wxVideoMode
const *)arg1
)->GetDepth();
27112 wxPyEndAllowThreads(__tstate
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27115 resultobj
= SWIG_FromInt((int)result
);
27122 static PyObject
*_wrap_VideoMode_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27123 PyObject
*resultobj
;
27124 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27126 PyObject
* obj0
= 0 ;
27127 char *kwnames
[] = {
27128 (char *) "self", NULL
27131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_IsOk",kwnames
,&obj0
)) goto fail
;
27132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27136 result
= (bool)((wxVideoMode
const *)arg1
)->IsOk();
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27148 static PyObject
*_wrap_VideoMode___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27149 PyObject
*resultobj
;
27150 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27151 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27153 PyObject
* obj0
= 0 ;
27154 PyObject
* obj1
= 0 ;
27155 char *kwnames
[] = {
27156 (char *) "self",(char *) "other", NULL
27159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
27160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27166 result
= (bool)wxVideoMode___eq__(arg1
,(wxVideoMode
const *)arg2
);
27168 wxPyEndAllowThreads(__tstate
);
27169 if (PyErr_Occurred()) SWIG_fail
;
27171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27178 static PyObject
*_wrap_VideoMode___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27179 PyObject
*resultobj
;
27180 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27181 wxVideoMode
*arg2
= (wxVideoMode
*) 0 ;
27183 PyObject
* obj0
= 0 ;
27184 PyObject
* obj1
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self",(char *) "other", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
27190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27192 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27196 result
= (bool)wxVideoMode___ne__(arg1
,(wxVideoMode
const *)arg2
);
27198 wxPyEndAllowThreads(__tstate
);
27199 if (PyErr_Occurred()) SWIG_fail
;
27201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27208 static PyObject
*_wrap_VideoMode_w_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27209 PyObject
*resultobj
;
27210 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27212 PyObject
* obj0
= 0 ;
27213 PyObject
* obj1
= 0 ;
27214 char *kwnames
[] = {
27215 (char *) "self",(char *) "w", NULL
27218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_w_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27221 arg2
= (int) SWIG_AsInt(obj1
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27223 if (arg1
) (arg1
)->w
= arg2
;
27225 Py_INCREF(Py_None
); resultobj
= Py_None
;
27232 static PyObject
*_wrap_VideoMode_w_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27233 PyObject
*resultobj
;
27234 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27236 PyObject
* obj0
= 0 ;
27237 char *kwnames
[] = {
27238 (char *) "self", NULL
27241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_w_get",kwnames
,&obj0
)) goto fail
;
27242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27244 result
= (int) ((arg1
)->w
);
27246 resultobj
= SWIG_FromInt((int)result
);
27253 static PyObject
*_wrap_VideoMode_h_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27254 PyObject
*resultobj
;
27255 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 PyObject
* obj1
= 0 ;
27259 char *kwnames
[] = {
27260 (char *) "self",(char *) "h", NULL
27263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_h_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27266 arg2
= (int) SWIG_AsInt(obj1
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27268 if (arg1
) (arg1
)->h
= arg2
;
27270 Py_INCREF(Py_None
); resultobj
= Py_None
;
27277 static PyObject
*_wrap_VideoMode_h_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27281 PyObject
* obj0
= 0 ;
27282 char *kwnames
[] = {
27283 (char *) "self", NULL
27286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_h_get",kwnames
,&obj0
)) goto fail
;
27287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27289 result
= (int) ((arg1
)->h
);
27291 resultobj
= SWIG_FromInt((int)result
);
27298 static PyObject
*_wrap_VideoMode_bpp_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27299 PyObject
*resultobj
;
27300 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27302 PyObject
* obj0
= 0 ;
27303 PyObject
* obj1
= 0 ;
27304 char *kwnames
[] = {
27305 (char *) "self",(char *) "bpp", NULL
27308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_bpp_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27311 arg2
= (int) SWIG_AsInt(obj1
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27313 if (arg1
) (arg1
)->bpp
= arg2
;
27315 Py_INCREF(Py_None
); resultobj
= Py_None
;
27322 static PyObject
*_wrap_VideoMode_bpp_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27326 PyObject
* obj0
= 0 ;
27327 char *kwnames
[] = {
27328 (char *) "self", NULL
27331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_bpp_get",kwnames
,&obj0
)) goto fail
;
27332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27334 result
= (int) ((arg1
)->bpp
);
27336 resultobj
= SWIG_FromInt((int)result
);
27343 static PyObject
*_wrap_VideoMode_refresh_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
;
27345 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27347 PyObject
* obj0
= 0 ;
27348 PyObject
* obj1
= 0 ;
27349 char *kwnames
[] = {
27350 (char *) "self",(char *) "refresh", NULL
27353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VideoMode_refresh_set",kwnames
,&obj0
,&obj1
)) goto fail
;
27354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27356 arg2
= (int) SWIG_AsInt(obj1
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27358 if (arg1
) (arg1
)->refresh
= arg2
;
27360 Py_INCREF(Py_None
); resultobj
= Py_None
;
27367 static PyObject
*_wrap_VideoMode_refresh_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
;
27369 wxVideoMode
*arg1
= (wxVideoMode
*) 0 ;
27371 PyObject
* obj0
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VideoMode_refresh_get",kwnames
,&obj0
)) goto fail
;
27377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVideoMode
,
27378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27379 result
= (int) ((arg1
)->refresh
);
27381 resultobj
= SWIG_FromInt((int)result
);
27388 static PyObject
* VideoMode_swigregister(PyObject
*, PyObject
*args
) {
27390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27391 SWIG_TypeClientData(SWIGTYPE_p_wxVideoMode
, obj
);
27393 return Py_BuildValue((char *)"");
27395 static int _wrap_DefaultVideoMode_set(PyObject
*) {
27396 PyErr_SetString(PyExc_TypeError
,"Variable DefaultVideoMode is read-only.");
27401 static PyObject
*_wrap_DefaultVideoMode_get() {
27404 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultVideoMode
), SWIGTYPE_p_wxVideoMode
, 0);
27409 static PyObject
*_wrap_new_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27410 PyObject
*resultobj
;
27411 size_t arg1
= (size_t) 0 ;
27413 PyObject
* obj0
= 0 ;
27414 char *kwnames
[] = {
27415 (char *) "index", NULL
27418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Display",kwnames
,&obj0
)) goto fail
;
27420 arg1
= (size_t) SWIG_AsUnsignedLong(obj0
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27425 result
= (wxDisplay
*)new wxDisplay(arg1
);
27427 wxPyEndAllowThreads(__tstate
);
27428 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplay
, 1);
27437 static PyObject
*_wrap_delete_Display(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27438 PyObject
*resultobj
;
27439 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27440 PyObject
* obj0
= 0 ;
27441 char *kwnames
[] = {
27442 (char *) "self", NULL
27445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Display",kwnames
,&obj0
)) goto fail
;
27446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27455 Py_INCREF(Py_None
); resultobj
= Py_None
;
27462 static PyObject
*_wrap_Display_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27463 PyObject
*resultobj
;
27465 char *kwnames
[] = {
27469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Display_GetCount",kwnames
)) goto fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 result
= (size_t)wxDisplay::GetCount();
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
27484 static PyObject
*_wrap_Display_GetFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27485 PyObject
*resultobj
;
27486 wxPoint
*arg1
= 0 ;
27489 PyObject
* obj0
= 0 ;
27490 char *kwnames
[] = {
27491 (char *) "pt", NULL
27494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromPoint",kwnames
,&obj0
)) goto fail
;
27497 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
27500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27501 result
= (int)wxDisplay::GetFromPoint((wxPoint
const &)*arg1
);
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= SWIG_FromInt((int)result
);
27513 static PyObject
*_wrap_Display_GetFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27515 wxWindow
*arg1
= (wxWindow
*) 0 ;
27517 PyObject
* obj0
= 0 ;
27518 char *kwnames
[] = {
27519 (char *) "window", NULL
27522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetFromWindow",kwnames
,&obj0
)) goto fail
;
27523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 result
= (int)Display_GetFromWindow(arg1
);
27529 wxPyEndAllowThreads(__tstate
);
27530 if (PyErr_Occurred()) SWIG_fail
;
27532 resultobj
= SWIG_FromInt((int)result
);
27539 static PyObject
*_wrap_Display_IsOk(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27540 PyObject
*resultobj
;
27541 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27543 PyObject
* obj0
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsOk",kwnames
,&obj0
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27553 result
= (bool)((wxDisplay
const *)arg1
)->IsOk();
27555 wxPyEndAllowThreads(__tstate
);
27556 if (PyErr_Occurred()) SWIG_fail
;
27558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27565 static PyObject
*_wrap_Display_GetGeometry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
;
27567 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27569 PyObject
* obj0
= 0 ;
27570 char *kwnames
[] = {
27571 (char *) "self", NULL
27574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetGeometry",kwnames
,&obj0
)) goto fail
;
27575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= ((wxDisplay
const *)arg1
)->GetGeometry();
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27585 wxRect
* resultptr
;
27586 resultptr
= new wxRect((wxRect
&) result
);
27587 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
27595 static PyObject
*_wrap_Display_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27596 PyObject
*resultobj
;
27597 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27599 PyObject
* obj0
= 0 ;
27600 char *kwnames
[] = {
27601 (char *) "self", NULL
27604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetName",kwnames
,&obj0
)) goto fail
;
27605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27609 result
= ((wxDisplay
const *)arg1
)->GetName();
27611 wxPyEndAllowThreads(__tstate
);
27612 if (PyErr_Occurred()) SWIG_fail
;
27616 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27618 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27627 static PyObject
*_wrap_Display_IsPrimary(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27628 PyObject
*resultobj
;
27629 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27631 PyObject
* obj0
= 0 ;
27632 char *kwnames
[] = {
27633 (char *) "self", NULL
27636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_IsPrimary",kwnames
,&obj0
)) goto fail
;
27637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27641 result
= (bool)((wxDisplay
const *)arg1
)->IsPrimary();
27643 wxPyEndAllowThreads(__tstate
);
27644 if (PyErr_Occurred()) SWIG_fail
;
27646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27653 static PyObject
*_wrap_Display_GetModes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27654 PyObject
*resultobj
;
27655 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27656 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27657 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27659 PyObject
* obj0
= 0 ;
27660 PyObject
* obj1
= 0 ;
27661 char *kwnames
[] = {
27662 (char *) "self",(char *) "mode", NULL
27665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_GetModes",kwnames
,&obj0
,&obj1
)) goto fail
;
27666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27670 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27672 if (arg2
== NULL
) {
27673 PyErr_SetString(PyExc_TypeError
,"null reference");
27678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27679 result
= (PyObject
*)wxDisplay_GetModes(arg1
,(wxVideoMode
const &)*arg2
);
27681 wxPyEndAllowThreads(__tstate
);
27682 if (PyErr_Occurred()) SWIG_fail
;
27684 resultobj
= result
;
27691 static PyObject
*_wrap_Display_GetCurrentMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27694 wxVideoMode result
;
27695 PyObject
* obj0
= 0 ;
27696 char *kwnames
[] = {
27697 (char *) "self", NULL
27700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_GetCurrentMode",kwnames
,&obj0
)) goto fail
;
27701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27705 result
= ((wxDisplay
const *)arg1
)->GetCurrentMode();
27707 wxPyEndAllowThreads(__tstate
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27711 wxVideoMode
* resultptr
;
27712 resultptr
= new wxVideoMode((wxVideoMode
&) result
);
27713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVideoMode
, 1);
27721 static PyObject
*_wrap_Display_ChangeMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27724 wxVideoMode
const &arg2_defvalue
= wxDefaultVideoMode
;
27725 wxVideoMode
*arg2
= (wxVideoMode
*) &arg2_defvalue
;
27727 PyObject
* obj0
= 0 ;
27728 PyObject
* obj1
= 0 ;
27729 char *kwnames
[] = {
27730 (char *) "self",(char *) "mode", NULL
27733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Display_ChangeMode",kwnames
,&obj0
,&obj1
)) goto fail
;
27734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxVideoMode
,
27738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27740 if (arg2
== NULL
) {
27741 PyErr_SetString(PyExc_TypeError
,"null reference");
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= (bool)(arg1
)->ChangeMode((wxVideoMode
const &)*arg2
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27759 static PyObject
*_wrap_Display_ResetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27760 PyObject
*resultobj
;
27761 wxDisplay
*arg1
= (wxDisplay
*) 0 ;
27762 PyObject
* obj0
= 0 ;
27763 char *kwnames
[] = {
27764 (char *) "self", NULL
27767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Display_ResetMode",kwnames
,&obj0
)) goto fail
;
27768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDisplay
,
27769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27772 (arg1
)->ResetMode();
27774 wxPyEndAllowThreads(__tstate
);
27775 if (PyErr_Occurred()) SWIG_fail
;
27777 Py_INCREF(Py_None
); resultobj
= Py_None
;
27784 static PyObject
* Display_swigregister(PyObject
*, PyObject
*args
) {
27786 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27787 SWIG_TypeClientData(SWIGTYPE_p_wxDisplay
, obj
);
27789 return Py_BuildValue((char *)"");
27791 static PyMethodDef SwigMethods
[] = {
27792 { (char *)"SystemSettings_GetColour", (PyCFunction
) _wrap_SystemSettings_GetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27793 { (char *)"SystemSettings_GetFont", (PyCFunction
) _wrap_SystemSettings_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27794 { (char *)"SystemSettings_GetMetric", (PyCFunction
) _wrap_SystemSettings_GetMetric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27795 { (char *)"SystemSettings_HasFeature", (PyCFunction
) _wrap_SystemSettings_HasFeature
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27796 { (char *)"SystemSettings_GetScreenType", (PyCFunction
) _wrap_SystemSettings_GetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27797 { (char *)"SystemSettings_SetScreenType", (PyCFunction
) _wrap_SystemSettings_SetScreenType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27798 { (char *)"SystemSettings_swigregister", SystemSettings_swigregister
, METH_VARARGS
, NULL
},
27799 { (char *)"new_SystemOptions", (PyCFunction
) _wrap_new_SystemOptions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27800 { (char *)"SystemOptions_SetOption", (PyCFunction
) _wrap_SystemOptions_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27801 { (char *)"SystemOptions_SetOptionInt", (PyCFunction
) _wrap_SystemOptions_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27802 { (char *)"SystemOptions_GetOption", (PyCFunction
) _wrap_SystemOptions_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27803 { (char *)"SystemOptions_GetOptionInt", (PyCFunction
) _wrap_SystemOptions_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27804 { (char *)"SystemOptions_HasOption", (PyCFunction
) _wrap_SystemOptions_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27805 { (char *)"SystemOptions_swigregister", SystemOptions_swigregister
, METH_VARARGS
, NULL
},
27806 { (char *)"NewId", (PyCFunction
) _wrap_NewId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27807 { (char *)"RegisterId", (PyCFunction
) _wrap_RegisterId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27808 { (char *)"GetCurrentId", (PyCFunction
) _wrap_GetCurrentId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27809 { (char *)"Bell", (PyCFunction
) _wrap_Bell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27810 { (char *)"EndBusyCursor", (PyCFunction
) _wrap_EndBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27811 { (char *)"GetElapsedTime", (PyCFunction
) _wrap_GetElapsedTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27812 { (char *)"GetMousePosition", (PyCFunction
) _wrap_GetMousePosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27813 { (char *)"IsBusy", (PyCFunction
) _wrap_IsBusy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27814 { (char *)"Now", (PyCFunction
) _wrap_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27815 { (char *)"Shell", (PyCFunction
) _wrap_Shell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27816 { (char *)"StartTimer", (PyCFunction
) _wrap_StartTimer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27817 { (char *)"GetOsVersion", (PyCFunction
) _wrap_GetOsVersion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27818 { (char *)"GetOsDescription", (PyCFunction
) _wrap_GetOsDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27819 { (char *)"GetFreeMemory", (PyCFunction
) _wrap_GetFreeMemory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27820 { (char *)"Shutdown", (PyCFunction
) _wrap_Shutdown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27821 { (char *)"Sleep", (PyCFunction
) _wrap_Sleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27822 { (char *)"Usleep", (PyCFunction
) _wrap_Usleep
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27823 { (char *)"EnableTopLevelWindows", (PyCFunction
) _wrap_EnableTopLevelWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27824 { (char *)"StripMenuCodes", (PyCFunction
) _wrap_StripMenuCodes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27825 { (char *)"GetEmailAddress", (PyCFunction
) _wrap_GetEmailAddress
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27826 { (char *)"GetHostName", (PyCFunction
) _wrap_GetHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27827 { (char *)"GetFullHostName", (PyCFunction
) _wrap_GetFullHostName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27828 { (char *)"GetUserId", (PyCFunction
) _wrap_GetUserId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27829 { (char *)"GetUserName", (PyCFunction
) _wrap_GetUserName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27830 { (char *)"GetHomeDir", (PyCFunction
) _wrap_GetHomeDir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27831 { (char *)"GetUserHome", (PyCFunction
) _wrap_GetUserHome
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27832 { (char *)"GetProcessId", (PyCFunction
) _wrap_GetProcessId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27833 { (char *)"Trap", (PyCFunction
) _wrap_Trap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27834 { (char *)"FileSelector", (PyCFunction
) _wrap_FileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27835 { (char *)"LoadFileSelector", (PyCFunction
) _wrap_LoadFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27836 { (char *)"SaveFileSelector", (PyCFunction
) _wrap_SaveFileSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27837 { (char *)"DirSelector", (PyCFunction
) _wrap_DirSelector
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27838 { (char *)"GetTextFromUser", (PyCFunction
) _wrap_GetTextFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27839 { (char *)"GetPasswordFromUser", (PyCFunction
) _wrap_GetPasswordFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27840 { (char *)"GetSingleChoice", (PyCFunction
) _wrap_GetSingleChoice
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27841 { (char *)"GetSingleChoiceIndex", (PyCFunction
) _wrap_GetSingleChoiceIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27842 { (char *)"MessageBox", (PyCFunction
) _wrap_MessageBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27843 { (char *)"GetNumberFromUser", (PyCFunction
) _wrap_GetNumberFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27844 { (char *)"ColourDisplay", (PyCFunction
) _wrap_ColourDisplay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27845 { (char *)"DisplayDepth", (PyCFunction
) _wrap_DisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27846 { (char *)"GetDisplayDepth", (PyCFunction
) _wrap_GetDisplayDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27847 { (char *)"DisplaySize", (PyCFunction
) _wrap_DisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27848 { (char *)"GetDisplaySize", (PyCFunction
) _wrap_GetDisplaySize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27849 { (char *)"DisplaySizeMM", (PyCFunction
) _wrap_DisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27850 { (char *)"GetDisplaySizeMM", (PyCFunction
) _wrap_GetDisplaySizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27851 { (char *)"ClientDisplayRect", (PyCFunction
) _wrap_ClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27852 { (char *)"GetClientDisplayRect", (PyCFunction
) _wrap_GetClientDisplayRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27853 { (char *)"SetCursor", (PyCFunction
) _wrap_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27854 { (char *)"BeginBusyCursor", (PyCFunction
) _wrap_BeginBusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27855 { (char *)"GetActiveWindow", (PyCFunction
) _wrap_GetActiveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27856 { (char *)"GenericFindWindowAtPoint", (PyCFunction
) _wrap_GenericFindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27857 { (char *)"FindWindowAtPoint", (PyCFunction
) _wrap_FindWindowAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27858 { (char *)"GetTopLevelParent", (PyCFunction
) _wrap_GetTopLevelParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27859 { (char *)"GetKeyState", (PyCFunction
) _wrap_GetKeyState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27860 { (char *)"WakeUpMainThread", (PyCFunction
) _wrap_WakeUpMainThread
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27861 { (char *)"MutexGuiEnter", (PyCFunction
) _wrap_MutexGuiEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27862 { (char *)"MutexGuiLeave", (PyCFunction
) _wrap_MutexGuiLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27863 { (char *)"new_MutexGuiLocker", (PyCFunction
) _wrap_new_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27864 { (char *)"delete_MutexGuiLocker", (PyCFunction
) _wrap_delete_MutexGuiLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27865 { (char *)"MutexGuiLocker_swigregister", MutexGuiLocker_swigregister
, METH_VARARGS
, NULL
},
27866 { (char *)"Thread_IsMain", (PyCFunction
) _wrap_Thread_IsMain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27867 { (char *)"new_ToolTip", (PyCFunction
) _wrap_new_ToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27868 { (char *)"ToolTip_SetTip", (PyCFunction
) _wrap_ToolTip_SetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27869 { (char *)"ToolTip_GetTip", (PyCFunction
) _wrap_ToolTip_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27870 { (char *)"ToolTip_GetWindow", (PyCFunction
) _wrap_ToolTip_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27871 { (char *)"ToolTip_Enable", (PyCFunction
) _wrap_ToolTip_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27872 { (char *)"ToolTip_SetDelay", (PyCFunction
) _wrap_ToolTip_SetDelay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27873 { (char *)"ToolTip_swigregister", ToolTip_swigregister
, METH_VARARGS
, NULL
},
27874 { (char *)"new_Caret", (PyCFunction
) _wrap_new_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27875 { (char *)"delete_Caret", (PyCFunction
) _wrap_delete_Caret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27876 { (char *)"Caret_IsOk", (PyCFunction
) _wrap_Caret_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27877 { (char *)"Caret_IsVisible", (PyCFunction
) _wrap_Caret_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27878 { (char *)"Caret_GetPosition", (PyCFunction
) _wrap_Caret_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27879 { (char *)"Caret_GetPositionTuple", (PyCFunction
) _wrap_Caret_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27880 { (char *)"Caret_GetSize", (PyCFunction
) _wrap_Caret_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27881 { (char *)"Caret_GetSizeTuple", (PyCFunction
) _wrap_Caret_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27882 { (char *)"Caret_GetWindow", (PyCFunction
) _wrap_Caret_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27883 { (char *)"Caret_MoveXY", (PyCFunction
) _wrap_Caret_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27884 { (char *)"Caret_Move", (PyCFunction
) _wrap_Caret_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27885 { (char *)"Caret_SetSizeWH", (PyCFunction
) _wrap_Caret_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27886 { (char *)"Caret_SetSize", (PyCFunction
) _wrap_Caret_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27887 { (char *)"Caret_Show", (PyCFunction
) _wrap_Caret_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27888 { (char *)"Caret_Hide", (PyCFunction
) _wrap_Caret_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27889 { (char *)"Caret_swigregister", Caret_swigregister
, METH_VARARGS
, NULL
},
27890 { (char *)"Caret_GetBlinkTime", (PyCFunction
) _wrap_Caret_GetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27891 { (char *)"Caret_SetBlinkTime", (PyCFunction
) _wrap_Caret_SetBlinkTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27892 { (char *)"new_BusyCursor", (PyCFunction
) _wrap_new_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27893 { (char *)"delete_BusyCursor", (PyCFunction
) _wrap_delete_BusyCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27894 { (char *)"BusyCursor_swigregister", BusyCursor_swigregister
, METH_VARARGS
, NULL
},
27895 { (char *)"new_WindowDisabler", (PyCFunction
) _wrap_new_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27896 { (char *)"delete_WindowDisabler", (PyCFunction
) _wrap_delete_WindowDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27897 { (char *)"WindowDisabler_swigregister", WindowDisabler_swigregister
, METH_VARARGS
, NULL
},
27898 { (char *)"new_BusyInfo", (PyCFunction
) _wrap_new_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27899 { (char *)"delete_BusyInfo", (PyCFunction
) _wrap_delete_BusyInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27900 { (char *)"BusyInfo_swigregister", BusyInfo_swigregister
, METH_VARARGS
, NULL
},
27901 { (char *)"new_StopWatch", (PyCFunction
) _wrap_new_StopWatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27902 { (char *)"StopWatch_Start", (PyCFunction
) _wrap_StopWatch_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27903 { (char *)"StopWatch_Pause", (PyCFunction
) _wrap_StopWatch_Pause
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27904 { (char *)"StopWatch_Resume", (PyCFunction
) _wrap_StopWatch_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27905 { (char *)"StopWatch_Time", (PyCFunction
) _wrap_StopWatch_Time
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27906 { (char *)"StopWatch_swigregister", StopWatch_swigregister
, METH_VARARGS
, NULL
},
27907 { (char *)"new_FileHistory", (PyCFunction
) _wrap_new_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27908 { (char *)"delete_FileHistory", (PyCFunction
) _wrap_delete_FileHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27909 { (char *)"FileHistory_AddFileToHistory", (PyCFunction
) _wrap_FileHistory_AddFileToHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27910 { (char *)"FileHistory_RemoveFileFromHistory", (PyCFunction
) _wrap_FileHistory_RemoveFileFromHistory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27911 { (char *)"FileHistory_GetMaxFiles", (PyCFunction
) _wrap_FileHistory_GetMaxFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27912 { (char *)"FileHistory_UseMenu", (PyCFunction
) _wrap_FileHistory_UseMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27913 { (char *)"FileHistory_RemoveMenu", (PyCFunction
) _wrap_FileHistory_RemoveMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27914 { (char *)"FileHistory_Load", (PyCFunction
) _wrap_FileHistory_Load
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27915 { (char *)"FileHistory_Save", (PyCFunction
) _wrap_FileHistory_Save
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27916 { (char *)"FileHistory_AddFilesToMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27917 { (char *)"FileHistory_AddFilesToThisMenu", (PyCFunction
) _wrap_FileHistory_AddFilesToThisMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27918 { (char *)"FileHistory_GetHistoryFile", (PyCFunction
) _wrap_FileHistory_GetHistoryFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27919 { (char *)"FileHistory_GetCount", (PyCFunction
) _wrap_FileHistory_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27920 { (char *)"FileHistory_swigregister", FileHistory_swigregister
, METH_VARARGS
, NULL
},
27921 { (char *)"new_SingleInstanceChecker", (PyCFunction
) _wrap_new_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27922 { (char *)"new_PreSingleInstanceChecker", (PyCFunction
) _wrap_new_PreSingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27923 { (char *)"delete_SingleInstanceChecker", (PyCFunction
) _wrap_delete_SingleInstanceChecker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27924 { (char *)"SingleInstanceChecker_Create", (PyCFunction
) _wrap_SingleInstanceChecker_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27925 { (char *)"SingleInstanceChecker_IsAnotherRunning", (PyCFunction
) _wrap_SingleInstanceChecker_IsAnotherRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27926 { (char *)"SingleInstanceChecker_swigregister", SingleInstanceChecker_swigregister
, METH_VARARGS
, NULL
},
27927 { (char *)"DrawWindowOnDC", (PyCFunction
) _wrap_DrawWindowOnDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27928 { (char *)"delete_TipProvider", (PyCFunction
) _wrap_delete_TipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27929 { (char *)"TipProvider_GetTip", (PyCFunction
) _wrap_TipProvider_GetTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27930 { (char *)"TipProvider_GetCurrentTip", (PyCFunction
) _wrap_TipProvider_GetCurrentTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27931 { (char *)"TipProvider_PreprocessTip", (PyCFunction
) _wrap_TipProvider_PreprocessTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27932 { (char *)"TipProvider_swigregister", TipProvider_swigregister
, METH_VARARGS
, NULL
},
27933 { (char *)"new_PyTipProvider", (PyCFunction
) _wrap_new_PyTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27934 { (char *)"PyTipProvider__setCallbackInfo", (PyCFunction
) _wrap_PyTipProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27935 { (char *)"PyTipProvider_swigregister", PyTipProvider_swigregister
, METH_VARARGS
, NULL
},
27936 { (char *)"ShowTip", (PyCFunction
) _wrap_ShowTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27937 { (char *)"CreateFileTipProvider", (PyCFunction
) _wrap_CreateFileTipProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27938 { (char *)"new_Timer", (PyCFunction
) _wrap_new_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27939 { (char *)"delete_Timer", (PyCFunction
) _wrap_delete_Timer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27940 { (char *)"Timer__setCallbackInfo", (PyCFunction
) _wrap_Timer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27941 { (char *)"Timer_SetOwner", (PyCFunction
) _wrap_Timer_SetOwner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27942 { (char *)"Timer_Start", (PyCFunction
) _wrap_Timer_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27943 { (char *)"Timer_Stop", (PyCFunction
) _wrap_Timer_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27944 { (char *)"Timer_IsRunning", (PyCFunction
) _wrap_Timer_IsRunning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27945 { (char *)"Timer_GetInterval", (PyCFunction
) _wrap_Timer_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27946 { (char *)"Timer_IsOneShot", (PyCFunction
) _wrap_Timer_IsOneShot
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27947 { (char *)"Timer_GetId", (PyCFunction
) _wrap_Timer_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27948 { (char *)"Timer_swigregister", Timer_swigregister
, METH_VARARGS
, NULL
},
27949 { (char *)"new_TimerEvent", (PyCFunction
) _wrap_new_TimerEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27950 { (char *)"TimerEvent_GetInterval", (PyCFunction
) _wrap_TimerEvent_GetInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27951 { (char *)"TimerEvent_swigregister", TimerEvent_swigregister
, METH_VARARGS
, NULL
},
27952 { (char *)"new_TimerRunner", _wrap_new_TimerRunner
, METH_VARARGS
, NULL
},
27953 { (char *)"delete_TimerRunner", (PyCFunction
) _wrap_delete_TimerRunner
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27954 { (char *)"TimerRunner_Start", (PyCFunction
) _wrap_TimerRunner_Start
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27955 { (char *)"TimerRunner_swigregister", TimerRunner_swigregister
, METH_VARARGS
, NULL
},
27956 { (char *)"new_Log", (PyCFunction
) _wrap_new_Log
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27957 { (char *)"Log_IsEnabled", (PyCFunction
) _wrap_Log_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27958 { (char *)"Log_EnableLogging", (PyCFunction
) _wrap_Log_EnableLogging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27959 { (char *)"Log_OnLog", (PyCFunction
) _wrap_Log_OnLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27960 { (char *)"Log_Flush", (PyCFunction
) _wrap_Log_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27961 { (char *)"Log_FlushActive", (PyCFunction
) _wrap_Log_FlushActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27962 { (char *)"Log_GetActiveTarget", (PyCFunction
) _wrap_Log_GetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27963 { (char *)"Log_SetActiveTarget", (PyCFunction
) _wrap_Log_SetActiveTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27964 { (char *)"Log_Suspend", (PyCFunction
) _wrap_Log_Suspend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27965 { (char *)"Log_Resume", (PyCFunction
) _wrap_Log_Resume
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27966 { (char *)"Log_SetVerbose", (PyCFunction
) _wrap_Log_SetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27967 { (char *)"Log_SetLogLevel", (PyCFunction
) _wrap_Log_SetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27968 { (char *)"Log_DontCreateOnDemand", (PyCFunction
) _wrap_Log_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27969 { (char *)"Log_SetTraceMask", (PyCFunction
) _wrap_Log_SetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27970 { (char *)"Log_AddTraceMask", (PyCFunction
) _wrap_Log_AddTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27971 { (char *)"Log_RemoveTraceMask", (PyCFunction
) _wrap_Log_RemoveTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27972 { (char *)"Log_ClearTraceMasks", (PyCFunction
) _wrap_Log_ClearTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27973 { (char *)"Log_GetTraceMasks", (PyCFunction
) _wrap_Log_GetTraceMasks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27974 { (char *)"Log_SetTimestamp", (PyCFunction
) _wrap_Log_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27975 { (char *)"Log_GetVerbose", (PyCFunction
) _wrap_Log_GetVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27976 { (char *)"Log_GetTraceMask", (PyCFunction
) _wrap_Log_GetTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27977 { (char *)"Log_IsAllowedTraceMask", (PyCFunction
) _wrap_Log_IsAllowedTraceMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27978 { (char *)"Log_GetLogLevel", (PyCFunction
) _wrap_Log_GetLogLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27979 { (char *)"Log_GetTimestamp", (PyCFunction
) _wrap_Log_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27980 { (char *)"Log_TimeStamp", (PyCFunction
) _wrap_Log_TimeStamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27981 { (char *)"Log_Destroy", (PyCFunction
) _wrap_Log_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27982 { (char *)"Log_swigregister", Log_swigregister
, METH_VARARGS
, NULL
},
27983 { (char *)"new_LogStderr", (PyCFunction
) _wrap_new_LogStderr
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27984 { (char *)"LogStderr_swigregister", LogStderr_swigregister
, METH_VARARGS
, NULL
},
27985 { (char *)"new_LogTextCtrl", (PyCFunction
) _wrap_new_LogTextCtrl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27986 { (char *)"LogTextCtrl_swigregister", LogTextCtrl_swigregister
, METH_VARARGS
, NULL
},
27987 { (char *)"new_LogGui", (PyCFunction
) _wrap_new_LogGui
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27988 { (char *)"LogGui_swigregister", LogGui_swigregister
, METH_VARARGS
, NULL
},
27989 { (char *)"new_LogWindow", (PyCFunction
) _wrap_new_LogWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27990 { (char *)"LogWindow_Show", (PyCFunction
) _wrap_LogWindow_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27991 { (char *)"LogWindow_GetFrame", (PyCFunction
) _wrap_LogWindow_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27992 { (char *)"LogWindow_GetOldLog", (PyCFunction
) _wrap_LogWindow_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27993 { (char *)"LogWindow_IsPassingMessages", (PyCFunction
) _wrap_LogWindow_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27994 { (char *)"LogWindow_PassMessages", (PyCFunction
) _wrap_LogWindow_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27995 { (char *)"LogWindow_swigregister", LogWindow_swigregister
, METH_VARARGS
, NULL
},
27996 { (char *)"new_LogChain", (PyCFunction
) _wrap_new_LogChain
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27997 { (char *)"LogChain_SetLog", (PyCFunction
) _wrap_LogChain_SetLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27998 { (char *)"LogChain_PassMessages", (PyCFunction
) _wrap_LogChain_PassMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
27999 { (char *)"LogChain_IsPassingMessages", (PyCFunction
) _wrap_LogChain_IsPassingMessages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28000 { (char *)"LogChain_GetOldLog", (PyCFunction
) _wrap_LogChain_GetOldLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28001 { (char *)"LogChain_swigregister", LogChain_swigregister
, METH_VARARGS
, NULL
},
28002 { (char *)"SysErrorCode", (PyCFunction
) _wrap_SysErrorCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28003 { (char *)"SysErrorMsg", (PyCFunction
) _wrap_SysErrorMsg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28004 { (char *)"LogFatalError", (PyCFunction
) _wrap_LogFatalError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28005 { (char *)"LogError", (PyCFunction
) _wrap_LogError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28006 { (char *)"LogWarning", (PyCFunction
) _wrap_LogWarning
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28007 { (char *)"LogMessage", (PyCFunction
) _wrap_LogMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28008 { (char *)"LogInfo", (PyCFunction
) _wrap_LogInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28009 { (char *)"LogDebug", (PyCFunction
) _wrap_LogDebug
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28010 { (char *)"LogVerbose", (PyCFunction
) _wrap_LogVerbose
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28011 { (char *)"LogStatus", (PyCFunction
) _wrap_LogStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28012 { (char *)"LogStatusFrame", (PyCFunction
) _wrap_LogStatusFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28013 { (char *)"LogSysError", (PyCFunction
) _wrap_LogSysError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28014 { (char *)"LogTrace", _wrap_LogTrace
, METH_VARARGS
, NULL
},
28015 { (char *)"LogGeneric", (PyCFunction
) _wrap_LogGeneric
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28016 { (char *)"SafeShowMessage", (PyCFunction
) _wrap_SafeShowMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28017 { (char *)"new_LogNull", (PyCFunction
) _wrap_new_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28018 { (char *)"delete_LogNull", (PyCFunction
) _wrap_delete_LogNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28019 { (char *)"LogNull_swigregister", LogNull_swigregister
, METH_VARARGS
, NULL
},
28020 { (char *)"new_PyLog", (PyCFunction
) _wrap_new_PyLog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28021 { (char *)"PyLog__setCallbackInfo", (PyCFunction
) _wrap_PyLog__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28022 { (char *)"PyLog_swigregister", PyLog_swigregister
, METH_VARARGS
, NULL
},
28023 { (char *)"Process_Kill", (PyCFunction
) _wrap_Process_Kill
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28024 { (char *)"Process_Exists", (PyCFunction
) _wrap_Process_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28025 { (char *)"Process_Open", (PyCFunction
) _wrap_Process_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28026 { (char *)"new_Process", (PyCFunction
) _wrap_new_Process
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28027 { (char *)"Process__setCallbackInfo", (PyCFunction
) _wrap_Process__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28028 { (char *)"Process_base_OnTerminate", (PyCFunction
) _wrap_Process_base_OnTerminate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28029 { (char *)"Process_Redirect", (PyCFunction
) _wrap_Process_Redirect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28030 { (char *)"Process_IsRedirected", (PyCFunction
) _wrap_Process_IsRedirected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28031 { (char *)"Process_Detach", (PyCFunction
) _wrap_Process_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28032 { (char *)"Process_GetInputStream", (PyCFunction
) _wrap_Process_GetInputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28033 { (char *)"Process_GetErrorStream", (PyCFunction
) _wrap_Process_GetErrorStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28034 { (char *)"Process_GetOutputStream", (PyCFunction
) _wrap_Process_GetOutputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28035 { (char *)"Process_CloseOutput", (PyCFunction
) _wrap_Process_CloseOutput
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28036 { (char *)"Process_IsInputOpened", (PyCFunction
) _wrap_Process_IsInputOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28037 { (char *)"Process_IsInputAvailable", (PyCFunction
) _wrap_Process_IsInputAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28038 { (char *)"Process_IsErrorAvailable", (PyCFunction
) _wrap_Process_IsErrorAvailable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28039 { (char *)"Process_swigregister", Process_swigregister
, METH_VARARGS
, NULL
},
28040 { (char *)"new_ProcessEvent", (PyCFunction
) _wrap_new_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28041 { (char *)"ProcessEvent_GetPid", (PyCFunction
) _wrap_ProcessEvent_GetPid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28042 { (char *)"ProcessEvent_GetExitCode", (PyCFunction
) _wrap_ProcessEvent_GetExitCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28043 { (char *)"ProcessEvent_m_pid_set", (PyCFunction
) _wrap_ProcessEvent_m_pid_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28044 { (char *)"ProcessEvent_m_pid_get", (PyCFunction
) _wrap_ProcessEvent_m_pid_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28045 { (char *)"ProcessEvent_m_exitcode_set", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28046 { (char *)"ProcessEvent_m_exitcode_get", (PyCFunction
) _wrap_ProcessEvent_m_exitcode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28047 { (char *)"ProcessEvent_swigregister", ProcessEvent_swigregister
, METH_VARARGS
, NULL
},
28048 { (char *)"Execute", (PyCFunction
) _wrap_Execute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28049 { (char *)"new_Joystick", (PyCFunction
) _wrap_new_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28050 { (char *)"delete_Joystick", (PyCFunction
) _wrap_delete_Joystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28051 { (char *)"Joystick_GetPosition", (PyCFunction
) _wrap_Joystick_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28052 { (char *)"Joystick_GetZPosition", (PyCFunction
) _wrap_Joystick_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28053 { (char *)"Joystick_GetButtonState", (PyCFunction
) _wrap_Joystick_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28054 { (char *)"Joystick_GetPOVPosition", (PyCFunction
) _wrap_Joystick_GetPOVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28055 { (char *)"Joystick_GetPOVCTSPosition", (PyCFunction
) _wrap_Joystick_GetPOVCTSPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28056 { (char *)"Joystick_GetRudderPosition", (PyCFunction
) _wrap_Joystick_GetRudderPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28057 { (char *)"Joystick_GetUPosition", (PyCFunction
) _wrap_Joystick_GetUPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28058 { (char *)"Joystick_GetVPosition", (PyCFunction
) _wrap_Joystick_GetVPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28059 { (char *)"Joystick_GetMovementThreshold", (PyCFunction
) _wrap_Joystick_GetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28060 { (char *)"Joystick_SetMovementThreshold", (PyCFunction
) _wrap_Joystick_SetMovementThreshold
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28061 { (char *)"Joystick_IsOk", (PyCFunction
) _wrap_Joystick_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28062 { (char *)"Joystick_GetNumberJoysticks", (PyCFunction
) _wrap_Joystick_GetNumberJoysticks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28063 { (char *)"Joystick_GetManufacturerId", (PyCFunction
) _wrap_Joystick_GetManufacturerId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28064 { (char *)"Joystick_GetProductId", (PyCFunction
) _wrap_Joystick_GetProductId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28065 { (char *)"Joystick_GetProductName", (PyCFunction
) _wrap_Joystick_GetProductName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28066 { (char *)"Joystick_GetXMin", (PyCFunction
) _wrap_Joystick_GetXMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28067 { (char *)"Joystick_GetYMin", (PyCFunction
) _wrap_Joystick_GetYMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28068 { (char *)"Joystick_GetZMin", (PyCFunction
) _wrap_Joystick_GetZMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28069 { (char *)"Joystick_GetXMax", (PyCFunction
) _wrap_Joystick_GetXMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28070 { (char *)"Joystick_GetYMax", (PyCFunction
) _wrap_Joystick_GetYMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28071 { (char *)"Joystick_GetZMax", (PyCFunction
) _wrap_Joystick_GetZMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28072 { (char *)"Joystick_GetNumberButtons", (PyCFunction
) _wrap_Joystick_GetNumberButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28073 { (char *)"Joystick_GetNumberAxes", (PyCFunction
) _wrap_Joystick_GetNumberAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28074 { (char *)"Joystick_GetMaxButtons", (PyCFunction
) _wrap_Joystick_GetMaxButtons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28075 { (char *)"Joystick_GetMaxAxes", (PyCFunction
) _wrap_Joystick_GetMaxAxes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28076 { (char *)"Joystick_GetPollingMin", (PyCFunction
) _wrap_Joystick_GetPollingMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28077 { (char *)"Joystick_GetPollingMax", (PyCFunction
) _wrap_Joystick_GetPollingMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28078 { (char *)"Joystick_GetRudderMin", (PyCFunction
) _wrap_Joystick_GetRudderMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28079 { (char *)"Joystick_GetRudderMax", (PyCFunction
) _wrap_Joystick_GetRudderMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28080 { (char *)"Joystick_GetUMin", (PyCFunction
) _wrap_Joystick_GetUMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28081 { (char *)"Joystick_GetUMax", (PyCFunction
) _wrap_Joystick_GetUMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28082 { (char *)"Joystick_GetVMin", (PyCFunction
) _wrap_Joystick_GetVMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28083 { (char *)"Joystick_GetVMax", (PyCFunction
) _wrap_Joystick_GetVMax
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28084 { (char *)"Joystick_HasRudder", (PyCFunction
) _wrap_Joystick_HasRudder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28085 { (char *)"Joystick_HasZ", (PyCFunction
) _wrap_Joystick_HasZ
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28086 { (char *)"Joystick_HasU", (PyCFunction
) _wrap_Joystick_HasU
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28087 { (char *)"Joystick_HasV", (PyCFunction
) _wrap_Joystick_HasV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28088 { (char *)"Joystick_HasPOV", (PyCFunction
) _wrap_Joystick_HasPOV
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28089 { (char *)"Joystick_HasPOV4Dir", (PyCFunction
) _wrap_Joystick_HasPOV4Dir
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28090 { (char *)"Joystick_HasPOVCTS", (PyCFunction
) _wrap_Joystick_HasPOVCTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28091 { (char *)"Joystick_SetCapture", (PyCFunction
) _wrap_Joystick_SetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28092 { (char *)"Joystick_ReleaseCapture", (PyCFunction
) _wrap_Joystick_ReleaseCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28093 { (char *)"Joystick_swigregister", Joystick_swigregister
, METH_VARARGS
, NULL
},
28094 { (char *)"JoystickEvent_m_pos_set", (PyCFunction
) _wrap_JoystickEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28095 { (char *)"JoystickEvent_m_pos_get", (PyCFunction
) _wrap_JoystickEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28096 { (char *)"JoystickEvent_m_zPosition_set", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28097 { (char *)"JoystickEvent_m_zPosition_get", (PyCFunction
) _wrap_JoystickEvent_m_zPosition_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28098 { (char *)"JoystickEvent_m_buttonChange_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28099 { (char *)"JoystickEvent_m_buttonChange_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonChange_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28100 { (char *)"JoystickEvent_m_buttonState_set", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28101 { (char *)"JoystickEvent_m_buttonState_get", (PyCFunction
) _wrap_JoystickEvent_m_buttonState_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28102 { (char *)"JoystickEvent_m_joyStick_set", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28103 { (char *)"JoystickEvent_m_joyStick_get", (PyCFunction
) _wrap_JoystickEvent_m_joyStick_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28104 { (char *)"new_JoystickEvent", (PyCFunction
) _wrap_new_JoystickEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28105 { (char *)"JoystickEvent_GetPosition", (PyCFunction
) _wrap_JoystickEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28106 { (char *)"JoystickEvent_GetZPosition", (PyCFunction
) _wrap_JoystickEvent_GetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28107 { (char *)"JoystickEvent_GetButtonState", (PyCFunction
) _wrap_JoystickEvent_GetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28108 { (char *)"JoystickEvent_GetButtonChange", (PyCFunction
) _wrap_JoystickEvent_GetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28109 { (char *)"JoystickEvent_GetJoystick", (PyCFunction
) _wrap_JoystickEvent_GetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28110 { (char *)"JoystickEvent_SetJoystick", (PyCFunction
) _wrap_JoystickEvent_SetJoystick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28111 { (char *)"JoystickEvent_SetButtonState", (PyCFunction
) _wrap_JoystickEvent_SetButtonState
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28112 { (char *)"JoystickEvent_SetButtonChange", (PyCFunction
) _wrap_JoystickEvent_SetButtonChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28113 { (char *)"JoystickEvent_SetPosition", (PyCFunction
) _wrap_JoystickEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28114 { (char *)"JoystickEvent_SetZPosition", (PyCFunction
) _wrap_JoystickEvent_SetZPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28115 { (char *)"JoystickEvent_IsButton", (PyCFunction
) _wrap_JoystickEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28116 { (char *)"JoystickEvent_IsMove", (PyCFunction
) _wrap_JoystickEvent_IsMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28117 { (char *)"JoystickEvent_IsZMove", (PyCFunction
) _wrap_JoystickEvent_IsZMove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28118 { (char *)"JoystickEvent_ButtonDown", (PyCFunction
) _wrap_JoystickEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28119 { (char *)"JoystickEvent_ButtonUp", (PyCFunction
) _wrap_JoystickEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28120 { (char *)"JoystickEvent_ButtonIsDown", (PyCFunction
) _wrap_JoystickEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28121 { (char *)"JoystickEvent_swigregister", JoystickEvent_swigregister
, METH_VARARGS
, NULL
},
28122 { (char *)"new_Sound", _wrap_new_Sound
, METH_VARARGS
, NULL
},
28123 { (char *)"delete_Sound", (PyCFunction
) _wrap_delete_Sound
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28124 { (char *)"Sound_Create", _wrap_Sound_Create
, METH_VARARGS
, NULL
},
28125 { (char *)"Sound_IsOk", (PyCFunction
) _wrap_Sound_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28126 { (char *)"Sound_Play", _wrap_Sound_Play
, METH_VARARGS
, NULL
},
28127 { (char *)"Sound_PlaySound", _wrap_Sound_PlaySound
, METH_VARARGS
, NULL
},
28128 { (char *)"Sound_Stop", (PyCFunction
) _wrap_Sound_Stop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28129 { (char *)"Sound_swigregister", Sound_swigregister
, METH_VARARGS
, NULL
},
28130 { (char *)"new_FileTypeInfo", (PyCFunction
) _wrap_new_FileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28131 { (char *)"new_FileTypeInfoSequence", (PyCFunction
) _wrap_new_FileTypeInfoSequence
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28132 { (char *)"new_NullFileTypeInfo", (PyCFunction
) _wrap_new_NullFileTypeInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28133 { (char *)"FileTypeInfo_IsValid", (PyCFunction
) _wrap_FileTypeInfo_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28134 { (char *)"FileTypeInfo_SetIcon", (PyCFunction
) _wrap_FileTypeInfo_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28135 { (char *)"FileTypeInfo_SetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_SetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28136 { (char *)"FileTypeInfo_GetMimeType", (PyCFunction
) _wrap_FileTypeInfo_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28137 { (char *)"FileTypeInfo_GetOpenCommand", (PyCFunction
) _wrap_FileTypeInfo_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28138 { (char *)"FileTypeInfo_GetPrintCommand", (PyCFunction
) _wrap_FileTypeInfo_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28139 { (char *)"FileTypeInfo_GetShortDesc", (PyCFunction
) _wrap_FileTypeInfo_GetShortDesc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28140 { (char *)"FileTypeInfo_GetDescription", (PyCFunction
) _wrap_FileTypeInfo_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28141 { (char *)"FileTypeInfo_GetExtensions", (PyCFunction
) _wrap_FileTypeInfo_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28142 { (char *)"FileTypeInfo_GetExtensionsCount", (PyCFunction
) _wrap_FileTypeInfo_GetExtensionsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28143 { (char *)"FileTypeInfo_GetIconFile", (PyCFunction
) _wrap_FileTypeInfo_GetIconFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28144 { (char *)"FileTypeInfo_GetIconIndex", (PyCFunction
) _wrap_FileTypeInfo_GetIconIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28145 { (char *)"FileTypeInfo_swigregister", FileTypeInfo_swigregister
, METH_VARARGS
, NULL
},
28146 { (char *)"new_FileType", (PyCFunction
) _wrap_new_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28147 { (char *)"delete_FileType", (PyCFunction
) _wrap_delete_FileType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28148 { (char *)"FileType_GetMimeType", (PyCFunction
) _wrap_FileType_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28149 { (char *)"FileType_GetMimeTypes", (PyCFunction
) _wrap_FileType_GetMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28150 { (char *)"FileType_GetExtensions", (PyCFunction
) _wrap_FileType_GetExtensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28151 { (char *)"FileType_GetIcon", (PyCFunction
) _wrap_FileType_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28152 { (char *)"FileType_GetIconInfo", (PyCFunction
) _wrap_FileType_GetIconInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28153 { (char *)"FileType_GetDescription", (PyCFunction
) _wrap_FileType_GetDescription
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28154 { (char *)"FileType_GetOpenCommand", (PyCFunction
) _wrap_FileType_GetOpenCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28155 { (char *)"FileType_GetPrintCommand", (PyCFunction
) _wrap_FileType_GetPrintCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28156 { (char *)"FileType_GetAllCommands", (PyCFunction
) _wrap_FileType_GetAllCommands
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28157 { (char *)"FileType_SetCommand", (PyCFunction
) _wrap_FileType_SetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28158 { (char *)"FileType_SetDefaultIcon", (PyCFunction
) _wrap_FileType_SetDefaultIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28159 { (char *)"FileType_Unassociate", (PyCFunction
) _wrap_FileType_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28160 { (char *)"FileType_ExpandCommand", (PyCFunction
) _wrap_FileType_ExpandCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28161 { (char *)"FileType_swigregister", FileType_swigregister
, METH_VARARGS
, NULL
},
28162 { (char *)"MimeTypesManager_IsOfType", (PyCFunction
) _wrap_MimeTypesManager_IsOfType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28163 { (char *)"new_MimeTypesManager", (PyCFunction
) _wrap_new_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28164 { (char *)"MimeTypesManager_Initialize", (PyCFunction
) _wrap_MimeTypesManager_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28165 { (char *)"MimeTypesManager_ClearData", (PyCFunction
) _wrap_MimeTypesManager_ClearData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28166 { (char *)"MimeTypesManager_GetFileTypeFromExtension", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28167 { (char *)"MimeTypesManager_GetFileTypeFromMimeType", (PyCFunction
) _wrap_MimeTypesManager_GetFileTypeFromMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28168 { (char *)"MimeTypesManager_ReadMailcap", (PyCFunction
) _wrap_MimeTypesManager_ReadMailcap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28169 { (char *)"MimeTypesManager_ReadMimeTypes", (PyCFunction
) _wrap_MimeTypesManager_ReadMimeTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28170 { (char *)"MimeTypesManager_EnumAllFileTypes", (PyCFunction
) _wrap_MimeTypesManager_EnumAllFileTypes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28171 { (char *)"MimeTypesManager_AddFallback", (PyCFunction
) _wrap_MimeTypesManager_AddFallback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28172 { (char *)"MimeTypesManager_Associate", (PyCFunction
) _wrap_MimeTypesManager_Associate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28173 { (char *)"MimeTypesManager_Unassociate", (PyCFunction
) _wrap_MimeTypesManager_Unassociate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28174 { (char *)"delete_MimeTypesManager", (PyCFunction
) _wrap_delete_MimeTypesManager
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28175 { (char *)"MimeTypesManager_swigregister", MimeTypesManager_swigregister
, METH_VARARGS
, NULL
},
28176 { (char *)"new_ArtProvider", (PyCFunction
) _wrap_new_ArtProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28177 { (char *)"ArtProvider__setCallbackInfo", (PyCFunction
) _wrap_ArtProvider__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28178 { (char *)"ArtProvider_PushProvider", (PyCFunction
) _wrap_ArtProvider_PushProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28179 { (char *)"ArtProvider_PopProvider", (PyCFunction
) _wrap_ArtProvider_PopProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28180 { (char *)"ArtProvider_RemoveProvider", (PyCFunction
) _wrap_ArtProvider_RemoveProvider
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28181 { (char *)"ArtProvider_GetBitmap", (PyCFunction
) _wrap_ArtProvider_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28182 { (char *)"ArtProvider_GetIcon", (PyCFunction
) _wrap_ArtProvider_GetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28183 { (char *)"ArtProvider_Destroy", (PyCFunction
) _wrap_ArtProvider_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28184 { (char *)"ArtProvider_swigregister", ArtProvider_swigregister
, METH_VARARGS
, NULL
},
28185 { (char *)"delete_ConfigBase", (PyCFunction
) _wrap_delete_ConfigBase
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28186 { (char *)"ConfigBase_Set", (PyCFunction
) _wrap_ConfigBase_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28187 { (char *)"ConfigBase_Get", (PyCFunction
) _wrap_ConfigBase_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28188 { (char *)"ConfigBase_Create", (PyCFunction
) _wrap_ConfigBase_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28189 { (char *)"ConfigBase_DontCreateOnDemand", (PyCFunction
) _wrap_ConfigBase_DontCreateOnDemand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28190 { (char *)"ConfigBase_SetPath", (PyCFunction
) _wrap_ConfigBase_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28191 { (char *)"ConfigBase_GetPath", (PyCFunction
) _wrap_ConfigBase_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28192 { (char *)"ConfigBase_GetFirstGroup", (PyCFunction
) _wrap_ConfigBase_GetFirstGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28193 { (char *)"ConfigBase_GetNextGroup", (PyCFunction
) _wrap_ConfigBase_GetNextGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28194 { (char *)"ConfigBase_GetFirstEntry", (PyCFunction
) _wrap_ConfigBase_GetFirstEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28195 { (char *)"ConfigBase_GetNextEntry", (PyCFunction
) _wrap_ConfigBase_GetNextEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28196 { (char *)"ConfigBase_GetNumberOfEntries", (PyCFunction
) _wrap_ConfigBase_GetNumberOfEntries
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28197 { (char *)"ConfigBase_GetNumberOfGroups", (PyCFunction
) _wrap_ConfigBase_GetNumberOfGroups
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28198 { (char *)"ConfigBase_HasGroup", (PyCFunction
) _wrap_ConfigBase_HasGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28199 { (char *)"ConfigBase_HasEntry", (PyCFunction
) _wrap_ConfigBase_HasEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28200 { (char *)"ConfigBase_Exists", (PyCFunction
) _wrap_ConfigBase_Exists
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28201 { (char *)"ConfigBase_GetEntryType", (PyCFunction
) _wrap_ConfigBase_GetEntryType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28202 { (char *)"ConfigBase_Read", (PyCFunction
) _wrap_ConfigBase_Read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28203 { (char *)"ConfigBase_ReadInt", (PyCFunction
) _wrap_ConfigBase_ReadInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28204 { (char *)"ConfigBase_ReadFloat", (PyCFunction
) _wrap_ConfigBase_ReadFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28205 { (char *)"ConfigBase_ReadBool", (PyCFunction
) _wrap_ConfigBase_ReadBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28206 { (char *)"ConfigBase_Write", (PyCFunction
) _wrap_ConfigBase_Write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28207 { (char *)"ConfigBase_WriteInt", (PyCFunction
) _wrap_ConfigBase_WriteInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28208 { (char *)"ConfigBase_WriteFloat", (PyCFunction
) _wrap_ConfigBase_WriteFloat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28209 { (char *)"ConfigBase_WriteBool", (PyCFunction
) _wrap_ConfigBase_WriteBool
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28210 { (char *)"ConfigBase_Flush", (PyCFunction
) _wrap_ConfigBase_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28211 { (char *)"ConfigBase_RenameEntry", (PyCFunction
) _wrap_ConfigBase_RenameEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28212 { (char *)"ConfigBase_RenameGroup", (PyCFunction
) _wrap_ConfigBase_RenameGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28213 { (char *)"ConfigBase_DeleteEntry", (PyCFunction
) _wrap_ConfigBase_DeleteEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28214 { (char *)"ConfigBase_DeleteGroup", (PyCFunction
) _wrap_ConfigBase_DeleteGroup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28215 { (char *)"ConfigBase_DeleteAll", (PyCFunction
) _wrap_ConfigBase_DeleteAll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28216 { (char *)"ConfigBase_SetExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_SetExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28217 { (char *)"ConfigBase_IsExpandingEnvVars", (PyCFunction
) _wrap_ConfigBase_IsExpandingEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28218 { (char *)"ConfigBase_SetRecordDefaults", (PyCFunction
) _wrap_ConfigBase_SetRecordDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28219 { (char *)"ConfigBase_IsRecordingDefaults", (PyCFunction
) _wrap_ConfigBase_IsRecordingDefaults
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28220 { (char *)"ConfigBase_ExpandEnvVars", (PyCFunction
) _wrap_ConfigBase_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28221 { (char *)"ConfigBase_GetAppName", (PyCFunction
) _wrap_ConfigBase_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28222 { (char *)"ConfigBase_GetVendorName", (PyCFunction
) _wrap_ConfigBase_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28223 { (char *)"ConfigBase_SetAppName", (PyCFunction
) _wrap_ConfigBase_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28224 { (char *)"ConfigBase_SetVendorName", (PyCFunction
) _wrap_ConfigBase_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28225 { (char *)"ConfigBase_SetStyle", (PyCFunction
) _wrap_ConfigBase_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28226 { (char *)"ConfigBase_GetStyle", (PyCFunction
) _wrap_ConfigBase_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28227 { (char *)"ConfigBase_swigregister", ConfigBase_swigregister
, METH_VARARGS
, NULL
},
28228 { (char *)"new_Config", (PyCFunction
) _wrap_new_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28229 { (char *)"delete_Config", (PyCFunction
) _wrap_delete_Config
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28230 { (char *)"Config_swigregister", Config_swigregister
, METH_VARARGS
, NULL
},
28231 { (char *)"new_FileConfig", (PyCFunction
) _wrap_new_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28232 { (char *)"delete_FileConfig", (PyCFunction
) _wrap_delete_FileConfig
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28233 { (char *)"FileConfig_swigregister", FileConfig_swigregister
, METH_VARARGS
, NULL
},
28234 { (char *)"new_ConfigPathChanger", (PyCFunction
) _wrap_new_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28235 { (char *)"delete_ConfigPathChanger", (PyCFunction
) _wrap_delete_ConfigPathChanger
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28236 { (char *)"ConfigPathChanger_Name", (PyCFunction
) _wrap_ConfigPathChanger_Name
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28237 { (char *)"ConfigPathChanger_swigregister", ConfigPathChanger_swigregister
, METH_VARARGS
, NULL
},
28238 { (char *)"ExpandEnvVars", (PyCFunction
) _wrap_ExpandEnvVars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28239 { (char *)"DateTime_SetCountry", (PyCFunction
) _wrap_DateTime_SetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28240 { (char *)"DateTime_GetCountry", (PyCFunction
) _wrap_DateTime_GetCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28241 { (char *)"DateTime_IsWestEuropeanCountry", (PyCFunction
) _wrap_DateTime_IsWestEuropeanCountry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28242 { (char *)"DateTime_GetCurrentYear", (PyCFunction
) _wrap_DateTime_GetCurrentYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28243 { (char *)"DateTime_ConvertYearToBC", (PyCFunction
) _wrap_DateTime_ConvertYearToBC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28244 { (char *)"DateTime_GetCurrentMonth", (PyCFunction
) _wrap_DateTime_GetCurrentMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28245 { (char *)"DateTime_IsLeapYear", (PyCFunction
) _wrap_DateTime_IsLeapYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28246 { (char *)"DateTime_GetCentury", (PyCFunction
) _wrap_DateTime_GetCentury
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28247 { (char *)"DateTime_GetNumberOfDaysinYear", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysinYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28248 { (char *)"DateTime_GetNumberOfDaysInMonth", (PyCFunction
) _wrap_DateTime_GetNumberOfDaysInMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28249 { (char *)"DateTime_GetMonthName", (PyCFunction
) _wrap_DateTime_GetMonthName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28250 { (char *)"DateTime_GetWeekDayName", (PyCFunction
) _wrap_DateTime_GetWeekDayName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28251 { (char *)"DateTime_GetAmPmStrings", (PyCFunction
) _wrap_DateTime_GetAmPmStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28252 { (char *)"DateTime_IsDSTApplicable", (PyCFunction
) _wrap_DateTime_IsDSTApplicable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28253 { (char *)"DateTime_GetBeginDST", (PyCFunction
) _wrap_DateTime_GetBeginDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28254 { (char *)"DateTime_GetEndDST", (PyCFunction
) _wrap_DateTime_GetEndDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28255 { (char *)"DateTime_Now", (PyCFunction
) _wrap_DateTime_Now
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28256 { (char *)"DateTime_UNow", (PyCFunction
) _wrap_DateTime_UNow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28257 { (char *)"DateTime_Today", (PyCFunction
) _wrap_DateTime_Today
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28258 { (char *)"new_DateTime", (PyCFunction
) _wrap_new_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28259 { (char *)"new_DateTimeFromTimeT", (PyCFunction
) _wrap_new_DateTimeFromTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28260 { (char *)"new_DateTimeFromJDN", (PyCFunction
) _wrap_new_DateTimeFromJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28261 { (char *)"new_DateTimeFromHMS", (PyCFunction
) _wrap_new_DateTimeFromHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28262 { (char *)"new_DateTimeFromDMY", (PyCFunction
) _wrap_new_DateTimeFromDMY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28263 { (char *)"delete_DateTime", (PyCFunction
) _wrap_delete_DateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28264 { (char *)"DateTime_SetToCurrent", (PyCFunction
) _wrap_DateTime_SetToCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28265 { (char *)"DateTime_SetTimeT", (PyCFunction
) _wrap_DateTime_SetTimeT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28266 { (char *)"DateTime_SetJDN", (PyCFunction
) _wrap_DateTime_SetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28267 { (char *)"DateTime_SetHMS", (PyCFunction
) _wrap_DateTime_SetHMS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28268 { (char *)"DateTime_Set", (PyCFunction
) _wrap_DateTime_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28269 { (char *)"DateTime_ResetTime", (PyCFunction
) _wrap_DateTime_ResetTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28270 { (char *)"DateTime_SetYear", (PyCFunction
) _wrap_DateTime_SetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28271 { (char *)"DateTime_SetMonth", (PyCFunction
) _wrap_DateTime_SetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28272 { (char *)"DateTime_SetDay", (PyCFunction
) _wrap_DateTime_SetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28273 { (char *)"DateTime_SetHour", (PyCFunction
) _wrap_DateTime_SetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28274 { (char *)"DateTime_SetMinute", (PyCFunction
) _wrap_DateTime_SetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28275 { (char *)"DateTime_SetSecond", (PyCFunction
) _wrap_DateTime_SetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28276 { (char *)"DateTime_SetMillisecond", (PyCFunction
) _wrap_DateTime_SetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28277 { (char *)"DateTime_SetToWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_SetToWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28278 { (char *)"DateTime_GetWeekDayInSameWeek", (PyCFunction
) _wrap_DateTime_GetWeekDayInSameWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28279 { (char *)"DateTime_SetToNextWeekDay", (PyCFunction
) _wrap_DateTime_SetToNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28280 { (char *)"DateTime_GetNextWeekDay", (PyCFunction
) _wrap_DateTime_GetNextWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28281 { (char *)"DateTime_SetToPrevWeekDay", (PyCFunction
) _wrap_DateTime_SetToPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28282 { (char *)"DateTime_GetPrevWeekDay", (PyCFunction
) _wrap_DateTime_GetPrevWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28283 { (char *)"DateTime_SetToWeekDay", (PyCFunction
) _wrap_DateTime_SetToWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28284 { (char *)"DateTime_SetToLastWeekDay", (PyCFunction
) _wrap_DateTime_SetToLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28285 { (char *)"DateTime_GetLastWeekDay", (PyCFunction
) _wrap_DateTime_GetLastWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28286 { (char *)"DateTime_SetToTheWeek", (PyCFunction
) _wrap_DateTime_SetToTheWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28287 { (char *)"DateTime_GetWeek", (PyCFunction
) _wrap_DateTime_GetWeek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28288 { (char *)"DateTime_SetToLastMonthDay", (PyCFunction
) _wrap_DateTime_SetToLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28289 { (char *)"DateTime_GetLastMonthDay", (PyCFunction
) _wrap_DateTime_GetLastMonthDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28290 { (char *)"DateTime_SetToYearDay", (PyCFunction
) _wrap_DateTime_SetToYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28291 { (char *)"DateTime_GetYearDay", (PyCFunction
) _wrap_DateTime_GetYearDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28292 { (char *)"DateTime_GetJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28293 { (char *)"DateTime_GetJDN", (PyCFunction
) _wrap_DateTime_GetJDN
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28294 { (char *)"DateTime_GetModifiedJulianDayNumber", (PyCFunction
) _wrap_DateTime_GetModifiedJulianDayNumber
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28295 { (char *)"DateTime_GetMJD", (PyCFunction
) _wrap_DateTime_GetMJD
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28296 { (char *)"DateTime_GetRataDie", (PyCFunction
) _wrap_DateTime_GetRataDie
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28297 { (char *)"DateTime_ToTimezone", (PyCFunction
) _wrap_DateTime_ToTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28298 { (char *)"DateTime_MakeTimezone", (PyCFunction
) _wrap_DateTime_MakeTimezone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28299 { (char *)"DateTime_ToGMT", (PyCFunction
) _wrap_DateTime_ToGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28300 { (char *)"DateTime_MakeGMT", (PyCFunction
) _wrap_DateTime_MakeGMT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28301 { (char *)"DateTime_IsDST", (PyCFunction
) _wrap_DateTime_IsDST
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28302 { (char *)"DateTime_IsValid", (PyCFunction
) _wrap_DateTime_IsValid
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28303 { (char *)"DateTime_GetTicks", (PyCFunction
) _wrap_DateTime_GetTicks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28304 { (char *)"DateTime_GetYear", (PyCFunction
) _wrap_DateTime_GetYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28305 { (char *)"DateTime_GetMonth", (PyCFunction
) _wrap_DateTime_GetMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28306 { (char *)"DateTime_GetDay", (PyCFunction
) _wrap_DateTime_GetDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28307 { (char *)"DateTime_GetWeekDay", (PyCFunction
) _wrap_DateTime_GetWeekDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28308 { (char *)"DateTime_GetHour", (PyCFunction
) _wrap_DateTime_GetHour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28309 { (char *)"DateTime_GetMinute", (PyCFunction
) _wrap_DateTime_GetMinute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28310 { (char *)"DateTime_GetSecond", (PyCFunction
) _wrap_DateTime_GetSecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28311 { (char *)"DateTime_GetMillisecond", (PyCFunction
) _wrap_DateTime_GetMillisecond
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28312 { (char *)"DateTime_GetDayOfYear", (PyCFunction
) _wrap_DateTime_GetDayOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28313 { (char *)"DateTime_GetWeekOfYear", (PyCFunction
) _wrap_DateTime_GetWeekOfYear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28314 { (char *)"DateTime_GetWeekOfMonth", (PyCFunction
) _wrap_DateTime_GetWeekOfMonth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28315 { (char *)"DateTime_IsWorkDay", (PyCFunction
) _wrap_DateTime_IsWorkDay
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28316 { (char *)"DateTime_IsEqualTo", (PyCFunction
) _wrap_DateTime_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28317 { (char *)"DateTime_IsEarlierThan", (PyCFunction
) _wrap_DateTime_IsEarlierThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28318 { (char *)"DateTime_IsLaterThan", (PyCFunction
) _wrap_DateTime_IsLaterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28319 { (char *)"DateTime_IsStrictlyBetween", (PyCFunction
) _wrap_DateTime_IsStrictlyBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28320 { (char *)"DateTime_IsBetween", (PyCFunction
) _wrap_DateTime_IsBetween
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28321 { (char *)"DateTime_IsSameDate", (PyCFunction
) _wrap_DateTime_IsSameDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28322 { (char *)"DateTime_IsSameTime", (PyCFunction
) _wrap_DateTime_IsSameTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28323 { (char *)"DateTime_IsEqualUpTo", (PyCFunction
) _wrap_DateTime_IsEqualUpTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28324 { (char *)"DateTime_AddTS", (PyCFunction
) _wrap_DateTime_AddTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28325 { (char *)"DateTime_AddDS", (PyCFunction
) _wrap_DateTime_AddDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28326 { (char *)"DateTime_SubtractTS", (PyCFunction
) _wrap_DateTime_SubtractTS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28327 { (char *)"DateTime_SubtractDS", (PyCFunction
) _wrap_DateTime_SubtractDS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28328 { (char *)"DateTime_Subtract", (PyCFunction
) _wrap_DateTime_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28329 { (char *)"DateTime___iadd__", _wrap_DateTime___iadd__
, METH_VARARGS
, NULL
},
28330 { (char *)"DateTime___isub__", _wrap_DateTime___isub__
, METH_VARARGS
, NULL
},
28331 { (char *)"DateTime___add__", _wrap_DateTime___add__
, METH_VARARGS
, NULL
},
28332 { (char *)"DateTime___sub__", _wrap_DateTime___sub__
, METH_VARARGS
, NULL
},
28333 { (char *)"DateTime___lt__", _wrap_DateTime___lt__
, METH_VARARGS
, NULL
},
28334 { (char *)"DateTime___le__", _wrap_DateTime___le__
, METH_VARARGS
, NULL
},
28335 { (char *)"DateTime___gt__", _wrap_DateTime___gt__
, METH_VARARGS
, NULL
},
28336 { (char *)"DateTime___ge__", _wrap_DateTime___ge__
, METH_VARARGS
, NULL
},
28337 { (char *)"DateTime___eq__", _wrap_DateTime___eq__
, METH_VARARGS
, NULL
},
28338 { (char *)"DateTime___ne__", _wrap_DateTime___ne__
, METH_VARARGS
, NULL
},
28339 { (char *)"DateTime_ParseRfc822Date", (PyCFunction
) _wrap_DateTime_ParseRfc822Date
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28340 { (char *)"DateTime_ParseFormat", (PyCFunction
) _wrap_DateTime_ParseFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28341 { (char *)"DateTime_ParseDateTime", (PyCFunction
) _wrap_DateTime_ParseDateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28342 { (char *)"DateTime_ParseDate", (PyCFunction
) _wrap_DateTime_ParseDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28343 { (char *)"DateTime_ParseTime", (PyCFunction
) _wrap_DateTime_ParseTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28344 { (char *)"DateTime_Format", (PyCFunction
) _wrap_DateTime_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28345 { (char *)"DateTime_FormatDate", (PyCFunction
) _wrap_DateTime_FormatDate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28346 { (char *)"DateTime_FormatTime", (PyCFunction
) _wrap_DateTime_FormatTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28347 { (char *)"DateTime_FormatISODate", (PyCFunction
) _wrap_DateTime_FormatISODate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28348 { (char *)"DateTime_FormatISOTime", (PyCFunction
) _wrap_DateTime_FormatISOTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28349 { (char *)"DateTime_swigregister", DateTime_swigregister
, METH_VARARGS
, NULL
},
28350 { (char *)"TimeSpan_Seconds", (PyCFunction
) _wrap_TimeSpan_Seconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28351 { (char *)"TimeSpan_Second", (PyCFunction
) _wrap_TimeSpan_Second
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28352 { (char *)"TimeSpan_Minutes", (PyCFunction
) _wrap_TimeSpan_Minutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28353 { (char *)"TimeSpan_Minute", (PyCFunction
) _wrap_TimeSpan_Minute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28354 { (char *)"TimeSpan_Hours", (PyCFunction
) _wrap_TimeSpan_Hours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28355 { (char *)"TimeSpan_Hour", (PyCFunction
) _wrap_TimeSpan_Hour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28356 { (char *)"TimeSpan_Days", (PyCFunction
) _wrap_TimeSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28357 { (char *)"TimeSpan_Day", (PyCFunction
) _wrap_TimeSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28358 { (char *)"TimeSpan_Weeks", (PyCFunction
) _wrap_TimeSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28359 { (char *)"TimeSpan_Week", (PyCFunction
) _wrap_TimeSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28360 { (char *)"new_TimeSpan", (PyCFunction
) _wrap_new_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28361 { (char *)"delete_TimeSpan", (PyCFunction
) _wrap_delete_TimeSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28362 { (char *)"TimeSpan_Add", (PyCFunction
) _wrap_TimeSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28363 { (char *)"TimeSpan_Subtract", (PyCFunction
) _wrap_TimeSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28364 { (char *)"TimeSpan_Multiply", (PyCFunction
) _wrap_TimeSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28365 { (char *)"TimeSpan_Neg", (PyCFunction
) _wrap_TimeSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28366 { (char *)"TimeSpan_Abs", (PyCFunction
) _wrap_TimeSpan_Abs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28367 { (char *)"TimeSpan___iadd__", (PyCFunction
) _wrap_TimeSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28368 { (char *)"TimeSpan___isub__", (PyCFunction
) _wrap_TimeSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28369 { (char *)"TimeSpan___imul__", (PyCFunction
) _wrap_TimeSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28370 { (char *)"TimeSpan___neg__", (PyCFunction
) _wrap_TimeSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28371 { (char *)"TimeSpan___add__", (PyCFunction
) _wrap_TimeSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28372 { (char *)"TimeSpan___sub__", (PyCFunction
) _wrap_TimeSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28373 { (char *)"TimeSpan___mul__", (PyCFunction
) _wrap_TimeSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28374 { (char *)"TimeSpan___rmul__", (PyCFunction
) _wrap_TimeSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28375 { (char *)"TimeSpan___lt__", (PyCFunction
) _wrap_TimeSpan___lt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28376 { (char *)"TimeSpan___le__", (PyCFunction
) _wrap_TimeSpan___le__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28377 { (char *)"TimeSpan___gt__", (PyCFunction
) _wrap_TimeSpan___gt__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28378 { (char *)"TimeSpan___ge__", (PyCFunction
) _wrap_TimeSpan___ge__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28379 { (char *)"TimeSpan___eq__", (PyCFunction
) _wrap_TimeSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28380 { (char *)"TimeSpan___ne__", (PyCFunction
) _wrap_TimeSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28381 { (char *)"TimeSpan_IsNull", (PyCFunction
) _wrap_TimeSpan_IsNull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28382 { (char *)"TimeSpan_IsPositive", (PyCFunction
) _wrap_TimeSpan_IsPositive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28383 { (char *)"TimeSpan_IsNegative", (PyCFunction
) _wrap_TimeSpan_IsNegative
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28384 { (char *)"TimeSpan_IsEqualTo", (PyCFunction
) _wrap_TimeSpan_IsEqualTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28385 { (char *)"TimeSpan_IsLongerThan", (PyCFunction
) _wrap_TimeSpan_IsLongerThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28386 { (char *)"TimeSpan_IsShorterThan", (PyCFunction
) _wrap_TimeSpan_IsShorterThan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28387 { (char *)"TimeSpan_GetWeeks", (PyCFunction
) _wrap_TimeSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28388 { (char *)"TimeSpan_GetDays", (PyCFunction
) _wrap_TimeSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28389 { (char *)"TimeSpan_GetHours", (PyCFunction
) _wrap_TimeSpan_GetHours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28390 { (char *)"TimeSpan_GetMinutes", (PyCFunction
) _wrap_TimeSpan_GetMinutes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28391 { (char *)"TimeSpan_GetSeconds", (PyCFunction
) _wrap_TimeSpan_GetSeconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28392 { (char *)"TimeSpan_GetMilliseconds", (PyCFunction
) _wrap_TimeSpan_GetMilliseconds
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28393 { (char *)"TimeSpan_Format", (PyCFunction
) _wrap_TimeSpan_Format
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28394 { (char *)"TimeSpan_swigregister", TimeSpan_swigregister
, METH_VARARGS
, NULL
},
28395 { (char *)"new_DateSpan", (PyCFunction
) _wrap_new_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28396 { (char *)"delete_DateSpan", (PyCFunction
) _wrap_delete_DateSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28397 { (char *)"DateSpan_Days", (PyCFunction
) _wrap_DateSpan_Days
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28398 { (char *)"DateSpan_Day", (PyCFunction
) _wrap_DateSpan_Day
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28399 { (char *)"DateSpan_Weeks", (PyCFunction
) _wrap_DateSpan_Weeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28400 { (char *)"DateSpan_Week", (PyCFunction
) _wrap_DateSpan_Week
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28401 { (char *)"DateSpan_Months", (PyCFunction
) _wrap_DateSpan_Months
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28402 { (char *)"DateSpan_Month", (PyCFunction
) _wrap_DateSpan_Month
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28403 { (char *)"DateSpan_Years", (PyCFunction
) _wrap_DateSpan_Years
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28404 { (char *)"DateSpan_Year", (PyCFunction
) _wrap_DateSpan_Year
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28405 { (char *)"DateSpan_SetYears", (PyCFunction
) _wrap_DateSpan_SetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28406 { (char *)"DateSpan_SetMonths", (PyCFunction
) _wrap_DateSpan_SetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28407 { (char *)"DateSpan_SetWeeks", (PyCFunction
) _wrap_DateSpan_SetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28408 { (char *)"DateSpan_SetDays", (PyCFunction
) _wrap_DateSpan_SetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28409 { (char *)"DateSpan_GetYears", (PyCFunction
) _wrap_DateSpan_GetYears
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28410 { (char *)"DateSpan_GetMonths", (PyCFunction
) _wrap_DateSpan_GetMonths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28411 { (char *)"DateSpan_GetWeeks", (PyCFunction
) _wrap_DateSpan_GetWeeks
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28412 { (char *)"DateSpan_GetDays", (PyCFunction
) _wrap_DateSpan_GetDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28413 { (char *)"DateSpan_GetTotalDays", (PyCFunction
) _wrap_DateSpan_GetTotalDays
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28414 { (char *)"DateSpan_Add", (PyCFunction
) _wrap_DateSpan_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28415 { (char *)"DateSpan_Subtract", (PyCFunction
) _wrap_DateSpan_Subtract
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28416 { (char *)"DateSpan_Neg", (PyCFunction
) _wrap_DateSpan_Neg
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28417 { (char *)"DateSpan_Multiply", (PyCFunction
) _wrap_DateSpan_Multiply
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28418 { (char *)"DateSpan___iadd__", (PyCFunction
) _wrap_DateSpan___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28419 { (char *)"DateSpan___isub__", (PyCFunction
) _wrap_DateSpan___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28420 { (char *)"DateSpan___neg__", (PyCFunction
) _wrap_DateSpan___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28421 { (char *)"DateSpan___imul__", (PyCFunction
) _wrap_DateSpan___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28422 { (char *)"DateSpan___add__", (PyCFunction
) _wrap_DateSpan___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28423 { (char *)"DateSpan___sub__", (PyCFunction
) _wrap_DateSpan___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28424 { (char *)"DateSpan___mul__", (PyCFunction
) _wrap_DateSpan___mul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28425 { (char *)"DateSpan___rmul__", (PyCFunction
) _wrap_DateSpan___rmul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28426 { (char *)"DateSpan___eq__", (PyCFunction
) _wrap_DateSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28427 { (char *)"DateSpan___ne__", (PyCFunction
) _wrap_DateSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28428 { (char *)"DateSpan_swigregister", DateSpan_swigregister
, METH_VARARGS
, NULL
},
28429 { (char *)"GetLocalTime", (PyCFunction
) _wrap_GetLocalTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28430 { (char *)"GetUTCTime", (PyCFunction
) _wrap_GetUTCTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28431 { (char *)"GetCurrentTime", (PyCFunction
) _wrap_GetCurrentTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28432 { (char *)"GetLocalTimeMillis", (PyCFunction
) _wrap_GetLocalTimeMillis
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28433 { (char *)"new_DataFormat", (PyCFunction
) _wrap_new_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28434 { (char *)"new_CustomDataFormat", (PyCFunction
) _wrap_new_CustomDataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28435 { (char *)"delete_DataFormat", (PyCFunction
) _wrap_delete_DataFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28436 { (char *)"DataFormat___eq__", _wrap_DataFormat___eq__
, METH_VARARGS
, NULL
},
28437 { (char *)"DataFormat___ne__", _wrap_DataFormat___ne__
, METH_VARARGS
, NULL
},
28438 { (char *)"DataFormat_SetType", (PyCFunction
) _wrap_DataFormat_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28439 { (char *)"DataFormat_GetType", (PyCFunction
) _wrap_DataFormat_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28440 { (char *)"DataFormat_GetId", (PyCFunction
) _wrap_DataFormat_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28441 { (char *)"DataFormat_SetId", (PyCFunction
) _wrap_DataFormat_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28442 { (char *)"DataFormat_swigregister", DataFormat_swigregister
, METH_VARARGS
, NULL
},
28443 { (char *)"delete_DataObject", (PyCFunction
) _wrap_delete_DataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28444 { (char *)"DataObject_GetPreferredFormat", (PyCFunction
) _wrap_DataObject_GetPreferredFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28445 { (char *)"DataObject_GetFormatCount", (PyCFunction
) _wrap_DataObject_GetFormatCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28446 { (char *)"DataObject_IsSupported", (PyCFunction
) _wrap_DataObject_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28447 { (char *)"DataObject_GetDataSize", (PyCFunction
) _wrap_DataObject_GetDataSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28448 { (char *)"DataObject_GetAllFormats", (PyCFunction
) _wrap_DataObject_GetAllFormats
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28449 { (char *)"DataObject_GetDataHere", (PyCFunction
) _wrap_DataObject_GetDataHere
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28450 { (char *)"DataObject_SetData", (PyCFunction
) _wrap_DataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28451 { (char *)"DataObject_swigregister", DataObject_swigregister
, METH_VARARGS
, NULL
},
28452 { (char *)"new_DataObjectSimple", (PyCFunction
) _wrap_new_DataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28453 { (char *)"DataObjectSimple_GetFormat", (PyCFunction
) _wrap_DataObjectSimple_GetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28454 { (char *)"DataObjectSimple_SetFormat", (PyCFunction
) _wrap_DataObjectSimple_SetFormat
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28455 { (char *)"DataObjectSimple_swigregister", DataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
28456 { (char *)"new_PyDataObjectSimple", (PyCFunction
) _wrap_new_PyDataObjectSimple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28457 { (char *)"PyDataObjectSimple__setCallbackInfo", (PyCFunction
) _wrap_PyDataObjectSimple__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28458 { (char *)"PyDataObjectSimple_swigregister", PyDataObjectSimple_swigregister
, METH_VARARGS
, NULL
},
28459 { (char *)"new_DataObjectComposite", (PyCFunction
) _wrap_new_DataObjectComposite
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28460 { (char *)"DataObjectComposite_Add", (PyCFunction
) _wrap_DataObjectComposite_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28461 { (char *)"DataObjectComposite_swigregister", DataObjectComposite_swigregister
, METH_VARARGS
, NULL
},
28462 { (char *)"new_TextDataObject", (PyCFunction
) _wrap_new_TextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28463 { (char *)"TextDataObject_GetTextLength", (PyCFunction
) _wrap_TextDataObject_GetTextLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28464 { (char *)"TextDataObject_GetText", (PyCFunction
) _wrap_TextDataObject_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28465 { (char *)"TextDataObject_SetText", (PyCFunction
) _wrap_TextDataObject_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28466 { (char *)"TextDataObject_swigregister", TextDataObject_swigregister
, METH_VARARGS
, NULL
},
28467 { (char *)"new_PyTextDataObject", (PyCFunction
) _wrap_new_PyTextDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28468 { (char *)"PyTextDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyTextDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28469 { (char *)"PyTextDataObject_swigregister", PyTextDataObject_swigregister
, METH_VARARGS
, NULL
},
28470 { (char *)"new_BitmapDataObject", (PyCFunction
) _wrap_new_BitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28471 { (char *)"BitmapDataObject_GetBitmap", (PyCFunction
) _wrap_BitmapDataObject_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28472 { (char *)"BitmapDataObject_SetBitmap", (PyCFunction
) _wrap_BitmapDataObject_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28473 { (char *)"BitmapDataObject_swigregister", BitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
28474 { (char *)"new_PyBitmapDataObject", (PyCFunction
) _wrap_new_PyBitmapDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28475 { (char *)"PyBitmapDataObject__setCallbackInfo", (PyCFunction
) _wrap_PyBitmapDataObject__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28476 { (char *)"PyBitmapDataObject_swigregister", PyBitmapDataObject_swigregister
, METH_VARARGS
, NULL
},
28477 { (char *)"new_FileDataObject", (PyCFunction
) _wrap_new_FileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28478 { (char *)"FileDataObject_GetFilenames", (PyCFunction
) _wrap_FileDataObject_GetFilenames
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28479 { (char *)"FileDataObject_AddFile", (PyCFunction
) _wrap_FileDataObject_AddFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28480 { (char *)"FileDataObject_swigregister", FileDataObject_swigregister
, METH_VARARGS
, NULL
},
28481 { (char *)"new_CustomDataObject", (PyCFunction
) _wrap_new_CustomDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28482 { (char *)"CustomDataObject_TakeData", (PyCFunction
) _wrap_CustomDataObject_TakeData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28483 { (char *)"CustomDataObject_SetData", (PyCFunction
) _wrap_CustomDataObject_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28484 { (char *)"CustomDataObject_GetSize", (PyCFunction
) _wrap_CustomDataObject_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28485 { (char *)"CustomDataObject_GetData", (PyCFunction
) _wrap_CustomDataObject_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28486 { (char *)"CustomDataObject_swigregister", CustomDataObject_swigregister
, METH_VARARGS
, NULL
},
28487 { (char *)"new_URLDataObject", (PyCFunction
) _wrap_new_URLDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28488 { (char *)"URLDataObject_GetURL", (PyCFunction
) _wrap_URLDataObject_GetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28489 { (char *)"URLDataObject_SetURL", (PyCFunction
) _wrap_URLDataObject_SetURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28490 { (char *)"URLDataObject_swigregister", URLDataObject_swigregister
, METH_VARARGS
, NULL
},
28491 { (char *)"new_MetafileDataObject", (PyCFunction
) _wrap_new_MetafileDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28492 { (char *)"MetafileDataObject_SetMetafile", (PyCFunction
) _wrap_MetafileDataObject_SetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28493 { (char *)"MetafileDataObject_GetMetafile", (PyCFunction
) _wrap_MetafileDataObject_GetMetafile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28494 { (char *)"MetafileDataObject_swigregister", MetafileDataObject_swigregister
, METH_VARARGS
, NULL
},
28495 { (char *)"IsDragResultOk", (PyCFunction
) _wrap_IsDragResultOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28496 { (char *)"new_DropSource", (PyCFunction
) _wrap_new_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28497 { (char *)"DropSource__setCallbackInfo", (PyCFunction
) _wrap_DropSource__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28498 { (char *)"delete_DropSource", (PyCFunction
) _wrap_delete_DropSource
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28499 { (char *)"DropSource_SetData", (PyCFunction
) _wrap_DropSource_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28500 { (char *)"DropSource_GetDataObject", (PyCFunction
) _wrap_DropSource_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28501 { (char *)"DropSource_SetCursor", (PyCFunction
) _wrap_DropSource_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28502 { (char *)"DropSource_DoDragDrop", (PyCFunction
) _wrap_DropSource_DoDragDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28503 { (char *)"DropSource_base_GiveFeedback", (PyCFunction
) _wrap_DropSource_base_GiveFeedback
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28504 { (char *)"DropSource_swigregister", DropSource_swigregister
, METH_VARARGS
, NULL
},
28505 { (char *)"new_DropTarget", (PyCFunction
) _wrap_new_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28506 { (char *)"DropTarget__setCallbackInfo", (PyCFunction
) _wrap_DropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28507 { (char *)"delete_DropTarget", (PyCFunction
) _wrap_delete_DropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28508 { (char *)"DropTarget_GetDataObject", (PyCFunction
) _wrap_DropTarget_GetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28509 { (char *)"DropTarget_SetDataObject", (PyCFunction
) _wrap_DropTarget_SetDataObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28510 { (char *)"DropTarget_base_OnEnter", (PyCFunction
) _wrap_DropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28511 { (char *)"DropTarget_base_OnDragOver", (PyCFunction
) _wrap_DropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28512 { (char *)"DropTarget_base_OnLeave", (PyCFunction
) _wrap_DropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28513 { (char *)"DropTarget_base_OnDrop", (PyCFunction
) _wrap_DropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28514 { (char *)"DropTarget_GetData", (PyCFunction
) _wrap_DropTarget_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28515 { (char *)"DropTarget_swigregister", DropTarget_swigregister
, METH_VARARGS
, NULL
},
28516 { (char *)"new_TextDropTarget", (PyCFunction
) _wrap_new_TextDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28517 { (char *)"TextDropTarget__setCallbackInfo", (PyCFunction
) _wrap_TextDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28518 { (char *)"TextDropTarget_base_OnEnter", (PyCFunction
) _wrap_TextDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28519 { (char *)"TextDropTarget_base_OnDragOver", (PyCFunction
) _wrap_TextDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28520 { (char *)"TextDropTarget_base_OnLeave", (PyCFunction
) _wrap_TextDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28521 { (char *)"TextDropTarget_base_OnDrop", (PyCFunction
) _wrap_TextDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28522 { (char *)"TextDropTarget_base_OnData", (PyCFunction
) _wrap_TextDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28523 { (char *)"TextDropTarget_swigregister", TextDropTarget_swigregister
, METH_VARARGS
, NULL
},
28524 { (char *)"new_FileDropTarget", (PyCFunction
) _wrap_new_FileDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28525 { (char *)"FileDropTarget__setCallbackInfo", (PyCFunction
) _wrap_FileDropTarget__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28526 { (char *)"FileDropTarget_base_OnEnter", (PyCFunction
) _wrap_FileDropTarget_base_OnEnter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28527 { (char *)"FileDropTarget_base_OnDragOver", (PyCFunction
) _wrap_FileDropTarget_base_OnDragOver
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28528 { (char *)"FileDropTarget_base_OnLeave", (PyCFunction
) _wrap_FileDropTarget_base_OnLeave
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28529 { (char *)"FileDropTarget_base_OnDrop", (PyCFunction
) _wrap_FileDropTarget_base_OnDrop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28530 { (char *)"FileDropTarget_base_OnData", (PyCFunction
) _wrap_FileDropTarget_base_OnData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28531 { (char *)"FileDropTarget_swigregister", FileDropTarget_swigregister
, METH_VARARGS
, NULL
},
28532 { (char *)"new_Clipboard", (PyCFunction
) _wrap_new_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28533 { (char *)"delete_Clipboard", (PyCFunction
) _wrap_delete_Clipboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28534 { (char *)"Clipboard_Open", (PyCFunction
) _wrap_Clipboard_Open
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28535 { (char *)"Clipboard_Close", (PyCFunction
) _wrap_Clipboard_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28536 { (char *)"Clipboard_IsOpened", (PyCFunction
) _wrap_Clipboard_IsOpened
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28537 { (char *)"Clipboard_AddData", (PyCFunction
) _wrap_Clipboard_AddData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28538 { (char *)"Clipboard_SetData", (PyCFunction
) _wrap_Clipboard_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28539 { (char *)"Clipboard_IsSupported", (PyCFunction
) _wrap_Clipboard_IsSupported
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28540 { (char *)"Clipboard_GetData", (PyCFunction
) _wrap_Clipboard_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28541 { (char *)"Clipboard_Clear", (PyCFunction
) _wrap_Clipboard_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28542 { (char *)"Clipboard_Flush", (PyCFunction
) _wrap_Clipboard_Flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28543 { (char *)"Clipboard_UsePrimarySelection", (PyCFunction
) _wrap_Clipboard_UsePrimarySelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28544 { (char *)"Clipboard_swigregister", Clipboard_swigregister
, METH_VARARGS
, NULL
},
28545 { (char *)"new_ClipboardLocker", (PyCFunction
) _wrap_new_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28546 { (char *)"delete_ClipboardLocker", (PyCFunction
) _wrap_delete_ClipboardLocker
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28547 { (char *)"ClipboardLocker___nonzero__", (PyCFunction
) _wrap_ClipboardLocker___nonzero__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28548 { (char *)"ClipboardLocker_swigregister", ClipboardLocker_swigregister
, METH_VARARGS
, NULL
},
28549 { (char *)"new_VideoMode", (PyCFunction
) _wrap_new_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28550 { (char *)"delete_VideoMode", (PyCFunction
) _wrap_delete_VideoMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28551 { (char *)"VideoMode_Matches", (PyCFunction
) _wrap_VideoMode_Matches
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28552 { (char *)"VideoMode_GetWidth", (PyCFunction
) _wrap_VideoMode_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28553 { (char *)"VideoMode_GetHeight", (PyCFunction
) _wrap_VideoMode_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28554 { (char *)"VideoMode_GetDepth", (PyCFunction
) _wrap_VideoMode_GetDepth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28555 { (char *)"VideoMode_IsOk", (PyCFunction
) _wrap_VideoMode_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28556 { (char *)"VideoMode___eq__", (PyCFunction
) _wrap_VideoMode___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28557 { (char *)"VideoMode___ne__", (PyCFunction
) _wrap_VideoMode___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28558 { (char *)"VideoMode_w_set", (PyCFunction
) _wrap_VideoMode_w_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28559 { (char *)"VideoMode_w_get", (PyCFunction
) _wrap_VideoMode_w_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28560 { (char *)"VideoMode_h_set", (PyCFunction
) _wrap_VideoMode_h_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28561 { (char *)"VideoMode_h_get", (PyCFunction
) _wrap_VideoMode_h_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28562 { (char *)"VideoMode_bpp_set", (PyCFunction
) _wrap_VideoMode_bpp_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28563 { (char *)"VideoMode_bpp_get", (PyCFunction
) _wrap_VideoMode_bpp_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28564 { (char *)"VideoMode_refresh_set", (PyCFunction
) _wrap_VideoMode_refresh_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28565 { (char *)"VideoMode_refresh_get", (PyCFunction
) _wrap_VideoMode_refresh_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28566 { (char *)"VideoMode_swigregister", VideoMode_swigregister
, METH_VARARGS
, NULL
},
28567 { (char *)"new_Display", (PyCFunction
) _wrap_new_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28568 { (char *)"delete_Display", (PyCFunction
) _wrap_delete_Display
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28569 { (char *)"Display_GetCount", (PyCFunction
) _wrap_Display_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28570 { (char *)"Display_GetFromPoint", (PyCFunction
) _wrap_Display_GetFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28571 { (char *)"Display_GetFromWindow", (PyCFunction
) _wrap_Display_GetFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28572 { (char *)"Display_IsOk", (PyCFunction
) _wrap_Display_IsOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28573 { (char *)"Display_GetGeometry", (PyCFunction
) _wrap_Display_GetGeometry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28574 { (char *)"Display_GetName", (PyCFunction
) _wrap_Display_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28575 { (char *)"Display_IsPrimary", (PyCFunction
) _wrap_Display_IsPrimary
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28576 { (char *)"Display_GetModes", (PyCFunction
) _wrap_Display_GetModes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28577 { (char *)"Display_GetCurrentMode", (PyCFunction
) _wrap_Display_GetCurrentMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28578 { (char *)"Display_ChangeMode", (PyCFunction
) _wrap_Display_ChangeMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28579 { (char *)"Display_ResetMode", (PyCFunction
) _wrap_Display_ResetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
28580 { (char *)"Display_swigregister", Display_swigregister
, METH_VARARGS
, NULL
},
28581 { NULL
, NULL
, 0, NULL
}
28585 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
28587 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
28588 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
28590 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
28591 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
28593 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
28594 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
28596 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
28597 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
28599 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
28600 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
28602 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
28603 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
28605 static void *_p_wxTimerEventTo_p_wxEvent(void *x
) {
28606 return (void *)((wxEvent
*) ((wxTimerEvent
*) x
));
28608 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
28609 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
28611 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
28612 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
28614 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
28615 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
28617 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
28618 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28620 static void *_p_wxJoystickEventTo_p_wxEvent(void *x
) {
28621 return (void *)((wxEvent
*) ((wxJoystickEvent
*) x
));
28623 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
28624 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
28626 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
28627 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28629 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
28630 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28632 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
28633 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
28635 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
28636 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
28638 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
28639 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
28641 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
28642 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
28644 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
28645 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
28647 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
28648 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
28650 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
28651 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
28653 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
28654 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28656 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
28657 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28659 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
28660 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28662 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
28663 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28665 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
28666 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28668 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
28669 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
28671 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
28672 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
28674 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
28675 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
28677 static void *_p_wxProcessEventTo_p_wxEvent(void *x
) {
28678 return (void *)((wxEvent
*) ((wxProcessEvent
*) x
));
28680 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
28681 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
28683 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
28684 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
28686 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
28687 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
28689 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
28690 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28692 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
28693 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28695 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
28696 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
28698 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
28699 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
28701 static void *_p_wxFileConfigTo_p_wxConfigBase(void *x
) {
28702 return (void *)((wxConfigBase
*) ((wxFileConfig
*) x
));
28704 static void *_p_wxConfigTo_p_wxConfigBase(void *x
) {
28705 return (void *)((wxConfigBase
*) ((wxConfig
*) x
));
28707 static void *_p_wxPyBitmapDataObjectTo_p_wxBitmapDataObject(void *x
) {
28708 return (void *)((wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28710 static void *_p_wxPyTextDataObjectTo_p_wxTextDataObject(void *x
) {
28711 return (void *)((wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28713 static void *_p_wxDataObjectSimpleTo_p_wxDataObject(void *x
) {
28714 return (void *)((wxDataObject
*) ((wxDataObjectSimple
*) x
));
28716 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObject(void *x
) {
28717 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28719 static void *_p_wxDataObjectCompositeTo_p_wxDataObject(void *x
) {
28720 return (void *)((wxDataObject
*) ((wxDataObjectComposite
*) x
));
28722 static void *_p_wxTextDataObjectTo_p_wxDataObject(void *x
) {
28723 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28725 static void *_p_wxPyTextDataObjectTo_p_wxDataObject(void *x
) {
28726 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28728 static void *_p_wxBitmapDataObjectTo_p_wxDataObject(void *x
) {
28729 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28731 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObject(void *x
) {
28732 return (void *)((wxDataObject
*) (wxDataObjectSimple
*)(wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28734 static void *_p_wxFileDataObjectTo_p_wxDataObject(void *x
) {
28735 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28737 static void *_p_wxCustomDataObjectTo_p_wxDataObject(void *x
) {
28738 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28740 static void *_p_wxURLDataObjectTo_p_wxDataObject(void *x
) {
28741 return (void *)((wxDataObject
*) (wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28743 static void *_p_wxMetafileDataObjectTo_p_wxDataObject(void *x
) {
28744 return (void *)((wxDataObject
*) (wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28746 static void *_p_wxURLDataObjectTo_p_wxDataObjectComposite(void *x
) {
28747 return (void *)((wxDataObjectComposite
*) ((wxURLDataObject
*) x
));
28749 static void *_p_wxPyDataObjectSimpleTo_p_wxDataObjectSimple(void *x
) {
28750 return (void *)((wxDataObjectSimple
*) ((wxPyDataObjectSimple
*) x
));
28752 static void *_p_wxTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28753 return (void *)((wxDataObjectSimple
*) ((wxTextDataObject
*) x
));
28755 static void *_p_wxPyTextDataObjectTo_p_wxDataObjectSimple(void *x
) {
28756 return (void *)((wxDataObjectSimple
*) (wxTextDataObject
*) ((wxPyTextDataObject
*) x
));
28758 static void *_p_wxBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28759 return (void *)((wxDataObjectSimple
*) ((wxBitmapDataObject
*) x
));
28761 static void *_p_wxPyBitmapDataObjectTo_p_wxDataObjectSimple(void *x
) {
28762 return (void *)((wxDataObjectSimple
*) (wxBitmapDataObject
*) ((wxPyBitmapDataObject
*) x
));
28764 static void *_p_wxFileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28765 return (void *)((wxDataObjectSimple
*) ((wxFileDataObject
*) x
));
28767 static void *_p_wxCustomDataObjectTo_p_wxDataObjectSimple(void *x
) {
28768 return (void *)((wxDataObjectSimple
*) ((wxCustomDataObject
*) x
));
28770 static void *_p_wxMetafileDataObjectTo_p_wxDataObjectSimple(void *x
) {
28771 return (void *)((wxDataObjectSimple
*) ((wxMetafileDataObject
*) x
));
28773 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
28774 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
28776 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
28777 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
28779 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
28780 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
28782 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
28783 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
28785 static void *_p_wxPyTimerTo_p_wxEvtHandler(void *x
) {
28786 return (void *)((wxEvtHandler
*) ((wxPyTimer
*) x
));
28788 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
28789 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
28791 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
28792 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
28794 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
28795 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
28797 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
28798 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
28800 static void *_p_wxPyProcessTo_p_wxEvtHandler(void *x
) {
28801 return (void *)((wxEvtHandler
*) ((wxPyProcess
*) x
));
28803 static void *_p_wxPyTipProviderTo_p_wxTipProvider(void *x
) {
28804 return (void *)((wxTipProvider
*) ((wxPyTipProvider
*) x
));
28806 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
28807 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
28809 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
28810 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
28812 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
28813 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
28815 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
28816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
28818 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
28819 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
28821 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
28822 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
28824 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
28825 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
28827 static void *_p_wxSizerTo_p_wxObject(void *x
) {
28828 return (void *)((wxObject
*) ((wxSizer
*) x
));
28830 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
28831 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
28833 static void *_p_wxFileHistoryTo_p_wxObject(void *x
) {
28834 return (void *)((wxObject
*) ((wxFileHistory
*) x
));
28836 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
28837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
28839 static void *_p_wxEventTo_p_wxObject(void *x
) {
28840 return (void *)((wxObject
*) ((wxEvent
*) x
));
28842 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
28843 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
28845 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
28846 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
28848 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
28849 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
28851 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
28852 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
28854 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
28855 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
28857 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
28858 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
28860 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
28861 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
28863 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
28864 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
28866 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
28867 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
28869 static void *_p_wxControlTo_p_wxObject(void *x
) {
28870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
28872 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
28873 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
28875 static void *_p_wxTimerEventTo_p_wxObject(void *x
) {
28876 return (void *)((wxObject
*) (wxEvent
*) ((wxTimerEvent
*) x
));
28878 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
28879 return (void *)((wxObject
*) ((wxFSFile
*) x
));
28881 static void *_p_wxClipboardTo_p_wxObject(void *x
) {
28882 return (void *)((wxObject
*) ((wxClipboard
*) x
));
28884 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
28885 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
28887 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
28888 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
28890 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
28891 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
28893 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
28894 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
28896 static void *_p_wxToolTipTo_p_wxObject(void *x
) {
28897 return (void *)((wxObject
*) ((wxToolTip
*) x
));
28899 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
28900 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
28902 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
28903 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
28905 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
28906 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
28908 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
28909 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
28911 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
28912 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
28914 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
28915 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
28917 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
28918 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
28920 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
28921 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
28923 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
28924 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
28926 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
28927 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
28929 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
28930 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
28932 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
28933 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
28935 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
28936 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
28938 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
28939 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
28941 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
28942 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
28944 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
28945 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
28947 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
28948 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
28950 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
28951 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
28953 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
28954 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
28956 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
28957 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
28959 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
28960 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
28962 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
28963 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
28965 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
28966 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
28968 static void *_p_wxImageTo_p_wxObject(void *x
) {
28969 return (void *)((wxObject
*) ((wxImage
*) x
));
28971 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
28972 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
28974 static void *_p_wxSystemOptionsTo_p_wxObject(void *x
) {
28975 return (void *)((wxObject
*) ((wxSystemOptions
*) x
));
28977 static void *_p_wxJoystickEventTo_p_wxObject(void *x
) {
28978 return (void *)((wxObject
*) (wxEvent
*) ((wxJoystickEvent
*) x
));
28980 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
28981 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
28983 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
28984 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
28986 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
28987 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
28989 static void *_p_wxWindowTo_p_wxObject(void *x
) {
28990 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
28992 static void *_p_wxMenuTo_p_wxObject(void *x
) {
28993 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
28995 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
28996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
28998 static void *_p_wxPyProcessTo_p_wxObject(void *x
) {
28999 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyProcess
*) x
));
29001 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
29002 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
29004 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
29005 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
29007 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
29008 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
29010 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
29011 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
29013 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
29014 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
29016 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
29017 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
29019 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
29020 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
29022 static void *_p_wxBusyInfoTo_p_wxObject(void *x
) {
29023 return (void *)((wxObject
*) ((wxBusyInfo
*) x
));
29025 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
29026 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
29028 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
29029 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
29031 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
29032 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
29034 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
29035 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
29037 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
29038 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
29040 static void *_p_wxProcessEventTo_p_wxObject(void *x
) {
29041 return (void *)((wxObject
*) (wxEvent
*) ((wxProcessEvent
*) x
));
29043 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
29044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
29046 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
29047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
29049 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
29050 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
29052 static void *_p_wxPyTimerTo_p_wxObject(void *x
) {
29053 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTimer
*) x
));
29055 static void *_p_wxLogStderrTo_p_wxLog(void *x
) {
29056 return (void *)((wxLog
*) ((wxLogStderr
*) x
));
29058 static void *_p_wxLogTextCtrlTo_p_wxLog(void *x
) {
29059 return (void *)((wxLog
*) ((wxLogTextCtrl
*) x
));
29061 static void *_p_wxLogWindowTo_p_wxLog(void *x
) {
29062 return (void *)((wxLog
*) ((wxLogWindow
*) x
));
29064 static void *_p_wxLogChainTo_p_wxLog(void *x
) {
29065 return (void *)((wxLog
*) ((wxLogChain
*) x
));
29067 static void *_p_wxLogGuiTo_p_wxLog(void *x
) {
29068 return (void *)((wxLog
*) ((wxLogGui
*) x
));
29070 static void *_p_wxPyLogTo_p_wxLog(void *x
) {
29071 return (void *)((wxLog
*) ((wxPyLog
*) x
));
29073 static void *_p_wxControlTo_p_wxWindow(void *x
) {
29074 return (void *)((wxWindow
*) ((wxControl
*) x
));
29076 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
29077 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
29079 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
29080 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
29082 static void *_p_wxPyTextDropTargetTo_p_wxPyDropTarget(void *x
) {
29083 return (void *)((wxPyDropTarget
*) ((wxPyTextDropTarget
*) x
));
29085 static void *_p_wxPyFileDropTargetTo_p_wxPyDropTarget(void *x
) {
29086 return (void *)((wxPyDropTarget
*) ((wxPyFileDropTarget
*) x
));
29088 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}};
29089 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}};
29090 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}};
29091 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}};
29092 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}};
29093 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}};
29094 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}};
29095 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}};
29096 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}};
29097 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}};
29098 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}};
29099 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}};
29100 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}};
29101 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}};
29102 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}};
29103 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}};
29104 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}};
29105 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}};
29106 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}};
29107 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}};
29108 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}};
29109 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}};
29110 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}};
29111 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}};
29112 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}};
29113 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}};
29114 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}};
29115 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}};
29116 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}};
29117 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}};
29118 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}};
29119 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}};
29120 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}};
29121 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}};
29122 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}};
29123 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}};
29124 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}};
29125 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}};
29126 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}};
29127 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}};
29128 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}};
29129 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}};
29130 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}};
29131 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}};
29132 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}};
29133 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}};
29134 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}};
29135 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}};
29136 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}};
29137 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}};
29138 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}};
29139 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}};
29140 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}};
29141 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}};
29142 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}};
29143 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}};
29144 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}};
29145 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}};
29146 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}};
29147 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}};
29148 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}};
29149 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}};
29150 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}};
29151 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}};
29152 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}};
29153 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}};
29154 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}};
29155 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}};
29156 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}};
29157 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}};
29158 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}};
29159 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}};
29160 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}};
29161 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}};
29162 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}};
29163 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}};
29164 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}};
29165 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}};
29166 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}};
29167 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}};
29168 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}};
29169 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}};
29170 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}};
29171 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}};
29172 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}};
29173 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}};
29174 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}};
29176 static swig_type_info
*swig_types_initial
[] = {
29177 _swigt__p_wxLogChain
,
29178 _swigt__p_wxMutexGuiLocker
,
29179 _swigt__p_wxMetafile
,
29180 _swigt__p_wxFileHistory
,
29182 _swigt__p_wxDateTime__TimeZone
,
29185 _swigt__p_wxConfigBase
,
29186 _swigt__p_wxDisplay
,
29187 _swigt__p_wxFileType
,
29188 _swigt__p_wxLogGui
,
29190 _swigt__p_wxDataFormat
,
29191 _swigt__p_wxTimerEvent
,
29195 _swigt__p_wxClipboard
,
29196 _swigt__p_wxStopWatch
,
29198 _swigt__p_wxClipboardLocker
,
29200 _swigt__p_wxLogStderr
,
29201 _swigt__p_wxLogTextCtrl
,
29202 _swigt__p_wxTextCtrl
,
29203 _swigt__p_wxBusyCursor
,
29204 _swigt__p_wxPyTextDataObject
,
29205 _swigt__p_wxBitmapDataObject
,
29206 _swigt__p_wxTextDataObject
,
29207 _swigt__p_wxDataObject
,
29208 _swigt__p_wxPyBitmapDataObject
,
29209 _swigt__p_wxFileDataObject
,
29210 _swigt__p_wxCustomDataObject
,
29211 _swigt__p_wxURLDataObject
,
29212 _swigt__p_wxMetafileDataObject
,
29214 _swigt__p_wxTimerRunner
,
29215 _swigt__p_wxLogWindow
,
29216 _swigt__p_wxTimeSpan
,
29217 _swigt__p_wxArrayString
,
29218 _swigt__p_wxWindowDisabler
,
29219 _swigt__p_wxToolTip
,
29220 _swigt__p_wxDataObjectComposite
,
29221 _swigt__p_wxFileConfig
,
29222 _swigt__p_wxSystemSettings
,
29223 _swigt__p_wxVideoMode
,
29224 _swigt__p_wxPyDataObjectSimple
,
29225 _swigt__p_wxDataObjectSimple
,
29226 _swigt__p_wxEvtHandler
,
29229 _swigt__p_wxSingleInstanceChecker
,
29230 _swigt__p_wxFileTypeInfo
,
29233 _swigt__p_wxMimeTypesManager
,
29234 _swigt__p_wxPyArtProvider
,
29235 _swigt__p_wxPyTipProvider
,
29236 _swigt__p_wxTipProvider
,
29237 _swigt__p_wxJoystick
,
29238 _swigt__p_wxSystemOptions
,
29240 _swigt__p_wxJoystickEvent
,
29241 _swigt__p_wxCursor
,
29242 _swigt__p_wxObject
,
29243 _swigt__p_wxOutputStream
,
29244 _swigt__p_wxDateTime
,
29245 _swigt__p_wxPyDropSource
,
29246 _swigt__p_wxWindow
,
29247 _swigt__p_wxString
,
29248 _swigt__p_wxPyProcess
,
29249 _swigt__p_wxBitmap
,
29250 _swigt__p_wxConfig
,
29252 _swigt__p_wxBusyInfo
,
29253 _swigt__p_wxPyDropTarget
,
29254 _swigt__p_wxPyTextDropTarget
,
29255 _swigt__p_wxPyFileDropTarget
,
29256 _swigt__p_wxProcessEvent
,
29258 _swigt__p_wxLogNull
,
29259 _swigt__p_wxColour
,
29261 _swigt__p_wxConfigPathChanger
,
29262 _swigt__p_wxPyTimer
,
29263 _swigt__p_wxDateSpan
,
29268 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
29270 static swig_const_info swig_const_table
[] = {
29271 { SWIG_PY_POINTER
, (char*)"TRACE_MemAlloc", 0, 0, (void *)"memalloc", &SWIGTYPE_p_char
},
29272 { SWIG_PY_POINTER
, (char*)"TRACE_Messages", 0, 0, (void *)"messages", &SWIGTYPE_p_char
},
29273 { SWIG_PY_POINTER
, (char*)"TRACE_ResAlloc", 0, 0, (void *)"resalloc", &SWIGTYPE_p_char
},
29274 { SWIG_PY_POINTER
, (char*)"TRACE_RefCount", 0, 0, (void *)"refcount", &SWIGTYPE_p_char
},
29275 { SWIG_PY_POINTER
, (char*)"TRACE_OleCalls", 0, 0, (void *)"ole", &SWIGTYPE_p_char
},
29276 {0, 0, 0, 0.0, 0, 0}};
29285 SWIGEXPORT(void) SWIG_init(void) {
29286 static PyObject
*SWIG_globals
= 0;
29287 static int typeinit
= 0;
29290 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
29291 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
29292 d
= PyModule_GetDict(m
);
29295 for (i
= 0; swig_types_initial
[i
]; i
++) {
29296 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
29300 SWIG_InstallConstants(d
,swig_const_table
);
29302 PyDict_SetItemString(d
,"SYS_OEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_OEM_FIXED_FONT
));
29303 PyDict_SetItemString(d
,"SYS_ANSI_FIXED_FONT", SWIG_FromInt((int)wxSYS_ANSI_FIXED_FONT
));
29304 PyDict_SetItemString(d
,"SYS_ANSI_VAR_FONT", SWIG_FromInt((int)wxSYS_ANSI_VAR_FONT
));
29305 PyDict_SetItemString(d
,"SYS_SYSTEM_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FONT
));
29306 PyDict_SetItemString(d
,"SYS_DEVICE_DEFAULT_FONT", SWIG_FromInt((int)wxSYS_DEVICE_DEFAULT_FONT
));
29307 PyDict_SetItemString(d
,"SYS_DEFAULT_PALETTE", SWIG_FromInt((int)wxSYS_DEFAULT_PALETTE
));
29308 PyDict_SetItemString(d
,"SYS_SYSTEM_FIXED_FONT", SWIG_FromInt((int)wxSYS_SYSTEM_FIXED_FONT
));
29309 PyDict_SetItemString(d
,"SYS_DEFAULT_GUI_FONT", SWIG_FromInt((int)wxSYS_DEFAULT_GUI_FONT
));
29310 PyDict_SetItemString(d
,"SYS_ICONTITLE_FONT", SWIG_FromInt((int)wxSYS_ICONTITLE_FONT
));
29311 PyDict_SetItemString(d
,"SYS_COLOUR_SCROLLBAR", SWIG_FromInt((int)wxSYS_COLOUR_SCROLLBAR
));
29312 PyDict_SetItemString(d
,"SYS_COLOUR_BACKGROUND", SWIG_FromInt((int)wxSYS_COLOUR_BACKGROUND
));
29313 PyDict_SetItemString(d
,"SYS_COLOUR_DESKTOP", SWIG_FromInt((int)wxSYS_COLOUR_DESKTOP
));
29314 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVECAPTION
));
29315 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTION
));
29316 PyDict_SetItemString(d
,"SYS_COLOUR_MENU", SWIG_FromInt((int)wxSYS_COLOUR_MENU
));
29317 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOW", SWIG_FromInt((int)wxSYS_COLOUR_WINDOW
));
29318 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWFRAME", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWFRAME
));
29319 PyDict_SetItemString(d
,"SYS_COLOUR_MENUTEXT", SWIG_FromInt((int)wxSYS_COLOUR_MENUTEXT
));
29320 PyDict_SetItemString(d
,"SYS_COLOUR_WINDOWTEXT", SWIG_FromInt((int)wxSYS_COLOUR_WINDOWTEXT
));
29321 PyDict_SetItemString(d
,"SYS_COLOUR_CAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_CAPTIONTEXT
));
29322 PyDict_SetItemString(d
,"SYS_COLOUR_ACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_ACTIVEBORDER
));
29323 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVEBORDER", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVEBORDER
));
29324 PyDict_SetItemString(d
,"SYS_COLOUR_APPWORKSPACE", SWIG_FromInt((int)wxSYS_COLOUR_APPWORKSPACE
));
29325 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHT
));
29326 PyDict_SetItemString(d
,"SYS_COLOUR_HIGHLIGHTTEXT", SWIG_FromInt((int)wxSYS_COLOUR_HIGHLIGHTTEXT
));
29327 PyDict_SetItemString(d
,"SYS_COLOUR_BTNFACE", SWIG_FromInt((int)wxSYS_COLOUR_BTNFACE
));
29328 PyDict_SetItemString(d
,"SYS_COLOUR_3DFACE", SWIG_FromInt((int)wxSYS_COLOUR_3DFACE
));
29329 PyDict_SetItemString(d
,"SYS_COLOUR_BTNSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_BTNSHADOW
));
29330 PyDict_SetItemString(d
,"SYS_COLOUR_3DSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DSHADOW
));
29331 PyDict_SetItemString(d
,"SYS_COLOUR_GRAYTEXT", SWIG_FromInt((int)wxSYS_COLOUR_GRAYTEXT
));
29332 PyDict_SetItemString(d
,"SYS_COLOUR_BTNTEXT", SWIG_FromInt((int)wxSYS_COLOUR_BTNTEXT
));
29333 PyDict_SetItemString(d
,"SYS_COLOUR_INACTIVECAPTIONTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INACTIVECAPTIONTEXT
));
29334 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHIGHLIGHT
));
29335 PyDict_SetItemString(d
,"SYS_COLOUR_BTNHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_BTNHILIGHT
));
29336 PyDict_SetItemString(d
,"SYS_COLOUR_3DHIGHLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHIGHLIGHT
));
29337 PyDict_SetItemString(d
,"SYS_COLOUR_3DHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DHILIGHT
));
29338 PyDict_SetItemString(d
,"SYS_COLOUR_3DDKSHADOW", SWIG_FromInt((int)wxSYS_COLOUR_3DDKSHADOW
));
29339 PyDict_SetItemString(d
,"SYS_COLOUR_3DLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_3DLIGHT
));
29340 PyDict_SetItemString(d
,"SYS_COLOUR_INFOTEXT", SWIG_FromInt((int)wxSYS_COLOUR_INFOTEXT
));
29341 PyDict_SetItemString(d
,"SYS_COLOUR_INFOBK", SWIG_FromInt((int)wxSYS_COLOUR_INFOBK
));
29342 PyDict_SetItemString(d
,"SYS_COLOUR_LISTBOX", SWIG_FromInt((int)wxSYS_COLOUR_LISTBOX
));
29343 PyDict_SetItemString(d
,"SYS_COLOUR_HOTLIGHT", SWIG_FromInt((int)wxSYS_COLOUR_HOTLIGHT
));
29344 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTACTIVECAPTION
));
29345 PyDict_SetItemString(d
,"SYS_COLOUR_GRADIENTINACTIVECAPTION", SWIG_FromInt((int)wxSYS_COLOUR_GRADIENTINACTIVECAPTION
));
29346 PyDict_SetItemString(d
,"SYS_COLOUR_MENUHILIGHT", SWIG_FromInt((int)wxSYS_COLOUR_MENUHILIGHT
));
29347 PyDict_SetItemString(d
,"SYS_COLOUR_MENUBAR", SWIG_FromInt((int)wxSYS_COLOUR_MENUBAR
));
29348 PyDict_SetItemString(d
,"SYS_COLOUR_MAX", SWIG_FromInt((int)wxSYS_COLOUR_MAX
));
29349 PyDict_SetItemString(d
,"SYS_MOUSE_BUTTONS", SWIG_FromInt((int)wxSYS_MOUSE_BUTTONS
));
29350 PyDict_SetItemString(d
,"SYS_BORDER_X", SWIG_FromInt((int)wxSYS_BORDER_X
));
29351 PyDict_SetItemString(d
,"SYS_BORDER_Y", SWIG_FromInt((int)wxSYS_BORDER_Y
));
29352 PyDict_SetItemString(d
,"SYS_CURSOR_X", SWIG_FromInt((int)wxSYS_CURSOR_X
));
29353 PyDict_SetItemString(d
,"SYS_CURSOR_Y", SWIG_FromInt((int)wxSYS_CURSOR_Y
));
29354 PyDict_SetItemString(d
,"SYS_DCLICK_X", SWIG_FromInt((int)wxSYS_DCLICK_X
));
29355 PyDict_SetItemString(d
,"SYS_DCLICK_Y", SWIG_FromInt((int)wxSYS_DCLICK_Y
));
29356 PyDict_SetItemString(d
,"SYS_DRAG_X", SWIG_FromInt((int)wxSYS_DRAG_X
));
29357 PyDict_SetItemString(d
,"SYS_DRAG_Y", SWIG_FromInt((int)wxSYS_DRAG_Y
));
29358 PyDict_SetItemString(d
,"SYS_EDGE_X", SWIG_FromInt((int)wxSYS_EDGE_X
));
29359 PyDict_SetItemString(d
,"SYS_EDGE_Y", SWIG_FromInt((int)wxSYS_EDGE_Y
));
29360 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_X
));
29361 PyDict_SetItemString(d
,"SYS_HSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_HSCROLL_ARROW_Y
));
29362 PyDict_SetItemString(d
,"SYS_HTHUMB_X", SWIG_FromInt((int)wxSYS_HTHUMB_X
));
29363 PyDict_SetItemString(d
,"SYS_ICON_X", SWIG_FromInt((int)wxSYS_ICON_X
));
29364 PyDict_SetItemString(d
,"SYS_ICON_Y", SWIG_FromInt((int)wxSYS_ICON_Y
));
29365 PyDict_SetItemString(d
,"SYS_ICONSPACING_X", SWIG_FromInt((int)wxSYS_ICONSPACING_X
));
29366 PyDict_SetItemString(d
,"SYS_ICONSPACING_Y", SWIG_FromInt((int)wxSYS_ICONSPACING_Y
));
29367 PyDict_SetItemString(d
,"SYS_WINDOWMIN_X", SWIG_FromInt((int)wxSYS_WINDOWMIN_X
));
29368 PyDict_SetItemString(d
,"SYS_WINDOWMIN_Y", SWIG_FromInt((int)wxSYS_WINDOWMIN_Y
));
29369 PyDict_SetItemString(d
,"SYS_SCREEN_X", SWIG_FromInt((int)wxSYS_SCREEN_X
));
29370 PyDict_SetItemString(d
,"SYS_SCREEN_Y", SWIG_FromInt((int)wxSYS_SCREEN_Y
));
29371 PyDict_SetItemString(d
,"SYS_FRAMESIZE_X", SWIG_FromInt((int)wxSYS_FRAMESIZE_X
));
29372 PyDict_SetItemString(d
,"SYS_FRAMESIZE_Y", SWIG_FromInt((int)wxSYS_FRAMESIZE_Y
));
29373 PyDict_SetItemString(d
,"SYS_SMALLICON_X", SWIG_FromInt((int)wxSYS_SMALLICON_X
));
29374 PyDict_SetItemString(d
,"SYS_SMALLICON_Y", SWIG_FromInt((int)wxSYS_SMALLICON_Y
));
29375 PyDict_SetItemString(d
,"SYS_HSCROLL_Y", SWIG_FromInt((int)wxSYS_HSCROLL_Y
));
29376 PyDict_SetItemString(d
,"SYS_VSCROLL_X", SWIG_FromInt((int)wxSYS_VSCROLL_X
));
29377 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_X", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_X
));
29378 PyDict_SetItemString(d
,"SYS_VSCROLL_ARROW_Y", SWIG_FromInt((int)wxSYS_VSCROLL_ARROW_Y
));
29379 PyDict_SetItemString(d
,"SYS_VTHUMB_Y", SWIG_FromInt((int)wxSYS_VTHUMB_Y
));
29380 PyDict_SetItemString(d
,"SYS_CAPTION_Y", SWIG_FromInt((int)wxSYS_CAPTION_Y
));
29381 PyDict_SetItemString(d
,"SYS_MENU_Y", SWIG_FromInt((int)wxSYS_MENU_Y
));
29382 PyDict_SetItemString(d
,"SYS_NETWORK_PRESENT", SWIG_FromInt((int)wxSYS_NETWORK_PRESENT
));
29383 PyDict_SetItemString(d
,"SYS_PENWINDOWS_PRESENT", SWIG_FromInt((int)wxSYS_PENWINDOWS_PRESENT
));
29384 PyDict_SetItemString(d
,"SYS_SHOW_SOUNDS", SWIG_FromInt((int)wxSYS_SHOW_SOUNDS
));
29385 PyDict_SetItemString(d
,"SYS_SWAP_BUTTONS", SWIG_FromInt((int)wxSYS_SWAP_BUTTONS
));
29386 PyDict_SetItemString(d
,"SYS_CAN_DRAW_FRAME_DECORATIONS", SWIG_FromInt((int)wxSYS_CAN_DRAW_FRAME_DECORATIONS
));
29387 PyDict_SetItemString(d
,"SYS_CAN_ICONIZE_FRAME", SWIG_FromInt((int)wxSYS_CAN_ICONIZE_FRAME
));
29388 PyDict_SetItemString(d
,"SYS_SCREEN_NONE", SWIG_FromInt((int)wxSYS_SCREEN_NONE
));
29389 PyDict_SetItemString(d
,"SYS_SCREEN_TINY", SWIG_FromInt((int)wxSYS_SCREEN_TINY
));
29390 PyDict_SetItemString(d
,"SYS_SCREEN_PDA", SWIG_FromInt((int)wxSYS_SCREEN_PDA
));
29391 PyDict_SetItemString(d
,"SYS_SCREEN_SMALL", SWIG_FromInt((int)wxSYS_SCREEN_SMALL
));
29392 PyDict_SetItemString(d
,"SYS_SCREEN_DESKTOP", SWIG_FromInt((int)wxSYS_SCREEN_DESKTOP
));
29393 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
29394 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get
, _wrap_FileSelectorPromptStr_set
);
29395 SWIG_addvarlink(SWIG_globals
,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get
, _wrap_FileSelectorDefaultWildcardStr_set
);
29396 SWIG_addvarlink(SWIG_globals
,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get
, _wrap_DirSelectorPromptStr_set
);
29397 PyDict_SetItemString(d
,"SHUTDOWN_POWEROFF", SWIG_FromInt((int)wxSHUTDOWN_POWEROFF
));
29398 PyDict_SetItemString(d
,"SHUTDOWN_REBOOT", SWIG_FromInt((int)wxSHUTDOWN_REBOOT
));
29399 PyDict_SetItemString(d
,"TIMER_CONTINUOUS", SWIG_FromInt((int)wxTIMER_CONTINUOUS
));
29400 PyDict_SetItemString(d
,"TIMER_ONE_SHOT", SWIG_FromInt((int)wxTIMER_ONE_SHOT
));
29401 PyDict_SetItemString(d
, "wxEVT_TIMER", PyInt_FromLong(wxEVT_TIMER
));
29402 PyDict_SetItemString(d
,"LOG_FatalError", SWIG_FromInt((int)wxLOG_FatalError
));
29403 PyDict_SetItemString(d
,"LOG_Error", SWIG_FromInt((int)wxLOG_Error
));
29404 PyDict_SetItemString(d
,"LOG_Warning", SWIG_FromInt((int)wxLOG_Warning
));
29405 PyDict_SetItemString(d
,"LOG_Message", SWIG_FromInt((int)wxLOG_Message
));
29406 PyDict_SetItemString(d
,"LOG_Status", SWIG_FromInt((int)wxLOG_Status
));
29407 PyDict_SetItemString(d
,"LOG_Info", SWIG_FromInt((int)wxLOG_Info
));
29408 PyDict_SetItemString(d
,"LOG_Debug", SWIG_FromInt((int)wxLOG_Debug
));
29409 PyDict_SetItemString(d
,"LOG_Trace", SWIG_FromInt((int)wxLOG_Trace
));
29410 PyDict_SetItemString(d
,"LOG_Progress", SWIG_FromInt((int)wxLOG_Progress
));
29411 PyDict_SetItemString(d
,"LOG_User", SWIG_FromInt((int)wxLOG_User
));
29412 PyDict_SetItemString(d
,"LOG_Max", SWIG_FromInt((int)wxLOG_Max
));
29413 PyDict_SetItemString(d
,"TRACE_MemAlloc", SWIG_FromCharPtr("memalloc"));
29414 PyDict_SetItemString(d
,"TRACE_Messages", SWIG_FromCharPtr("messages"));
29415 PyDict_SetItemString(d
,"TRACE_ResAlloc", SWIG_FromCharPtr("resalloc"));
29416 PyDict_SetItemString(d
,"TRACE_RefCount", SWIG_FromCharPtr("refcount"));
29417 PyDict_SetItemString(d
,"TRACE_OleCalls", SWIG_FromCharPtr("ole"));
29418 PyDict_SetItemString(d
,"TraceMemAlloc", SWIG_FromInt((int)0x0001));
29419 PyDict_SetItemString(d
,"TraceMessages", SWIG_FromInt((int)0x0002));
29420 PyDict_SetItemString(d
,"TraceResAlloc", SWIG_FromInt((int)0x0004));
29421 PyDict_SetItemString(d
,"TraceRefCount", SWIG_FromInt((int)0x0008));
29422 PyDict_SetItemString(d
,"TraceOleCalls", SWIG_FromInt((int)0x0100));
29423 PyDict_SetItemString(d
,"PROCESS_DEFAULT", SWIG_FromInt((int)wxPROCESS_DEFAULT
));
29424 PyDict_SetItemString(d
,"PROCESS_REDIRECT", SWIG_FromInt((int)wxPROCESS_REDIRECT
));
29425 PyDict_SetItemString(d
,"KILL_OK", SWIG_FromInt((int)wxKILL_OK
));
29426 PyDict_SetItemString(d
,"KILL_BAD_SIGNAL", SWIG_FromInt((int)wxKILL_BAD_SIGNAL
));
29427 PyDict_SetItemString(d
,"KILL_ACCESS_DENIED", SWIG_FromInt((int)wxKILL_ACCESS_DENIED
));
29428 PyDict_SetItemString(d
,"KILL_NO_PROCESS", SWIG_FromInt((int)wxKILL_NO_PROCESS
));
29429 PyDict_SetItemString(d
,"KILL_ERROR", SWIG_FromInt((int)wxKILL_ERROR
));
29430 PyDict_SetItemString(d
,"SIGNONE", SWIG_FromInt((int)wxSIGNONE
));
29431 PyDict_SetItemString(d
,"SIGHUP", SWIG_FromInt((int)wxSIGHUP
));
29432 PyDict_SetItemString(d
,"SIGINT", SWIG_FromInt((int)wxSIGINT
));
29433 PyDict_SetItemString(d
,"SIGQUIT", SWIG_FromInt((int)wxSIGQUIT
));
29434 PyDict_SetItemString(d
,"SIGILL", SWIG_FromInt((int)wxSIGILL
));
29435 PyDict_SetItemString(d
,"SIGTRAP", SWIG_FromInt((int)wxSIGTRAP
));
29436 PyDict_SetItemString(d
,"SIGABRT", SWIG_FromInt((int)wxSIGABRT
));
29437 PyDict_SetItemString(d
,"SIGIOT", SWIG_FromInt((int)wxSIGIOT
));
29438 PyDict_SetItemString(d
,"SIGEMT", SWIG_FromInt((int)wxSIGEMT
));
29439 PyDict_SetItemString(d
,"SIGFPE", SWIG_FromInt((int)wxSIGFPE
));
29440 PyDict_SetItemString(d
,"SIGKILL", SWIG_FromInt((int)wxSIGKILL
));
29441 PyDict_SetItemString(d
,"SIGBUS", SWIG_FromInt((int)wxSIGBUS
));
29442 PyDict_SetItemString(d
,"SIGSEGV", SWIG_FromInt((int)wxSIGSEGV
));
29443 PyDict_SetItemString(d
,"SIGSYS", SWIG_FromInt((int)wxSIGSYS
));
29444 PyDict_SetItemString(d
,"SIGPIPE", SWIG_FromInt((int)wxSIGPIPE
));
29445 PyDict_SetItemString(d
,"SIGALRM", SWIG_FromInt((int)wxSIGALRM
));
29446 PyDict_SetItemString(d
,"SIGTERM", SWIG_FromInt((int)wxSIGTERM
));
29447 PyDict_SetItemString(d
, "wxEVT_END_PROCESS", PyInt_FromLong(wxEVT_END_PROCESS
));
29448 PyDict_SetItemString(d
,"EXEC_ASYNC", SWIG_FromInt((int)wxEXEC_ASYNC
));
29449 PyDict_SetItemString(d
,"EXEC_SYNC", SWIG_FromInt((int)wxEXEC_SYNC
));
29450 PyDict_SetItemString(d
,"EXEC_NOHIDE", SWIG_FromInt((int)wxEXEC_NOHIDE
));
29451 PyDict_SetItemString(d
,"EXEC_MAKE_GROUP_LEADER", SWIG_FromInt((int)wxEXEC_MAKE_GROUP_LEADER
));
29453 wxPyPtrTypeMap_Add("wxProcess", "wxPyProcess");
29455 PyDict_SetItemString(d
,"JOYSTICK1", SWIG_FromInt((int)wxJOYSTICK1
));
29456 PyDict_SetItemString(d
,"JOYSTICK2", SWIG_FromInt((int)wxJOYSTICK2
));
29457 PyDict_SetItemString(d
,"JOY_BUTTON_ANY", SWIG_FromInt((int)wxJOY_BUTTON_ANY
));
29458 PyDict_SetItemString(d
,"JOY_BUTTON1", SWIG_FromInt((int)wxJOY_BUTTON1
));
29459 PyDict_SetItemString(d
,"JOY_BUTTON2", SWIG_FromInt((int)wxJOY_BUTTON2
));
29460 PyDict_SetItemString(d
,"JOY_BUTTON3", SWIG_FromInt((int)wxJOY_BUTTON3
));
29461 PyDict_SetItemString(d
,"JOY_BUTTON4", SWIG_FromInt((int)wxJOY_BUTTON4
));
29462 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_DOWN", PyInt_FromLong(wxEVT_JOY_BUTTON_DOWN
));
29463 PyDict_SetItemString(d
, "wxEVT_JOY_BUTTON_UP", PyInt_FromLong(wxEVT_JOY_BUTTON_UP
));
29464 PyDict_SetItemString(d
, "wxEVT_JOY_MOVE", PyInt_FromLong(wxEVT_JOY_MOVE
));
29465 PyDict_SetItemString(d
, "wxEVT_JOY_ZMOVE", PyInt_FromLong(wxEVT_JOY_ZMOVE
));
29466 PyDict_SetItemString(d
,"SOUND_SYNC", SWIG_FromInt((int)wxSOUND_SYNC
));
29467 PyDict_SetItemString(d
,"SOUND_ASYNC", SWIG_FromInt((int)wxSOUND_ASYNC
));
29468 PyDict_SetItemString(d
,"SOUND_LOOP", SWIG_FromInt((int)wxSOUND_LOOP
));
29469 PyDict_SetItemString(d
,"MAILCAP_STANDARD", SWIG_FromInt((int)wxMAILCAP_STANDARD
));
29470 PyDict_SetItemString(d
,"MAILCAP_NETSCAPE", SWIG_FromInt((int)wxMAILCAP_NETSCAPE
));
29471 PyDict_SetItemString(d
,"MAILCAP_KDE", SWIG_FromInt((int)wxMAILCAP_KDE
));
29472 PyDict_SetItemString(d
,"MAILCAP_GNOME", SWIG_FromInt((int)wxMAILCAP_GNOME
));
29473 PyDict_SetItemString(d
,"MAILCAP_ALL", SWIG_FromInt((int)wxMAILCAP_ALL
));
29474 SWIG_addvarlink(SWIG_globals
,(char*)"TheMimeTypesManager",_wrap_TheMimeTypesManager_get
, _wrap_TheMimeTypesManager_set
);
29475 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TOOLBAR",_wrap_ART_TOOLBAR_get
, _wrap_ART_TOOLBAR_set
);
29476 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MENU",_wrap_ART_MENU_get
, _wrap_ART_MENU_set
);
29477 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FRAME_ICON",_wrap_ART_FRAME_ICON_get
, _wrap_ART_FRAME_ICON_set
);
29478 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CMN_DIALOG",_wrap_ART_CMN_DIALOG_get
, _wrap_ART_CMN_DIALOG_set
);
29479 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BROWSER",_wrap_ART_HELP_BROWSER_get
, _wrap_ART_HELP_BROWSER_set
);
29480 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MESSAGE_BOX",_wrap_ART_MESSAGE_BOX_get
, _wrap_ART_MESSAGE_BOX_set
);
29481 SWIG_addvarlink(SWIG_globals
,(char*)"ART_OTHER",_wrap_ART_OTHER_get
, _wrap_ART_OTHER_set
);
29482 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ADD_BOOKMARK",_wrap_ART_ADD_BOOKMARK_get
, _wrap_ART_ADD_BOOKMARK_set
);
29483 SWIG_addvarlink(SWIG_globals
,(char*)"ART_DEL_BOOKMARK",_wrap_ART_DEL_BOOKMARK_get
, _wrap_ART_DEL_BOOKMARK_set
);
29484 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SIDE_PANEL",_wrap_ART_HELP_SIDE_PANEL_get
, _wrap_ART_HELP_SIDE_PANEL_set
);
29485 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_SETTINGS",_wrap_ART_HELP_SETTINGS_get
, _wrap_ART_HELP_SETTINGS_set
);
29486 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_BOOK",_wrap_ART_HELP_BOOK_get
, _wrap_ART_HELP_BOOK_set
);
29487 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_FOLDER",_wrap_ART_HELP_FOLDER_get
, _wrap_ART_HELP_FOLDER_set
);
29488 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP_PAGE",_wrap_ART_HELP_PAGE_get
, _wrap_ART_HELP_PAGE_set
);
29489 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_BACK",_wrap_ART_GO_BACK_get
, _wrap_ART_GO_BACK_set
);
29490 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_FORWARD",_wrap_ART_GO_FORWARD_get
, _wrap_ART_GO_FORWARD_set
);
29491 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_UP",_wrap_ART_GO_UP_get
, _wrap_ART_GO_UP_set
);
29492 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DOWN",_wrap_ART_GO_DOWN_get
, _wrap_ART_GO_DOWN_set
);
29493 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_TO_PARENT",_wrap_ART_GO_TO_PARENT_get
, _wrap_ART_GO_TO_PARENT_set
);
29494 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_HOME",_wrap_ART_GO_HOME_get
, _wrap_ART_GO_HOME_set
);
29495 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FILE_OPEN",_wrap_ART_FILE_OPEN_get
, _wrap_ART_FILE_OPEN_set
);
29496 SWIG_addvarlink(SWIG_globals
,(char*)"ART_PRINT",_wrap_ART_PRINT_get
, _wrap_ART_PRINT_set
);
29497 SWIG_addvarlink(SWIG_globals
,(char*)"ART_HELP",_wrap_ART_HELP_get
, _wrap_ART_HELP_set
);
29498 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TIP",_wrap_ART_TIP_get
, _wrap_ART_TIP_set
);
29499 SWIG_addvarlink(SWIG_globals
,(char*)"ART_REPORT_VIEW",_wrap_ART_REPORT_VIEW_get
, _wrap_ART_REPORT_VIEW_set
);
29500 SWIG_addvarlink(SWIG_globals
,(char*)"ART_LIST_VIEW",_wrap_ART_LIST_VIEW_get
, _wrap_ART_LIST_VIEW_set
);
29501 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NEW_DIR",_wrap_ART_NEW_DIR_get
, _wrap_ART_NEW_DIR_set
);
29502 SWIG_addvarlink(SWIG_globals
,(char*)"ART_FOLDER",_wrap_ART_FOLDER_get
, _wrap_ART_FOLDER_set
);
29503 SWIG_addvarlink(SWIG_globals
,(char*)"ART_GO_DIR_UP",_wrap_ART_GO_DIR_UP_get
, _wrap_ART_GO_DIR_UP_set
);
29504 SWIG_addvarlink(SWIG_globals
,(char*)"ART_EXECUTABLE_FILE",_wrap_ART_EXECUTABLE_FILE_get
, _wrap_ART_EXECUTABLE_FILE_set
);
29505 SWIG_addvarlink(SWIG_globals
,(char*)"ART_NORMAL_FILE",_wrap_ART_NORMAL_FILE_get
, _wrap_ART_NORMAL_FILE_set
);
29506 SWIG_addvarlink(SWIG_globals
,(char*)"ART_TICK_MARK",_wrap_ART_TICK_MARK_get
, _wrap_ART_TICK_MARK_set
);
29507 SWIG_addvarlink(SWIG_globals
,(char*)"ART_CROSS_MARK",_wrap_ART_CROSS_MARK_get
, _wrap_ART_CROSS_MARK_set
);
29508 SWIG_addvarlink(SWIG_globals
,(char*)"ART_ERROR",_wrap_ART_ERROR_get
, _wrap_ART_ERROR_set
);
29509 SWIG_addvarlink(SWIG_globals
,(char*)"ART_QUESTION",_wrap_ART_QUESTION_get
, _wrap_ART_QUESTION_set
);
29510 SWIG_addvarlink(SWIG_globals
,(char*)"ART_WARNING",_wrap_ART_WARNING_get
, _wrap_ART_WARNING_set
);
29511 SWIG_addvarlink(SWIG_globals
,(char*)"ART_INFORMATION",_wrap_ART_INFORMATION_get
, _wrap_ART_INFORMATION_set
);
29512 SWIG_addvarlink(SWIG_globals
,(char*)"ART_MISSING_IMAGE",_wrap_ART_MISSING_IMAGE_get
, _wrap_ART_MISSING_IMAGE_set
);
29514 wxPyPtrTypeMap_Add("wxArtProvider", "wxPyArtProvider");
29516 PyDict_SetItemString(d
,"CONFIG_USE_LOCAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_LOCAL_FILE
));
29517 PyDict_SetItemString(d
,"CONFIG_USE_GLOBAL_FILE", SWIG_FromInt((int)wxCONFIG_USE_GLOBAL_FILE
));
29518 PyDict_SetItemString(d
,"CONFIG_USE_RELATIVE_PATH", SWIG_FromInt((int)wxCONFIG_USE_RELATIVE_PATH
));
29519 PyDict_SetItemString(d
,"CONFIG_USE_NO_ESCAPE_CHARACTERS", SWIG_FromInt((int)wxCONFIG_USE_NO_ESCAPE_CHARACTERS
));
29520 PyDict_SetItemString(d
,"ConfigBase_Type_Unknown", SWIG_FromInt((int)wxConfigBase::Type_Unknown
));
29521 PyDict_SetItemString(d
,"ConfigBase_Type_String", SWIG_FromInt((int)wxConfigBase::Type_String
));
29522 PyDict_SetItemString(d
,"ConfigBase_Type_Boolean", SWIG_FromInt((int)wxConfigBase::Type_Boolean
));
29523 PyDict_SetItemString(d
,"ConfigBase_Type_Integer", SWIG_FromInt((int)wxConfigBase::Type_Integer
));
29524 PyDict_SetItemString(d
,"ConfigBase_Type_Float", SWIG_FromInt((int)wxConfigBase::Type_Float
));
29525 SWIG_addvarlink(SWIG_globals
,(char*)"DateFormatStr",_wrap_DateFormatStr_get
, _wrap_DateFormatStr_set
);
29526 SWIG_addvarlink(SWIG_globals
,(char*)"TimeSpanFormatStr",_wrap_TimeSpanFormatStr_get
, _wrap_TimeSpanFormatStr_set
);
29527 PyDict_SetItemString(d
,"DateTime_Local", SWIG_FromInt((int)wxDateTime::Local
));
29528 PyDict_SetItemString(d
,"DateTime_GMT_12", SWIG_FromInt((int)wxDateTime::GMT_12
));
29529 PyDict_SetItemString(d
,"DateTime_GMT_11", SWIG_FromInt((int)wxDateTime::GMT_11
));
29530 PyDict_SetItemString(d
,"DateTime_GMT_10", SWIG_FromInt((int)wxDateTime::GMT_10
));
29531 PyDict_SetItemString(d
,"DateTime_GMT_9", SWIG_FromInt((int)wxDateTime::GMT_9
));
29532 PyDict_SetItemString(d
,"DateTime_GMT_8", SWIG_FromInt((int)wxDateTime::GMT_8
));
29533 PyDict_SetItemString(d
,"DateTime_GMT_7", SWIG_FromInt((int)wxDateTime::GMT_7
));
29534 PyDict_SetItemString(d
,"DateTime_GMT_6", SWIG_FromInt((int)wxDateTime::GMT_6
));
29535 PyDict_SetItemString(d
,"DateTime_GMT_5", SWIG_FromInt((int)wxDateTime::GMT_5
));
29536 PyDict_SetItemString(d
,"DateTime_GMT_4", SWIG_FromInt((int)wxDateTime::GMT_4
));
29537 PyDict_SetItemString(d
,"DateTime_GMT_3", SWIG_FromInt((int)wxDateTime::GMT_3
));
29538 PyDict_SetItemString(d
,"DateTime_GMT_2", SWIG_FromInt((int)wxDateTime::GMT_2
));
29539 PyDict_SetItemString(d
,"DateTime_GMT_1", SWIG_FromInt((int)wxDateTime::GMT_1
));
29540 PyDict_SetItemString(d
,"DateTime_GMT0", SWIG_FromInt((int)wxDateTime::GMT0
));
29541 PyDict_SetItemString(d
,"DateTime_GMT1", SWIG_FromInt((int)wxDateTime::GMT1
));
29542 PyDict_SetItemString(d
,"DateTime_GMT2", SWIG_FromInt((int)wxDateTime::GMT2
));
29543 PyDict_SetItemString(d
,"DateTime_GMT3", SWIG_FromInt((int)wxDateTime::GMT3
));
29544 PyDict_SetItemString(d
,"DateTime_GMT4", SWIG_FromInt((int)wxDateTime::GMT4
));
29545 PyDict_SetItemString(d
,"DateTime_GMT5", SWIG_FromInt((int)wxDateTime::GMT5
));
29546 PyDict_SetItemString(d
,"DateTime_GMT6", SWIG_FromInt((int)wxDateTime::GMT6
));
29547 PyDict_SetItemString(d
,"DateTime_GMT7", SWIG_FromInt((int)wxDateTime::GMT7
));
29548 PyDict_SetItemString(d
,"DateTime_GMT8", SWIG_FromInt((int)wxDateTime::GMT8
));
29549 PyDict_SetItemString(d
,"DateTime_GMT9", SWIG_FromInt((int)wxDateTime::GMT9
));
29550 PyDict_SetItemString(d
,"DateTime_GMT10", SWIG_FromInt((int)wxDateTime::GMT10
));
29551 PyDict_SetItemString(d
,"DateTime_GMT11", SWIG_FromInt((int)wxDateTime::GMT11
));
29552 PyDict_SetItemString(d
,"DateTime_GMT12", SWIG_FromInt((int)wxDateTime::GMT12
));
29553 PyDict_SetItemString(d
,"DateTime_WET", SWIG_FromInt((int)wxDateTime::WET
));
29554 PyDict_SetItemString(d
,"DateTime_WEST", SWIG_FromInt((int)wxDateTime::WEST
));
29555 PyDict_SetItemString(d
,"DateTime_CET", SWIG_FromInt((int)wxDateTime::CET
));
29556 PyDict_SetItemString(d
,"DateTime_CEST", SWIG_FromInt((int)wxDateTime::CEST
));
29557 PyDict_SetItemString(d
,"DateTime_EET", SWIG_FromInt((int)wxDateTime::EET
));
29558 PyDict_SetItemString(d
,"DateTime_EEST", SWIG_FromInt((int)wxDateTime::EEST
));
29559 PyDict_SetItemString(d
,"DateTime_MSK", SWIG_FromInt((int)wxDateTime::MSK
));
29560 PyDict_SetItemString(d
,"DateTime_MSD", SWIG_FromInt((int)wxDateTime::MSD
));
29561 PyDict_SetItemString(d
,"DateTime_AST", SWIG_FromInt((int)wxDateTime::AST
));
29562 PyDict_SetItemString(d
,"DateTime_ADT", SWIG_FromInt((int)wxDateTime::ADT
));
29563 PyDict_SetItemString(d
,"DateTime_EST", SWIG_FromInt((int)wxDateTime::EST
));
29564 PyDict_SetItemString(d
,"DateTime_EDT", SWIG_FromInt((int)wxDateTime::EDT
));
29565 PyDict_SetItemString(d
,"DateTime_CST", SWIG_FromInt((int)wxDateTime::CST
));
29566 PyDict_SetItemString(d
,"DateTime_CDT", SWIG_FromInt((int)wxDateTime::CDT
));
29567 PyDict_SetItemString(d
,"DateTime_MST", SWIG_FromInt((int)wxDateTime::MST
));
29568 PyDict_SetItemString(d
,"DateTime_MDT", SWIG_FromInt((int)wxDateTime::MDT
));
29569 PyDict_SetItemString(d
,"DateTime_PST", SWIG_FromInt((int)wxDateTime::PST
));
29570 PyDict_SetItemString(d
,"DateTime_PDT", SWIG_FromInt((int)wxDateTime::PDT
));
29571 PyDict_SetItemString(d
,"DateTime_HST", SWIG_FromInt((int)wxDateTime::HST
));
29572 PyDict_SetItemString(d
,"DateTime_AKST", SWIG_FromInt((int)wxDateTime::AKST
));
29573 PyDict_SetItemString(d
,"DateTime_AKDT", SWIG_FromInt((int)wxDateTime::AKDT
));
29574 PyDict_SetItemString(d
,"DateTime_A_WST", SWIG_FromInt((int)wxDateTime::A_WST
));
29575 PyDict_SetItemString(d
,"DateTime_A_CST", SWIG_FromInt((int)wxDateTime::A_CST
));
29576 PyDict_SetItemString(d
,"DateTime_A_EST", SWIG_FromInt((int)wxDateTime::A_EST
));
29577 PyDict_SetItemString(d
,"DateTime_A_ESST", SWIG_FromInt((int)wxDateTime::A_ESST
));
29578 PyDict_SetItemString(d
,"DateTime_UTC", SWIG_FromInt((int)wxDateTime::UTC
));
29579 PyDict_SetItemString(d
,"DateTime_Gregorian", SWIG_FromInt((int)wxDateTime::Gregorian
));
29580 PyDict_SetItemString(d
,"DateTime_Julian", SWIG_FromInt((int)wxDateTime::Julian
));
29581 PyDict_SetItemString(d
,"DateTime_Gr_Unknown", SWIG_FromInt((int)wxDateTime::Gr_Unknown
));
29582 PyDict_SetItemString(d
,"DateTime_Gr_Standard", SWIG_FromInt((int)wxDateTime::Gr_Standard
));
29583 PyDict_SetItemString(d
,"DateTime_Gr_Alaska", SWIG_FromInt((int)wxDateTime::Gr_Alaska
));
29584 PyDict_SetItemString(d
,"DateTime_Gr_Albania", SWIG_FromInt((int)wxDateTime::Gr_Albania
));
29585 PyDict_SetItemString(d
,"DateTime_Gr_Austria", SWIG_FromInt((int)wxDateTime::Gr_Austria
));
29586 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Brixen", SWIG_FromInt((int)wxDateTime::Gr_Austria_Brixen
));
29587 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Salzburg", SWIG_FromInt((int)wxDateTime::Gr_Austria_Salzburg
));
29588 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Tyrol", SWIG_FromInt((int)wxDateTime::Gr_Austria_Tyrol
));
29589 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Carinthia", SWIG_FromInt((int)wxDateTime::Gr_Austria_Carinthia
));
29590 PyDict_SetItemString(d
,"DateTime_Gr_Austria_Styria", SWIG_FromInt((int)wxDateTime::Gr_Austria_Styria
));
29591 PyDict_SetItemString(d
,"DateTime_Gr_Belgium", SWIG_FromInt((int)wxDateTime::Gr_Belgium
));
29592 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria
));
29593 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_1", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_1
));
29594 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_2", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_2
));
29595 PyDict_SetItemString(d
,"DateTime_Gr_Bulgaria_3", SWIG_FromInt((int)wxDateTime::Gr_Bulgaria_3
));
29596 PyDict_SetItemString(d
,"DateTime_Gr_Canada", SWIG_FromInt((int)wxDateTime::Gr_Canada
));
29597 PyDict_SetItemString(d
,"DateTime_Gr_China", SWIG_FromInt((int)wxDateTime::Gr_China
));
29598 PyDict_SetItemString(d
,"DateTime_Gr_China_1", SWIG_FromInt((int)wxDateTime::Gr_China_1
));
29599 PyDict_SetItemString(d
,"DateTime_Gr_China_2", SWIG_FromInt((int)wxDateTime::Gr_China_2
));
29600 PyDict_SetItemString(d
,"DateTime_Gr_Czechoslovakia", SWIG_FromInt((int)wxDateTime::Gr_Czechoslovakia
));
29601 PyDict_SetItemString(d
,"DateTime_Gr_Denmark", SWIG_FromInt((int)wxDateTime::Gr_Denmark
));
29602 PyDict_SetItemString(d
,"DateTime_Gr_Egypt", SWIG_FromInt((int)wxDateTime::Gr_Egypt
));
29603 PyDict_SetItemString(d
,"DateTime_Gr_Estonia", SWIG_FromInt((int)wxDateTime::Gr_Estonia
));
29604 PyDict_SetItemString(d
,"DateTime_Gr_Finland", SWIG_FromInt((int)wxDateTime::Gr_Finland
));
29605 PyDict_SetItemString(d
,"DateTime_Gr_France", SWIG_FromInt((int)wxDateTime::Gr_France
));
29606 PyDict_SetItemString(d
,"DateTime_Gr_France_Alsace", SWIG_FromInt((int)wxDateTime::Gr_France_Alsace
));
29607 PyDict_SetItemString(d
,"DateTime_Gr_France_Lorraine", SWIG_FromInt((int)wxDateTime::Gr_France_Lorraine
));
29608 PyDict_SetItemString(d
,"DateTime_Gr_France_Strasbourg", SWIG_FromInt((int)wxDateTime::Gr_France_Strasbourg
));
29609 PyDict_SetItemString(d
,"DateTime_Gr_Germany", SWIG_FromInt((int)wxDateTime::Gr_Germany
));
29610 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Germany_Catholic
));
29611 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Prussia", SWIG_FromInt((int)wxDateTime::Gr_Germany_Prussia
));
29612 PyDict_SetItemString(d
,"DateTime_Gr_Germany_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Germany_Protestant
));
29613 PyDict_SetItemString(d
,"DateTime_Gr_GreatBritain", SWIG_FromInt((int)wxDateTime::Gr_GreatBritain
));
29614 PyDict_SetItemString(d
,"DateTime_Gr_Greece", SWIG_FromInt((int)wxDateTime::Gr_Greece
));
29615 PyDict_SetItemString(d
,"DateTime_Gr_Hungary", SWIG_FromInt((int)wxDateTime::Gr_Hungary
));
29616 PyDict_SetItemString(d
,"DateTime_Gr_Ireland", SWIG_FromInt((int)wxDateTime::Gr_Ireland
));
29617 PyDict_SetItemString(d
,"DateTime_Gr_Italy", SWIG_FromInt((int)wxDateTime::Gr_Italy
));
29618 PyDict_SetItemString(d
,"DateTime_Gr_Japan", SWIG_FromInt((int)wxDateTime::Gr_Japan
));
29619 PyDict_SetItemString(d
,"DateTime_Gr_Japan_1", SWIG_FromInt((int)wxDateTime::Gr_Japan_1
));
29620 PyDict_SetItemString(d
,"DateTime_Gr_Japan_2", SWIG_FromInt((int)wxDateTime::Gr_Japan_2
));
29621 PyDict_SetItemString(d
,"DateTime_Gr_Japan_3", SWIG_FromInt((int)wxDateTime::Gr_Japan_3
));
29622 PyDict_SetItemString(d
,"DateTime_Gr_Latvia", SWIG_FromInt((int)wxDateTime::Gr_Latvia
));
29623 PyDict_SetItemString(d
,"DateTime_Gr_Lithuania", SWIG_FromInt((int)wxDateTime::Gr_Lithuania
));
29624 PyDict_SetItemString(d
,"DateTime_Gr_Luxemburg", SWIG_FromInt((int)wxDateTime::Gr_Luxemburg
));
29625 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands", SWIG_FromInt((int)wxDateTime::Gr_Netherlands
));
29626 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Groningen", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Groningen
));
29627 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Gelderland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Gelderland
));
29628 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Utrecht", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Utrecht
));
29629 PyDict_SetItemString(d
,"DateTime_Gr_Netherlands_Friesland", SWIG_FromInt((int)wxDateTime::Gr_Netherlands_Friesland
));
29630 PyDict_SetItemString(d
,"DateTime_Gr_Norway", SWIG_FromInt((int)wxDateTime::Gr_Norway
));
29631 PyDict_SetItemString(d
,"DateTime_Gr_Poland", SWIG_FromInt((int)wxDateTime::Gr_Poland
));
29632 PyDict_SetItemString(d
,"DateTime_Gr_Portugal", SWIG_FromInt((int)wxDateTime::Gr_Portugal
));
29633 PyDict_SetItemString(d
,"DateTime_Gr_Romania", SWIG_FromInt((int)wxDateTime::Gr_Romania
));
29634 PyDict_SetItemString(d
,"DateTime_Gr_Russia", SWIG_FromInt((int)wxDateTime::Gr_Russia
));
29635 PyDict_SetItemString(d
,"DateTime_Gr_Scotland", SWIG_FromInt((int)wxDateTime::Gr_Scotland
));
29636 PyDict_SetItemString(d
,"DateTime_Gr_Spain", SWIG_FromInt((int)wxDateTime::Gr_Spain
));
29637 PyDict_SetItemString(d
,"DateTime_Gr_Sweden", SWIG_FromInt((int)wxDateTime::Gr_Sweden
));
29638 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland", SWIG_FromInt((int)wxDateTime::Gr_Switzerland
));
29639 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Catholic", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Catholic
));
29640 PyDict_SetItemString(d
,"DateTime_Gr_Switzerland_Protestant", SWIG_FromInt((int)wxDateTime::Gr_Switzerland_Protestant
));
29641 PyDict_SetItemString(d
,"DateTime_Gr_Turkey", SWIG_FromInt((int)wxDateTime::Gr_Turkey
));
29642 PyDict_SetItemString(d
,"DateTime_Gr_USA", SWIG_FromInt((int)wxDateTime::Gr_USA
));
29643 PyDict_SetItemString(d
,"DateTime_Gr_Wales", SWIG_FromInt((int)wxDateTime::Gr_Wales
));
29644 PyDict_SetItemString(d
,"DateTime_Gr_Yugoslavia", SWIG_FromInt((int)wxDateTime::Gr_Yugoslavia
));
29645 PyDict_SetItemString(d
,"DateTime_Country_Unknown", SWIG_FromInt((int)wxDateTime::Country_Unknown
));
29646 PyDict_SetItemString(d
,"DateTime_Country_Default", SWIG_FromInt((int)wxDateTime::Country_Default
));
29647 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_Start", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_Start
));
29648 PyDict_SetItemString(d
,"DateTime_Country_EEC", SWIG_FromInt((int)wxDateTime::Country_EEC
));
29649 PyDict_SetItemString(d
,"DateTime_France", SWIG_FromInt((int)wxDateTime::France
));
29650 PyDict_SetItemString(d
,"DateTime_Germany", SWIG_FromInt((int)wxDateTime::Germany
));
29651 PyDict_SetItemString(d
,"DateTime_UK", SWIG_FromInt((int)wxDateTime::UK
));
29652 PyDict_SetItemString(d
,"DateTime_Country_WesternEurope_End", SWIG_FromInt((int)wxDateTime::Country_WesternEurope_End
));
29653 PyDict_SetItemString(d
,"DateTime_Russia", SWIG_FromInt((int)wxDateTime::Russia
));
29654 PyDict_SetItemString(d
,"DateTime_USA", SWIG_FromInt((int)wxDateTime::USA
));
29655 PyDict_SetItemString(d
,"DateTime_Jan", SWIG_FromInt((int)wxDateTime::Jan
));
29656 PyDict_SetItemString(d
,"DateTime_Feb", SWIG_FromInt((int)wxDateTime::Feb
));
29657 PyDict_SetItemString(d
,"DateTime_Mar", SWIG_FromInt((int)wxDateTime::Mar
));
29658 PyDict_SetItemString(d
,"DateTime_Apr", SWIG_FromInt((int)wxDateTime::Apr
));
29659 PyDict_SetItemString(d
,"DateTime_May", SWIG_FromInt((int)wxDateTime::May
));
29660 PyDict_SetItemString(d
,"DateTime_Jun", SWIG_FromInt((int)wxDateTime::Jun
));
29661 PyDict_SetItemString(d
,"DateTime_Jul", SWIG_FromInt((int)wxDateTime::Jul
));
29662 PyDict_SetItemString(d
,"DateTime_Aug", SWIG_FromInt((int)wxDateTime::Aug
));
29663 PyDict_SetItemString(d
,"DateTime_Sep", SWIG_FromInt((int)wxDateTime::Sep
));
29664 PyDict_SetItemString(d
,"DateTime_Oct", SWIG_FromInt((int)wxDateTime::Oct
));
29665 PyDict_SetItemString(d
,"DateTime_Nov", SWIG_FromInt((int)wxDateTime::Nov
));
29666 PyDict_SetItemString(d
,"DateTime_Dec", SWIG_FromInt((int)wxDateTime::Dec
));
29667 PyDict_SetItemString(d
,"DateTime_Inv_Month", SWIG_FromInt((int)wxDateTime::Inv_Month
));
29668 PyDict_SetItemString(d
,"DateTime_Sun", SWIG_FromInt((int)wxDateTime::Sun
));
29669 PyDict_SetItemString(d
,"DateTime_Mon", SWIG_FromInt((int)wxDateTime::Mon
));
29670 PyDict_SetItemString(d
,"DateTime_Tue", SWIG_FromInt((int)wxDateTime::Tue
));
29671 PyDict_SetItemString(d
,"DateTime_Wed", SWIG_FromInt((int)wxDateTime::Wed
));
29672 PyDict_SetItemString(d
,"DateTime_Thu", SWIG_FromInt((int)wxDateTime::Thu
));
29673 PyDict_SetItemString(d
,"DateTime_Fri", SWIG_FromInt((int)wxDateTime::Fri
));
29674 PyDict_SetItemString(d
,"DateTime_Sat", SWIG_FromInt((int)wxDateTime::Sat
));
29675 PyDict_SetItemString(d
,"DateTime_Inv_WeekDay", SWIG_FromInt((int)wxDateTime::Inv_WeekDay
));
29676 PyDict_SetItemString(d
,"DateTime_Inv_Year", SWIG_FromInt((int)wxDateTime::Inv_Year
));
29677 PyDict_SetItemString(d
,"DateTime_Name_Full", SWIG_FromInt((int)wxDateTime::Name_Full
));
29678 PyDict_SetItemString(d
,"DateTime_Name_Abbr", SWIG_FromInt((int)wxDateTime::Name_Abbr
));
29679 PyDict_SetItemString(d
,"DateTime_Default_First", SWIG_FromInt((int)wxDateTime::Default_First
));
29680 PyDict_SetItemString(d
,"DateTime_Monday_First", SWIG_FromInt((int)wxDateTime::Monday_First
));
29681 PyDict_SetItemString(d
,"DateTime_Sunday_First", SWIG_FromInt((int)wxDateTime::Sunday_First
));
29682 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultDateTime",_wrap_DefaultDateTime_get
, _wrap_DefaultDateTime_set
);
29683 PyDict_SetItemString(d
,"DF_INVALID", SWIG_FromInt((int)wxDF_INVALID
));
29684 PyDict_SetItemString(d
,"DF_TEXT", SWIG_FromInt((int)wxDF_TEXT
));
29685 PyDict_SetItemString(d
,"DF_BITMAP", SWIG_FromInt((int)wxDF_BITMAP
));
29686 PyDict_SetItemString(d
,"DF_METAFILE", SWIG_FromInt((int)wxDF_METAFILE
));
29687 PyDict_SetItemString(d
,"DF_SYLK", SWIG_FromInt((int)wxDF_SYLK
));
29688 PyDict_SetItemString(d
,"DF_DIF", SWIG_FromInt((int)wxDF_DIF
));
29689 PyDict_SetItemString(d
,"DF_TIFF", SWIG_FromInt((int)wxDF_TIFF
));
29690 PyDict_SetItemString(d
,"DF_OEMTEXT", SWIG_FromInt((int)wxDF_OEMTEXT
));
29691 PyDict_SetItemString(d
,"DF_DIB", SWIG_FromInt((int)wxDF_DIB
));
29692 PyDict_SetItemString(d
,"DF_PALETTE", SWIG_FromInt((int)wxDF_PALETTE
));
29693 PyDict_SetItemString(d
,"DF_PENDATA", SWIG_FromInt((int)wxDF_PENDATA
));
29694 PyDict_SetItemString(d
,"DF_RIFF", SWIG_FromInt((int)wxDF_RIFF
));
29695 PyDict_SetItemString(d
,"DF_WAVE", SWIG_FromInt((int)wxDF_WAVE
));
29696 PyDict_SetItemString(d
,"DF_UNICODETEXT", SWIG_FromInt((int)wxDF_UNICODETEXT
));
29697 PyDict_SetItemString(d
,"DF_ENHMETAFILE", SWIG_FromInt((int)wxDF_ENHMETAFILE
));
29698 PyDict_SetItemString(d
,"DF_FILENAME", SWIG_FromInt((int)wxDF_FILENAME
));
29699 PyDict_SetItemString(d
,"DF_LOCALE", SWIG_FromInt((int)wxDF_LOCALE
));
29700 PyDict_SetItemString(d
,"DF_PRIVATE", SWIG_FromInt((int)wxDF_PRIVATE
));
29701 PyDict_SetItemString(d
,"DF_HTML", SWIG_FromInt((int)wxDF_HTML
));
29702 PyDict_SetItemString(d
,"DF_MAX", SWIG_FromInt((int)wxDF_MAX
));
29703 SWIG_addvarlink(SWIG_globals
,(char*)"FormatInvalid",_wrap_FormatInvalid_get
, _wrap_FormatInvalid_set
);
29704 PyDict_SetItemString(d
,"DataObject_Get", SWIG_FromInt((int)wxDataObject::Get
));
29705 PyDict_SetItemString(d
,"DataObject_Set", SWIG_FromInt((int)wxDataObject::Set
));
29706 PyDict_SetItemString(d
,"DataObject_Both", SWIG_FromInt((int)wxDataObject::Both
));
29707 PyDict_SetItemString(d
,"Drag_CopyOnly", SWIG_FromInt((int)wxDrag_CopyOnly
));
29708 PyDict_SetItemString(d
,"Drag_AllowMove", SWIG_FromInt((int)wxDrag_AllowMove
));
29709 PyDict_SetItemString(d
,"Drag_DefaultMove", SWIG_FromInt((int)wxDrag_DefaultMove
));
29710 PyDict_SetItemString(d
,"DragError", SWIG_FromInt((int)wxDragError
));
29711 PyDict_SetItemString(d
,"DragNone", SWIG_FromInt((int)wxDragNone
));
29712 PyDict_SetItemString(d
,"DragCopy", SWIG_FromInt((int)wxDragCopy
));
29713 PyDict_SetItemString(d
,"DragMove", SWIG_FromInt((int)wxDragMove
));
29714 PyDict_SetItemString(d
,"DragLink", SWIG_FromInt((int)wxDragLink
));
29715 PyDict_SetItemString(d
,"DragCancel", SWIG_FromInt((int)wxDragCancel
));
29717 wxPyPtrTypeMap_Add("wxDropSource", "wxPyDropSource");
29718 wxPyPtrTypeMap_Add("wxDropTarget", "wxPyDropTarget");
29719 wxPyPtrTypeMap_Add("wxTextDropTarget", "wxPyTextDropTarget");
29720 wxPyPtrTypeMap_Add("wxFileDropTarget", "wxPyFileDropTarget");
29722 SWIG_addvarlink(SWIG_globals
,(char*)"TheClipboard",_wrap_TheClipboard_get
, _wrap_TheClipboard_set
);
29723 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultVideoMode",_wrap_DefaultVideoMode_get
, _wrap_DefaultVideoMode_set
);